slackbuilds_ponce/libraries/libsigrok/01-depend-on-librevisa-20130412.patch
Andrzej Telszewski b2a1ad8a1a libraries/libsigrok: Added (logic analyzers access library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-07-31 01:53:25 +07:00

20 lines
1.1 KiB
Diff

--- configure.ac 2014-05-06 23:01:43.000000000 +0200
+++ configure.ac.new 2015-07-24 17:08:46.795694956 +0200
@@ -317,7 +317,7 @@
# Serial port helper code is only compiled in if libserialport was found.
AM_CONDITIONAL(NEED_SERIAL, test "x$have_libserialport" != xno)
-PKG_CHECK_MODULES([librevisa], [librevisa >= 0.0.20130812],
+PKG_CHECK_MODULES([librevisa], [librevisa >= 0.0.20130412],
[have_librevisa="yes"; LIB_CFLAGS="$LIB_CFLAGS $librevisa_CFLAGS";
LIBS="$LIBS $librevisa_LIBS";
SR_PKGLIBS="$SR_PKGLIBS librevisa"],
@@ -599,7 +599,7 @@
echo
# Note: This only works for libs with pkg-config integration.
-for lib in "glib-2.0 >= 2.32.0" "libzip >= 0.10" "libserialport >= 0.1.0" "librevisa >= 0.0.20130812" "libusb-1.0 >= 1.0.16" "libftdi >= 0.16" "check >= 0.9.4"; do
+for lib in "glib-2.0 >= 2.32.0" "libzip >= 0.10" "libserialport >= 0.1.0" "librevisa >= 0.0.20130412" "libusb-1.0 >= 1.0.16" "libftdi >= 0.16" "check >= 0.9.4"; do
optional="OPTIONAL"
if test "x$lib" = "xglib-2.0 >= 2.32.0"; then optional="REQUIRED"; fi
if test "x$lib" = "xlibzip >= 0.10"; then optional="REQUIRED"; fi