summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_select
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-03-13 00:13:37 +0000
committerminskim <minskim@pkgsrc.org>2006-03-13 00:13:37 +0000
commit73b7ad53a37efca64dcf3baa1e83700fa3f63be0 (patch)
tree2cf933b35d8dff32c18a74f6660c8eade24edccb /pkgtools/pkg_select
parent4ddc4714ef6f81bd718b1277929ae8dfd54d5fbc (diff)
downloadpkgsrc-73b7ad53a37efca64dcf3baa1e83700fa3f63be0.tar.gz
Define SLIST_HEAD_INITIALIZER for platforms without it.
Diffstat (limited to 'pkgtools/pkg_select')
-rw-r--r--pkgtools/pkg_select/distinfo3
-rw-r--r--pkgtools/pkg_select/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
diff --git a/pkgtools/pkg_select/distinfo b/pkgtools/pkg_select/distinfo
index f992122dccc..32bd35581ce 100644
--- a/pkgtools/pkg_select/distinfo
+++ b/pkgtools/pkg_select/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/08/25 10:34:12 xtraeme Exp $
+$NetBSD: distinfo,v 1.3 2006/03/13 00:13:37 minskim Exp $
SHA1 (pkg_select-20050817.tar.gz) = a7e22c666e4098c44cf6100a3b5e1cbcbeb48375
RMD160 (pkg_select-20050817.tar.gz) = 0a16ea710303471730b7dbc0399a34d5e7cfff8b
Size (pkg_select-20050817.tar.gz) = 45184 bytes
+SHA1 (patch-aa) = c59ecd6d4cfdde450aac1f2794ab7d42da8cbc07
diff --git a/pkgtools/pkg_select/patches/patch-aa b/pkgtools/pkg_select/patches/patch-aa
new file mode 100644
index 00000000000..9749922e41b
--- /dev/null
+++ b/pkgtools/pkg_select/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2006/03/13 00:13:37 minskim Exp $
+
+--- pkg_select.h.orig 2005-03-09 03:30:07.000000000 -0800
++++ pkg_select.h
+@@ -45,6 +45,10 @@
+ #include "texts.h"
+ #include "live.h"
+
++#ifndef SLIST_HEAD_INITIALIZER
++#define SLIST_HEAD_INITIALIZER(head) { NULL }
++#endif
++
+ #define IN_PKGSRC 1
+ #define IN_PKGDB 0
+ #define IN_DEPENDS 2