Lines 1-24
Link Here
|
1 |
--- hamlib/configure.ac.orig 2021-11-03 20:39:16.000000000 -0400 |
1 |
--- hamlib/configure.orig 2022-01-02 11:10:19.000000000 +0100 |
2 |
+++ hamlib/configure.ac 2021-12-28 12:12:44.629890000 -0500 |
2 |
+++ hamlib/configure 2022-04-13 12:51:01.174492000 +0200 |
3 |
@@ -269,7 +269,7 @@ |
3 |
@@ -19135,7 +19135,7 @@ |
4 |
dnl The host_os variable is set by the AC_CANONICAL_HOST macro above. |
4 |
case "$host_os" in #( |
5 |
AS_CASE(["$host_os"], |
5 |
freebsd*) : |
6 |
[freebsd*], [ |
6 |
|
7 |
- AM_CPPFLAGS="-I/usr/local/include ${AM_CPPFLAGS}" |
7 |
- AM_CPPFLAGS="-I/usr/local/include ${AM_CPPFLAGS}" |
8 |
+ AM_CPPFLAGS="${AM_CPPFLAGS} -I/usr/local/include" |
8 |
+ AM_CPPFLAGS="${AM_CPPFLAGS} -I/usr/local/include" |
9 |
AM_LDFLAGS="${AM_LDFLAGS} -L/usr/local/lib" |
9 |
AM_LDFLAGS="${AM_LDFLAGS} -L/usr/local/lib" |
10 |
AC_SUBST([AM_LDFLAGS])], |
10 |
;; #( |
|
|
11 |
darwin* | rhapsody*) : |
12 |
@@ -19211,6 +19211,7 @@ |
13 |
fi |
11 |
|
14 |
|
12 |
@@ -317,6 +317,7 @@ |
|
|
13 |
AC_MSG_RESULT([$cf_with_libusb]) |
14 |
AM_CONDITIONAL([HAVE_LIBUSB], [test x"${cf_with_libusb}" = "xyes"]) |
15 |
|
15 |
|
16 |
+LIBUSB_LIBS="-lusb" |
16 |
+LIBUSB_LIBS="-lusb" |
17 |
LIBUSB="" |
17 |
LIBUSB="" |
18 |
AC_ARG_VAR([LIBUSB_CFLAGS], [C compiler flags for libusb, overriding configure defaults]) |
18 |
|
19 |
AC_ARG_VAR([LIBUSB_LIBS], [linker flags for libusb, overriding configure check (useful for specifying static libusb-1.0.a (see INSTALL))]) |
19 |
|
20 |
--- hamlib/hamlib.pc.in.orig 2021-11-03 20:39:16.000000000 -0400 |
20 |
--- hamlib/hamlib.pc.in.orig 2022-01-02 11:10:11.000000000 +0100 |
21 |
+++ hamlib/hamlib.pc.in 2021-12-28 12:19:09.120541000 -0500 |
21 |
+++ hamlib/hamlib.pc.in 2022-04-13 12:34:36.119285000 +0200 |
22 |
@@ -7,7 +7,6 @@ |
22 |
@@ -7,7 +7,6 @@ |
23 |
Description: Library to control radio and rotator equipment. |
23 |
Description: Library to control radio and rotator equipment. |
24 |
URL: @PACKAGE_URL@ |
24 |
URL: @PACKAGE_URL@ |
Lines 29-36
Link Here
|
29 |
-Libs.private: @MATH_LIBS@ @DL_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ |
29 |
-Libs.private: @MATH_LIBS@ @DL_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ |
30 |
+Libs: -L${libdir} ${libdir}/libhamlib.a |
30 |
+Libs: -L${libdir} ${libdir}/libhamlib.a |
31 |
+Libs.private: @MATH_LIBS@ @DL_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ -lusb |
31 |
+Libs.private: @MATH_LIBS@ @DL_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ -lusb |
32 |
--- hamlib/tests/rigtestlibusb.c.orig 2021-11-03 20:39:16.000000000 -0400 |
32 |
--- hamlib/tests/rigtestlibusb.c.orig 2022-01-02 11:10:11.000000000 +0100 |
33 |
+++ hamlib/tests/rigtestlibusb.c 2021-12-28 12:12:44.630778000 -0500 |
33 |
+++ hamlib/tests/rigtestlibusb.c 2022-04-13 12:34:36.119728000 +0200 |
34 |
@@ -115,7 +115,10 @@ |
34 |
@@ -115,7 +115,10 @@ |
35 |
printf(" wSpeedSupported: %u\n", ss_usb_cap->wSpeedSupported); |
35 |
printf(" wSpeedSupported: %u\n", ss_usb_cap->wSpeedSupported); |
36 |
printf(" bFunctionalitySupport: %u\n", ss_usb_cap->bFunctionalitySupport); |
36 |
printf(" bFunctionalitySupport: %u\n", ss_usb_cap->bFunctionalitySupport); |