]> git.pld-linux.org Git - packages/autopano-sift-C.git/commitdiff
- added link.patch auto/th/autopano-sift-C-2.5.1-1
authorSzymon Siwek <sls@pld-linux.org>
Sun, 14 Nov 2010 23:10:07 +0000 (23:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autopano-sift-C.spec -> 1.7
    link.patch -> 1.1

autopano-sift-C.spec
link.patch [new file with mode: 0644]

index d3bd2e19504db8bd183a455a836a193f786e2eaf..d0c0646be48b2c49949dc0556a4fc080e2d8d22b 100644 (file)
@@ -7,6 +7,7 @@ License:        GPL v2, but SIFT algorithm may require license in some countries
 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
@@ -56,6 +57,7 @@ obrazu, co pomaga przy zdjęciach obiektywami szerokokątnymi lub
 
 %prep
 %setup -q 
+%patch0 -p1
 
 %build
 install -d build
diff --git a/link.patch b/link.patch
new file mode 100644 (file)
index 0000000..0bd7a9f
--- /dev/null
@@ -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})
This page took 0.054849 seconds and 4 git commands to generate.