pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/hamlib hamlib: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46d9fdc088bc
branches:  trunk
changeset: 309212:46d9fdc088bc
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Tue Jun 12 12:40:02 2018 +0000

description:
hamlib: fix build on SunOS

diffstat:

 ham/hamlib/distinfo                    |   3 ++-
 ham/hamlib/patches/patch-src_network.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 02d4fbb13fb0 -r 46d9fdc088bc ham/hamlib/distinfo
--- a/ham/hamlib/distinfo       Tue Jun 12 12:16:20 2018 +0000
+++ b/ham/hamlib/distinfo       Tue Jun 12 12:40:02 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.21 2018/06/06 22:45:58 gdt Exp $
+$NetBSD: distinfo,v 1.22 2018/06/12 12:40:02 wiedi Exp $
 
 SHA1 (hamlib-3.2.tar.gz) = ee90d0a79c4408b452ea328620c333d650b41f44
 RMD160 (hamlib-3.2.tar.gz) = 794021627741ae99017762a20d6d2abf317c7521
 SHA512 (hamlib-3.2.tar.gz) = 9aec2d361980abafdedf7b80f5b8bcf5b71f4f0c32bbfecebc0a50e6f74eb263ddc5188cf77283ed7361baabedb8364a2ce94a12fdda1bbdfaa0a030f510f224
 Size (hamlib-3.2.tar.gz) = 2223125 bytes
+SHA1 (patch-src_network.c) = 9e27f09c5499099563f03a08b47a0b4d08c4b55d
diff -r 02d4fbb13fb0 -r 46d9fdc088bc ham/hamlib/patches/patch-src_network.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/hamlib/patches/patch-src_network.c    Tue Jun 12 12:40:02 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_network.c,v 1.1 2018/06/12 12:40:02 wiedi Exp $
+
+Add include for FIONREAD on SunOS
+--- src/network.c.orig 2018-03-31 13:12:24.000000000 +0000
++++ src/network.c
+@@ -45,6 +45,10 @@
+ #include <sys/types.h>
+ #include <signal.h>
+ 
++#if defined(__sun)
++#include <sys/filio.h>
++#endif
++
+ #ifdef HAVE_NETINET_IN_H
+ #  include <netinet/in.h>
+ #endif



Home | Main Index | Thread Index | Old Index