aboutsummaryrefslogtreecommitdiffstats
path: root/main/perdition/gdbm-version.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-23 09:35:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-23 09:49:39 +0000
commite3bf283ffc053f865f7d2bf607e5b518782fafb2 (patch)
tree2b2a0a0d8c69443ed8cff6386fd364459d7cb7af /main/perdition/gdbm-version.patch
parent52b1fb5af93e3781ff3a719e034fbe15e28162c5 (diff)
downloadaports-e3bf283ffc053f865f7d2bf607e5b518782fafb2.tar.bz2
aports-e3bf283ffc053f865f7d2bf607e5b518782fafb2.tar.xz
main/perdition: rebuild against gdbm-1.10 and create user properly
Diffstat (limited to 'main/perdition/gdbm-version.patch')
-rw-r--r--main/perdition/gdbm-version.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/perdition/gdbm-version.patch b/main/perdition/gdbm-version.patch
new file mode 100644
index 0000000000..ae33fd92ae
--- /dev/null
+++ b/main/perdition/gdbm-version.patch
@@ -0,0 +1,26 @@
+gdbm.h has a conficting declaration of gdbm_version
+
+diff --git a/makegdbm/options.h b/makegdbm/options.h
+index 51597d1..9019af7 100644
+--- a/makegdbm/options.h
++++ b/makegdbm/options.h
+@@ -39,7 +39,6 @@
+ #endif
+
+ extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+
+ #define COPYRIGHT \
+ "(c) 1999 Horms <horms@verge.net.au>\nReleased under the GNU GPL\n"
+diff --git a/perdition/db/gdbm/perditiondb_gdbm.h b/perdition/db/gdbm/perditiondb_gdbm.h
+index 4047025..c23a8db 100644
+--- a/perdition/db/gdbm/perditiondb_gdbm.h
++++ b/perdition/db/gdbm/perditiondb_gdbm.h
+@@ -31,7 +31,6 @@
+ #include <gdbm.h>
+
+ extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+
+ #ifndef PERDITIONDB_GDBM_SYSCONFDIR
+ #define PERDITIONDB_GDBM_SYSCONFDIR "/usr/local/etc/perdition"