[packages/libtorrent] - rel 2; don't include -L/usr/lib

arekm arekm at pld-linux.org
Thu Oct 22 10:35:01 CEST 2015


commit 2d2abafab68a565024313f75e519608c3b31072e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 22 10:34:56 2015 +0200

    - rel 2; don't include -L/usr/lib

 libtorrent-build.patch | 14 ++++++++++++++
 libtorrent.spec        |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/libtorrent.spec b/libtorrent.spec
index ec0abcb..6bae851 100644
--- a/libtorrent.spec
+++ b/libtorrent.spec
@@ -8,7 +8,7 @@ Summary(pl.UTF-8):	LibTorrent - biblioteka BitTorrenta napisana w C++ dla Uniksa
 Name:		libtorrent
 # keep stable line, see URL below
 Version:	0.13.6
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+
 Group:		Libraries
diff --git a/libtorrent-build.patch b/libtorrent-build.patch
index cad44c5..1b03bb3 100644
--- a/libtorrent-build.patch
+++ b/libtorrent-build.patch
@@ -10,3 +10,17 @@
  
  libtorrent_la_SOURCES = \
  	globals.cc \
+diff -urN libtorrent-0.13.6.org/scripts/ax_check_zlib.m4 libtorrent-0.13.6/scripts/ax_check_zlib.m4
+--- libtorrent-0.13.6.org/scripts/ax_check_zlib.m4	2015-08-08 17:01:32.000000000 +0200
++++ libtorrent-0.13.6/scripts/ax_check_zlib.m4	2015-10-22 10:34:10.898495878 +0200
+@@ -104,10 +104,6 @@
+ 
+   ZLIB_OLD_LDFLAGS=$LDFLAGS
+   ZLIB_OLD_CPPFLAGS=$CPPFLAGS
+-  if test -n "${ZLIB_HOME}"; then
+-        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
+-        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
+-  fi
+   AC_LANG_SAVE
+   AC_LANG_C
+   AC_CHECK_LIB([z], [inflateEnd], [zlib_cv_libz=yes], [zlib_cv_libz=no])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libtorrent.git/commitdiff/2d2abafab68a565024313f75e519608c3b31072e



More information about the pld-cvs-commit mailing list