pkgsrc-WIP-changes archive

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

libdivecomputer: Whoops, include patches as well



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By:	cfkoch
Date:		Fri Nov 11 23:24:28 2022 -0800
Changeset:	f888a412b92d4989229aec2a93cdacc712ba48c4

Modified Files:
	libdivecomputer/distinfo
Added Files:
	libdivecomputer/patches/patch-configure.ac
	libdivecomputer/patches/patch-src_serial_posix.c

Log Message:
libdivecomputer: Whoops, include patches as well

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f888a412b92d4989229aec2a93cdacc712ba48c4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libdivecomputer/distinfo                         |  2 +-
 libdivecomputer/patches/patch-configure.ac       | 14 ++++++++++++++
 libdivecomputer/patches/patch-src_serial_posix.c | 16 ++++++++++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)

diffs:
diff --git a/libdivecomputer/distinfo b/libdivecomputer/distinfo
index af9173bf8a..b4509ab31f 100644
--- a/libdivecomputer/distinfo
+++ b/libdivecomputer/distinfo
@@ -4,4 +4,4 @@ RMD160 (libdivecomputer-0.7.0.tar.gz) = 0ca07ef31b2d0b6619326e11b8078cbaf150c54c
 SHA512 (libdivecomputer-0.7.0.tar.gz) = 205f8f659c426266e47c0979b8a7e0e1b06d6db2965ab67bc1e8638b48efb8854549f5fa23610570563b0464a204b6e811caccdc2ef692ea68b039939cb41635
 Size (libdivecomputer-0.7.0.tar.gz) = 751538 bytes
 SHA1 (patch-configure.ac) = a5bdde33c3a091cd0e9e80d9128564a720af7f07
-SHA1 (patch-src_serial_posix.c) = 6096cbf2b1af48b9418670d43e6d4e4d5a75ba83
+SHA1 (patch-src_serial_posix.c) = 4ac8c2a35df5e54fb63b06fe9bbe56d4282fce46
diff --git a/libdivecomputer/patches/patch-configure.ac b/libdivecomputer/patches/patch-configure.ac
new file mode 100644
index 0000000000..f15baa2fa7
--- /dev/null
+++ b/libdivecomputer/patches/patch-configure.ac
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Check for another header where select(2) might be located.
+
+--- configure.ac.orig	2022-11-11 23:01:22.691676212 -0800
++++ configure.ac	2022-11-11 23:02:22.872573912 -0800
+@@ -161,6 +161,7 @@
+ AC_CHECK_HEADERS([sys/param.h])
+ AC_CHECK_HEADERS([pthread.h])
+ AC_CHECK_HEADERS([mach/mach_time.h])
++AC_CHECK_HEADERS([sys/select.h])
+ 
+ # Checks for global variable declarations.
+ AC_CHECK_DECLS([optreset])
diff --git a/libdivecomputer/patches/patch-src_serial_posix.c b/libdivecomputer/patches/patch-src_serial_posix.c
new file mode 100644
index 0000000000..2f3b5d59c8
--- /dev/null
+++ b/libdivecomputer/patches/patch-src_serial_posix.c
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Check for another header where select(2) might be located.
+
+--- src/serial_posix.c.orig	2021-05-07 12:23:36.000000000 -0700
++++ src/serial_posix.c	2022-11-11 23:11:32.355847371 -0800
+@@ -33,6 +33,9 @@
+ #ifdef HAVE_LINUX_SERIAL_H
+ #include <linux/serial.h>
+ #endif
++#ifdef HAVE_SYS_SELECT_H
++#include <sys/select.h>
++#endif
+ #ifdef HAVE_IOKIT_SERIAL_IOSS_H
+ #include <IOKit/serial/ioss.h>
+ #endif


Home | Main Index | Thread Index | Old Index