pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/libhidapi Fix autoconf fallout.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/089e9af643d2
branches:  trunk
changeset: 449292:089e9af643d2
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Mar 25 10:47:24 2021 +0000

description:
Fix autoconf fallout.

diffstat:

 comms/libhidapi/distinfo                   |   4 ++--
 comms/libhidapi/patches/patch-configure.ac |  22 +++++++++++++++-------
 2 files changed, 17 insertions(+), 9 deletions(-)

diffs (62 lines):

diff -r bc5728309327 -r 089e9af643d2 comms/libhidapi/distinfo
--- a/comms/libhidapi/distinfo  Thu Mar 25 08:43:50 2021 +0000
+++ b/comms/libhidapi/distinfo  Thu Mar 25 10:47:24 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2019/07/08 12:52:42 nia Exp $
+$NetBSD: distinfo,v 1.4 2021/03/25 10:47:24 nia Exp $
 
 SHA1 (hidapi-0.9.0.tar.gz) = 185700ba358bd8d1bd2a21291a448c7bf76d277e
 RMD160 (hidapi-0.9.0.tar.gz) = 1b8a2051fc2b5de284785661269fde2d4c2cbf38
 SHA512 (hidapi-0.9.0.tar.gz) = d9f28d394b78daece7d2dfb946e62349a56b388b3a06241585c6fad5a4e24dc914723de6c0f12a9e51cd23fb245f6b5ac9b3721319646d5ba5912bbe0a3f9a52
 Size (hidapi-0.9.0.tar.gz) = 112963 bytes
 SHA1 (patch-Makefile.am) = 8e39fc4650601af39c510107ca2b3c85029fb2df
-SHA1 (patch-configure.ac) = 4926a26ec43ea113cb873708e0943f53ed0229d9
+SHA1 (patch-configure.ac) = ddc85e7421f79ef7d037223802292ed27fbdfdaf
 SHA1 (patch-libusb_Makefile.am) = 4e325f56caff55f6e3b26948a43afd3f30606cd7
diff -r bc5728309327 -r 089e9af643d2 comms/libhidapi/patches/patch-configure.ac
--- a/comms/libhidapi/patches/patch-configure.ac        Thu Mar 25 08:43:50 2021 +0000
+++ b/comms/libhidapi/patches/patch-configure.ac        Thu Mar 25 10:47:24 2021 +0000
@@ -1,12 +1,20 @@
-$NetBSD: patch-configure.ac,v 1.1 2019/07/08 12:52:42 nia Exp $
+$NetBSD: patch-configure.ac,v 1.2 2021/03/25 10:47:24 nia Exp $
 
-Always use pkg-config to find libusb1.
-
-Support NetBSD.
+- Fix syntax for autoconf-2.71
+- Always use pkg-config to find libusb1.
+- Support NetBSD.
 
 --- configure.ac.orig  2019-06-19 10:34:38.000000000 +0000
 +++ configure.ac
-@@ -92,9 +92,10 @@ case $host in
+@@ -20,7 +20,6 @@ LTLDFLAGS="-version-info ${lt_current}:$
+ 
+ AC_CONFIG_MACRO_DIR([m4])
+ AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+-AC_CONFIG_MACRO_DIR([m4])
+ 
+ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+ LT_INIT
+@@ -92,9 +91,10 @@ case $host in
        CFLAGS="$CFLAGS -I/usr/local/include"
        LDFLAGS="$LDFLAGS -L/usr/local/lib"
        LIBS="${LIBS}"
@@ -19,7 +27,7 @@
        ;;
  *-kfreebsd*)
        AC_MSG_RESULT([ (kFreeBSD back-end)])
-@@ -104,8 +105,25 @@ case $host in
+@@ -104,8 +104,25 @@ case $host in
        os="kfreebsd"
        threads="pthreads"
  
@@ -47,7 +55,7 @@
        ;;
  *-mingw*)
        AC_MSG_RESULT([ (Windows back-end, using MinGW)])
-@@ -213,6 +231,7 @@ AM_CONDITIONAL(OS_LINUX, test "x$os" = x
+@@ -213,6 +230,7 @@ AM_CONDITIONAL(OS_LINUX, test "x$os" = x
  AM_CONDITIONAL(OS_DARWIN, test "x$os" = xdarwin)
  AM_CONDITIONAL(OS_FREEBSD, test "x$os" = xfreebsd)
  AM_CONDITIONAL(OS_KFREEBSD, test "x$os" = xkfreebsd)



Home | Main Index | Thread Index | Old Index