]> git.pld-linux.org Git - packages/linux-gpib.git/blobdiff - linux-gpib-guile2.patch
- upstream: disable driver that does not build on kernel 5.10
[packages/linux-gpib.git] / linux-gpib-guile2.patch
index 8d08324caab28e01ff263e64451ae9eaeedd57d4..2702b6ea46699f07320a105481e04ad7f261397c 100644 (file)
@@ -1,17 +1,17 @@
 --- linux-gpib-4.0.3/configure.ac.orig 2016-04-09 15:34:55.000000000 +0200
 +++ linux-gpib-4.0.3/configure.ac      2016-07-06 17:55:18.567320365 +0200
 @@ -143,8 +143,11 @@
- fi
  
  dnl Checks for libraries.
+ if test "$BIND_GUILE" = "yes"; then
 +AC_CHECK_LIB([guile-2.2],[scm_c_define],[:],[
 +AC_CHECK_LIB([guile-2.0],[scm_c_define],[:],[
  AC_CHECK_LIB([guile],[gh_define],[echo this prevents default actions from occurring > /dev/null],
        [BIND_GUILE="no";AC_MSG_NOTICE([libguile not found, disabling guile binding])],[])
 +])])
+ fi
  
  AC_CHECK_LIB([readline], [readline], 
-            [readline_lib=yes;AC_SUBST([LIB_READLINE_LDFLAGS], ["-lreadline -lncurses"])],
 --- linux-gpib-4.0.3/language/guile/gpib.h.orig        2016-04-09 15:33:09.000000000 +0200
 +++ linux-gpib-4.0.3/language/guile/gpib.h     2016-07-06 20:44:07.355781339 +0200
 @@ -22,12 +22,12 @@
This page took 0.229315 seconds and 4 git commands to generate.