summaryrefslogtreecommitdiff
path: root/package/tinycdb/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-12-04 12:02:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-12-04 12:02:38 +0100
commitc46017c02278b9d195ac35616d40a009cd625d2a (patch)
tree476a97bebca1915489d818fee2e62f79dc53e10a /package/tinycdb/patches
parent37686107693fc49f21f6a7f28cdbe1a2df222eda (diff)
fix postfix segfaults by avoidance of berkeley db
Diffstat (limited to 'package/tinycdb/patches')
-rw-r--r--package/tinycdb/patches/patch-Makefile22
-rw-r--r--package/tinycdb/patches/patch-Makefile.orig13
2 files changed, 35 insertions, 0 deletions
diff --git a/package/tinycdb/patches/patch-Makefile b/package/tinycdb/patches/patch-Makefile
new file mode 100644
index 000000000..f539666f7
--- /dev/null
+++ b/package/tinycdb/patches/patch-Makefile
@@ -0,0 +1,22 @@
+--- tinycdb-0.77.orig/Makefile 2009-01-31 18:12:21.000000000 +0100
++++ tinycdb-0.77/Makefile 2011-12-04 11:35:29.779689052 +0100
+@@ -7,7 +7,7 @@
+
+ VERSION = 0.77
+
+-prefix=/usr/local
++prefix=/usr
+ exec_prefix=$(prefix)
+ bindir=$(exec_prefix)/bin
+ libdir=$(exec_prefix)/lib
+@@ -18,8 +18,8 @@ mandir=$(prefix)/man
+ NSSCDB_DIR = $(sysconfdir)
+ DESTDIR=
+
+-CC = cc
+-CFLAGS = -O
++CC ?= cc
++CFLAGS ?= -O
+
+ AR = ar
+ ARFLAGS = rv
diff --git a/package/tinycdb/patches/patch-Makefile.orig b/package/tinycdb/patches/patch-Makefile.orig
new file mode 100644
index 000000000..73ae2cd10
--- /dev/null
+++ b/package/tinycdb/patches/patch-Makefile.orig
@@ -0,0 +1,13 @@
+--- tinycdb-0.77.orig/Makefile 2009-01-31 18:12:21.000000000 +0100
++++ tinycdb-0.77/Makefile 2011-12-04 11:34:00.495686810 +0100
+@@ -18,8 +18,8 @@ mandir=$(prefix)/man
+ NSSCDB_DIR = $(sysconfdir)
+ DESTDIR=
+
+-CC = cc
+-CFLAGS = -O
++CC ?= cc
++CFLAGS ?= -O
+
+ AR = ar
+ ARFLAGS = rv