summaryrefslogtreecommitdiff
path: root/libraries/libsigrok/01-depend-on-librevisa-20130412.patch
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2015-07-30 06:33:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-31 01:53:25 +0700
commitb2a1ad8a1aae8798e9ee77f869e352c2cf7e30ad (patch)
treed72228230cbe1d196283d381e89a7f43925856d8 /libraries/libsigrok/01-depend-on-librevisa-20130412.patch
parentc455e5f1c6e7b900036ac4be7deccd39a1834d38 (diff)
downloadslackbuilds-b2a1ad8a1aae8798e9ee77f869e352c2cf7e30ad.tar.gz
libraries/libsigrok: Added (logic analyzers access library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libsigrok/01-depend-on-librevisa-20130412.patch')
-rw-r--r--libraries/libsigrok/01-depend-on-librevisa-20130412.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/libraries/libsigrok/01-depend-on-librevisa-20130412.patch b/libraries/libsigrok/01-depend-on-librevisa-20130412.patch
new file mode 100644
index 0000000000..9ce96065a8
--- /dev/null
+++ b/libraries/libsigrok/01-depend-on-librevisa-20130412.patch
@@ -0,0 +1,20 @@
+--- 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