packages: autopano-sift-C/autopano-sift-C.spec, autopano-sift-C/link.patch ...

sls sls at pld-linux.org
Mon Nov 15 00:10:12 CET 2010


Author: sls                          Date: Sun Nov 14 23:10:12 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added link.patch

---- Files affected:
packages/autopano-sift-C:
   autopano-sift-C.spec (1.6 -> 1.7) , link.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/autopano-sift-C/autopano-sift-C.spec
diff -u packages/autopano-sift-C/autopano-sift-C.spec:1.6 packages/autopano-sift-C/autopano-sift-C.spec:1.7
--- packages/autopano-sift-C/autopano-sift-C.spec:1.6	Sun Oct 31 09:57:57 2010
+++ packages/autopano-sift-C/autopano-sift-C.spec	Mon Nov 15 00:10:07 2010
@@ -8,6 +8,7 @@
 Group:		Applications/Graphics
 Source0:	http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.gz
 # Source0-md5:	b9bade07e8c4f2ea383c22a082c260e0
+Patch0:		link.patch
 URL:		http://wiki.panotools.org/Autopano-sift-C
 BuildRequires:	cmake >= 2.4
 BuildRequires:	libjpeg-devel
@@ -57,6 +58,7 @@
 
 %prep
 %setup -q 
+%patch0 -p1
 
 %build
 install -d build
@@ -106,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/11/14 23:10:07  sls
+- added link.patch
+
 Revision 1.6  2010/10/31 08:57:57  qboosh
 - use Release build type (pass appropriate C_FLAGS and CXX_FLAGS to cmake - both C and C++ are used)
 

================================================================
Index: packages/autopano-sift-C/link.patch
diff -u /dev/null packages/autopano-sift-C/link.patch:1.1
--- /dev/null	Mon Nov 15 00:10:12 2010
+++ packages/autopano-sift-C/link.patch	Mon Nov 15 00:10:07 2010
@@ -0,0 +1,11 @@
+--- autopano-sift-C-2.5.1/CMakeLists.txt.orig	2010-11-14 15:49:18.744042505 +0100
++++ autopano-sift-C-2.5.1/CMakeLists.txt	2010-11-14 15:51:13.454030665 +0100
+@@ -122,7 +122,7 @@ SET(LIBSIFT_SOURCES LoweDetector.c RANSA
+ ADD_LIBRARY(libsift STATIC ${LIBSIFT_SOURCES})
+ 
+ set(all_libs libsift ${JPEG_LIBRARIES} ${TIFF_LIBRARIES}
+-    ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${PANO13_LIBRARIES} ${LIBXML2_LIBRARIES}) 
++    ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${PANO13_LIBRARIES} ${LIBXML2_LIBRARIES} -lm) 
+ 
+ add_executable(generatekeys GenerateKeys.c)
+ TARGET_LINK_LIBRARIES(generatekeys ${all_libs})
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/autopano-sift-C/autopano-sift-C.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list