summaryrefslogtreecommitdiff
path: root/libraries/libsigrok/01-depend-on-librevisa-20130412.patch
diff options
context:
space:
mode:
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