diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-01 16:57:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-01 16:57:15 +0000 |
commit | fcbae5fcca1ed93b9920566e9e9b499064709e9f (patch) | |
tree | 2b0af5ad65f599691ff8a00b62d340b737533283 | |
parent | 18d8a920006a6301b57ccfdcc96961911af99f4c (diff) | |
download | pkgsrc-fcbae5fcca1ed93b9920566e9e9b499064709e9f.tar.gz |
Fix build on AIX: event.c needs time.h to get CLOCK_REALTIME and
the select implementation needs sys/select.h. The latter should be
detected by autoconf, but can break e.g. older DragonFly.
-rw-r--r-- | devel/libevent/distinfo | 4 | ||||
-rw-r--r-- | devel/libevent/patches/patch-aa | 14 | ||||
-rw-r--r-- | devel/libevent/patches/patch-ad | 12 |
3 files changed, 29 insertions, 1 deletions
diff --git a/devel/libevent/distinfo b/devel/libevent/distinfo index 19c40aab5a5..c31485734dd 100644 --- a/devel/libevent/distinfo +++ b/devel/libevent/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.15 2007/04/25 16:38:37 tnn Exp $ +$NetBSD: distinfo,v 1.16 2007/08/01 16:57:15 joerg Exp $ SHA1 (libevent-1.3b.tar.gz) = 41e2b71bcb51df4ef1563a11e8a726ecfd3907c1 RMD160 (libevent-1.3b.tar.gz) = c414b66757ddfdbb7d1f516efe948c52a8012735 Size (libevent-1.3b.tar.gz) = 445461 bytes +SHA1 (patch-aa) = 08a7dd87194730b0d3294deee7feb196e22c1b77 SHA1 (patch-ab) = 95e52acf92cc1d16a9a585ab9548059ccf5179a3 SHA1 (patch-ac) = a0ac74f38f2fddefddd87f7b37f266905850133f +SHA1 (patch-ad) = c842811d0b8e3f843a2f363dd2d11ec784fb8264 diff --git a/devel/libevent/patches/patch-aa b/devel/libevent/patches/patch-aa new file mode 100644 index 00000000000..fa0e19614c4 --- /dev/null +++ b/devel/libevent/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.3 2007/08/01 17:00:03 joerg Exp $ + +--- select.c.orig 2007-08-01 18:53:42.000000000 +0200 ++++ select.c +@@ -47,6 +47,9 @@ + #ifdef CHECK_INVARIANTS + #include <assert.h> + #endif ++#ifdef _AIX ++#include <sys/select.h> ++#endif + + #include "event.h" + #include "event-internal.h" diff --git a/devel/libevent/patches/patch-ad b/devel/libevent/patches/patch-ad new file mode 100644 index 00000000000..09d3cb09918 --- /dev/null +++ b/devel/libevent/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1 2007/08/01 17:00:03 joerg Exp $ + +--- event.c.orig 2007-08-01 16:58:11.000000000 +0200 ++++ event.c +@@ -44,6 +44,7 @@ + #include <sys/queue.h> + #include <stdio.h> + #include <stdlib.h> ++#include <time.h> + #ifndef WIN32 + #include <unistd.h> + #endif |