diff options
author | fhajny <fhajny@pkgsrc.org> | 2013-10-21 08:57:33 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2013-10-21 08:57:33 +0000 |
commit | ba1f3472f468c05f27e708ffd34daa2e25544182 (patch) | |
tree | 17bf912c963fc5a9b8944a9a110497ab3688761b /net/quagga | |
parent | b57f8a28760b62bd7df5dae848b978fe66428a52 (diff) | |
download | pkgsrc-ba1f3472f468c05f27e708ffd34daa2e25544182.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'net/quagga')
-rw-r--r-- | net/quagga/distinfo | 3 | ||||
-rw-r--r-- | net/quagga/patches/patch-lib_queue.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/quagga/distinfo b/net/quagga/distinfo index 91838844a5a..e24bb7f660c 100644 --- a/net/quagga/distinfo +++ b/net/quagga/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.17 2013/08/07 14:05:15 gdt Exp $ +$NetBSD: distinfo,v 1.18 2013/10/21 08:57:33 fhajny Exp $ SHA1 (quagga-0.99.22.3.tar.gz) = 80e2d32bb0a95d2e3e9c90f16618eee863202f85 RMD160 (quagga-0.99.22.3.tar.gz) = 41fa875d1722af286621aa90b14b27a56e8d6c9d Size (quagga-0.99.22.3.tar.gz) = 2363963 bytes SHA1 (patch-configure) = a58a698ba9b8a174c3623a9cd4b52518e410c0df +SHA1 (patch-lib_queue.h) = 63ce2d88fb29654d937384898b0d84480b3b2581 diff --git a/net/quagga/patches/patch-lib_queue.h b/net/quagga/patches/patch-lib_queue.h new file mode 100644 index 00000000000..ed92ea77b08 --- /dev/null +++ b/net/quagga/patches/patch-lib_queue.h @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_queue.h,v 1.1 2013/10/21 08:57:33 fhajny Exp $ + +Fix build on SunOS. +--- lib/queue.h.orig 2013-07-30 14:47:01.000000000 +0000 ++++ lib/queue.h +@@ -33,7 +33,9 @@ + #ifndef _SYS_QUEUE_H_ + #define _SYS_QUEUE_H_ + ++#if !defined(__sun) + #include <sys/cdefs.h> ++#endif + + /* + * This file defines four types of data structures: singly-linked lists, |