summaryrefslogtreecommitdiff
path: root/openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-28 21:21:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-28 21:21:38 +0000
commit36c75c7111c3cd79d26bf570935cfd72a192dbe5 (patch)
tree0e82f6e0709c24133b1268773ebe0feec3a9fedc /openwrt/package/postgresql/patches/101-debian-27dbf2pg-textfield
parent1abfe54ddc4d7664a7e0ac70ed0ca33709f27d30 (diff)
downloadmtk-20170518-36c75c7111c3cd79d26bf570935cfd72a192dbe5.zip
mtk-20170518-36c75c7111c3cd79d26bf570935cfd72a192dbe5.tar.gz
mtk-20170518-36c75c7111c3cd79d26bf570935cfd72a192dbe5.tar.bz2
update postgresql and fix gcc 3.4 build
SVN-Revision: 748
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 0000000..a450771
--- /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;
+ }
+ }
+