aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-07-27 14:23:18 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-07-27 14:23:18 +0000
commitac25d171d06f650a27cb8bbfb8f8e5a493657140 (patch)
treec748cf5a39347f4b19e8fed97cc14c47e9892ca2 /finance
parent08576a11f47c86d071d7854e8181dd178c9c9b4e (diff)
downloadports-ac25d171d06f650a27cb8bbfb8f8e5a493657140.tar.gz
ports-ac25d171d06f650a27cb8bbfb8f8e5a493657140.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/gnucash-devel/Makefile1
-rw-r--r--finance/gnucash-devel/files/patch-PostgresBackend16
-rw-r--r--finance/gnucash/Makefile1
-rw-r--r--finance/gnucash/files/patch-PostgresBackend16
4 files changed, 34 insertions, 0 deletions
diff --git a/finance/gnucash-devel/Makefile b/finance/gnucash-devel/Makefile
index 18f9e248553d..42f3c453d6c4 100644
--- a/finance/gnucash-devel/Makefile
+++ b/finance/gnucash-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnucash
PORTVERSION= 1.8.9
+PORTREVISION= 1
CATEGORIES= finance gnome
MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \
ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
diff --git a/finance/gnucash-devel/files/patch-PostgresBackend b/finance/gnucash-devel/files/patch-PostgresBackend
new file mode 100644
index 000000000000..2126e467fa70
--- /dev/null
+++ b/finance/gnucash-devel/files/patch-PostgresBackend
@@ -0,0 +1,16 @@
+*** src/backend/postgres/PostgresBackend.orig Mon Jul 26 17:17:45 2004
+--- src/backend/postgres/PostgresBackend.c Mon Jul 26 17:33:16 2004
+***************
+*** 2104,2109 ****
+--- 2104,2114 ----
+ if (!strcmp (encoding, "ANSI_X3.4-1968"))
+ encoding = "SQL_ASCII";
+
++ if (!strcmp(encoding, "US-ASCII"))
++ encoding = "SQL_ASCII";
++
++ printf("\nDatabase encoding is: %s.\n", encoding);
++
+ /* create the database */
+ p = be->buff; *p =0;
+ p = stpcpy (p, "CREATE DATABASE ");
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index 18f9e248553d..42f3c453d6c4 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnucash
PORTVERSION= 1.8.9
+PORTREVISION= 1
CATEGORIES= finance gnome
MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \
ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
diff --git a/finance/gnucash/files/patch-PostgresBackend b/finance/gnucash/files/patch-PostgresBackend
new file mode 100644
index 000000000000..2126e467fa70
--- /dev/null
+++ b/finance/gnucash/files/patch-PostgresBackend
@@ -0,0 +1,16 @@
+*** src/backend/postgres/PostgresBackend.orig Mon Jul 26 17:17:45 2004
+--- src/backend/postgres/PostgresBackend.c Mon Jul 26 17:33:16 2004
+***************
+*** 2104,2109 ****
+--- 2104,2114 ----
+ if (!strcmp (encoding, "ANSI_X3.4-1968"))
+ encoding = "SQL_ASCII";
+
++ if (!strcmp(encoding, "US-ASCII"))
++ encoding = "SQL_ASCII";
++
++ printf("\nDatabase encoding is: %s.\n", encoding);
++
+ /* create the database */
+ p = be->buff; *p =0;
+ p = stpcpy (p, "CREATE DATABASE ");