pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libgcrypt It's not very useful to include <sy...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba4c13525650
branches:  trunk
changeset: 487664:ba4c13525650
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 18 13:11:38 2005 +0000

description:
It's not very useful to include <sys/select.h> in only one source file
when other source files depend on fd_set being defined in a local header.

(Required on Interix, which does not expose <sys/select.h>/<sys/time.h>
automagically via other system headers as some OS's do by default.)

diffstat:

 security/libgcrypt/distinfo         |   4 +++-
 security/libgcrypt/patches/patch-ae |  17 +++++++++++++++++
 security/libgcrypt/patches/patch-af |  16 ++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r 9795d460c722 -r ba4c13525650 security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo       Tue Jan 18 13:04:13 2005 +0000
+++ b/security/libgcrypt/distinfo       Tue Jan 18 13:11:38 2005 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.12 2005/01/14 11:26:34 adam Exp $
+$NetBSD: distinfo,v 1.13 2005/01/18 13:11:38 tv Exp $
 
 SHA1 (libgcrypt-1.2.1.tar.gz) = 8627d483e26e73b4cfabb4807ae8423875c37cda
 Size (libgcrypt-1.2.1.tar.gz) = 960872 bytes
 SHA1 (patch-aa) = d8f659e4aac872abb152252731fd29bdaac635e3
 SHA1 (patch-ab) = bd713f7cbc6782ced8c2fd2b5541ac52d2a10fbe
 SHA1 (patch-ad) = f32281612b51c5bb3788cf03c6f5615bdfc0d3e8
+SHA1 (patch-ae) = 4129d9231dc6dfe2f8aa1d5ca5ed2b41a5e29741
+SHA1 (patch-af) = 01f417ea1ef8c9fc133f4a833da181c848776e7d
diff -r 9795d460c722 -r ba4c13525650 security/libgcrypt/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libgcrypt/patches/patch-ae       Tue Jan 18 13:11:38 2005 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.1 2005/01/18 13:11:38 tv Exp $
+
+--- src/ath.h.orig     2005-01-18 08:08:14.000000000 -0500
++++ src/ath.h
+@@ -31,6 +31,12 @@
+ 
+ #include <config.h>
+ 
++#ifdef HAVE_SYS_SELECT_H
++# include <sys/select.h>
++#else
++# include <sys/time.h>
++#endif
++
+ 
+ /* Define _ATH_EXT_SYM_PREFIX if you want to give all external symbols
+    a prefix.  */
diff -r 9795d460c722 -r ba4c13525650 security/libgcrypt/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libgcrypt/patches/patch-af       Tue Jan 18 13:11:38 2005 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.1 2005/01/18 13:11:38 tv Exp $
+
+--- src/ath.c.orig     2005-01-18 08:09:03.000000000 -0500
++++ src/ath.c
+@@ -24,11 +24,6 @@
+ 
+ #include <assert.h>
+ #include <unistd.h>
+-#ifdef HAVE_SYS_SELECT_H
+-# include <sys/select.h>
+-#else
+-# include <sys/time.h>
+-#endif
+ #include <sys/types.h>
+ #ifndef _WIN32
+ #include <sys/wait.h>



Home | Main Index | Thread Index | Old Index