summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_select/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkg_select/patches/patch-aa')
-rw-r--r--pkgtools/pkg_select/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
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