[packages/libtorrent] - one more place

arekm arekm at pld-linux.org
Thu Oct 22 10:44:23 CEST 2015


commit b91d6316484ac57d6b9f660c1d808d7e93eb1b6f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 22 10:44:18 2015 +0200

    - one more place

 libtorrent-build.patch | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/libtorrent-build.patch b/libtorrent-build.patch
index 1b03bb3..8a502fc 100644
--- a/libtorrent-build.patch
+++ b/libtorrent-build.patch
@@ -12,7 +12,7 @@
  	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
++++ libtorrent-0.13.6/scripts/ax_check_zlib.m4	2015-10-22 10:42:40.508124675 +0200
 @@ -104,10 +104,6 @@
  
    ZLIB_OLD_LDFLAGS=$LDFLAGS
@@ -24,3 +24,12 @@ diff -urN libtorrent-0.13.6.org/scripts/ax_check_zlib.m4 libtorrent-0.13.6/scrip
    AC_LANG_SAVE
    AC_LANG_C
    AC_CHECK_LIB([z], [inflateEnd], [zlib_cv_libz=yes], [zlib_cv_libz=no])
+@@ -119,8 +115,6 @@
+     # If both library and header were found, action-if-found
+     #
+     m4_ifblank([$1],[
+-                CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
+-                LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
+                 LIBS="-lz $LIBS"
+                 AC_DEFINE([HAVE_LIBZ], [1],
+                           [Define to 1 if you have `z' library (-lz)])
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list