pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/gnuradio-core Add some unistd.h includes to get so...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfd39bbd30d3
branches:  trunk
changeset: 503892:bfd39bbd30d3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 01 19:02:45 2005 +0000

description:
Add some unistd.h includes to get some prototypes, fix conditional
inclusion to include sys/time.h and unistd.h even if sys/select.h
exist, otherwise not all prototypes and types exist on DragonFly.

diffstat:

 ham/gnuradio-core/distinfo         |   6 +++++-
 ham/gnuradio-core/patches/patch-aa |  32 ++++++++++++++++++++++++++++++++
 ham/gnuradio-core/patches/patch-ab |  15 +++++++++++++++
 ham/gnuradio-core/patches/patch-ac |  14 ++++++++++++++
 ham/gnuradio-core/patches/patch-ad |  14 ++++++++++++++
 5 files changed, 80 insertions(+), 1 deletions(-)

diffs (105 lines):

diff -r 2aa5c1304b50 -r bfd39bbd30d3 ham/gnuradio-core/distinfo
--- a/ham/gnuradio-core/distinfo        Thu Dec 01 18:58:39 2005 +0000
+++ b/ham/gnuradio-core/distinfo        Thu Dec 01 19:02:45 2005 +0000
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/07 22:59:48 wulf Exp $
+$NetBSD: distinfo,v 1.2 2005/12/01 19:02:45 joerg Exp $
 
 SHA1 (gnuradio-core-2.5.tar.gz) = 9f18c2328fa5b06b0205a1206e82e6e49f4fadf7
 RMD160 (gnuradio-core-2.5.tar.gz) = b0f7d233c59e529fb3b8e0dc7c9ea3c3d105d9c5
 Size (gnuradio-core-2.5.tar.gz) = 1117321 bytes
+SHA1 (patch-aa) = 0e78c7fa1efc5545225825739965d7ba34718862
+SHA1 (patch-ab) = 8b99492bda024fe1f6b28076ddce10a002d86975
+SHA1 (patch-ac) = f7fe23cce5bfadfd6f99713caca1d0f5fd308e75
+SHA1 (patch-ad) = b60be38b16b48caa990969d14673d9b56581ed9c
diff -r 2aa5c1304b50 -r bfd39bbd30d3 ham/gnuradio-core/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/gnuradio-core/patches/patch-aa        Thu Dec 01 19:02:45 2005 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1 2005/12/01 19:02:45 joerg Exp $
+
+--- src/lib/runtime/gr_dispatcher.cc.orig      2005-12-01 18:16:32.000000000 +0000
++++ src/lib/runtime/gr_dispatcher.cc
+@@ -29,18 +29,17 @@
+ #include <errno.h>
+ 
+ #ifdef HAVE_SELECT
++#  ifdef HAVE_SYS_TIME_H
++#    include <sys/time.h>
++#  endif
+ #  ifdef HAVE_SYS_SELECT_H
+ #    include <sys/select.h>
+-#  else
+-#    ifdef HAVE_SYS_TIME_H
+-#      include <sys/time.h>
+-#    endif
+-#    ifdef HAVE_SYS_TYPES_H
+-#      include <sys/types.h>
+-#    endif
+-#    ifdef HAVE_UNISTD_H
+-#      include <unistd.h>
+-#    endif
++#  endif
++#  ifdef HAVE_SYS_TYPES_H
++#    include <sys/types.h>
++#  endif
++#  ifdef HAVE_UNISTD_H
++#    include <unistd.h>
+ #  endif
+ #endif
+ 
diff -r 2aa5c1304b50 -r bfd39bbd30d3 ham/gnuradio-core/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/gnuradio-core/patches/patch-ab        Thu Dec 01 19:02:45 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2005/12/01 19:02:45 joerg Exp $
+
+--- src/lib/runtime/gr_error_handler.cc.orig   2005-12-01 18:18:08.000000000 +0000
++++ src/lib/runtime/gr_error_handler.cc
+@@ -48,6 +48,10 @@
+ #include <assert.h>
+ #include <stdexcept>
+ 
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ static gr_error_handler       *s_default_handler = 0;
+ static gr_error_handler *s_silent_handler = 0;
+ 
diff -r 2aa5c1304b50 -r bfd39bbd30d3 ham/gnuradio-core/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/gnuradio-core/patches/patch-ac        Thu Dec 01 19:02:45 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2005/12/01 19:02:45 joerg Exp $
+
+--- src/lib/io/gr_file_descriptor_sink.cc.orig 2005-12-01 18:41:47.000000000 +0000
++++ src/lib/io/gr_file_descriptor_sink.cc
+@@ -32,6 +32,9 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <stdexcept>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ 
+ 
+ gr_file_descriptor_sink::gr_file_descriptor_sink (size_t itemsize, int fd)
diff -r 2aa5c1304b50 -r bfd39bbd30d3 ham/gnuradio-core/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/gnuradio-core/patches/patch-ad        Thu Dec 01 19:02:45 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2005/12/01 19:02:45 joerg Exp $
+
+--- src/lib/io/gr_file_descriptor_source.cc.orig       2005-12-01 18:44:09.000000000 +0000
++++ src/lib/io/gr_file_descriptor_source.cc
+@@ -32,6 +32,9 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <stdexcept>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ 
+ 
+ gr_file_descriptor_source::gr_file_descriptor_source (size_t itemsize,



Home | Main Index | Thread Index | Old Index