summaryrefslogtreecommitdiffstats
path: root/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-28 21:21:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-28 21:21:38 +0000
commit02f7e55cbd90f99ff5a0f99bfbe2eeb12311bf21 (patch)
tree0e82f6e0709c24133b1268773ebe0feec3a9fedc /openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
parent99487379fe396c29e357b588763c1a35d9daaa26 (diff)
update postgresql and fix gcc 3.4 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@748 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield')
-rw-r--r--openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield b/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
new file mode 100644
index 000000000..a4507710f
--- /dev/null
+++ b/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
@@ -0,0 +1,14 @@
+diff -ruN postgresql-7.4.7-old/contrib/dbase/dbf2pg.c postgresql-7.4.7/contrib/dbase/dbf2pg.c
+--- postgresql-7.4.7-old/contrib/dbase/dbf2pg.c 2004-10-31 20:09:10.923855000 +0100
++++ postgresql-7.4.7/contrib/dbase/dbf2pg.c 2004-10-31 20:11:24.676521696 +0100
+@@ -324,6 +324,10 @@
+ case 'L':
+ strcat(query, " char");
+ break;
++
++ case 'M':
++ strcat(query, " text");
++ break;
+ }
+ }
+