diff options
Diffstat (limited to 'databases/gtksql')
-rw-r--r-- | databases/gtksql/Makefile | 1 | ||||
-rw-r--r-- | databases/gtksql/files/patch-aa | 4 | ||||
-rw-r--r-- | databases/gtksql/files/patch-postgres.c | 11 |
3 files changed, 14 insertions, 2 deletions
diff --git a/databases/gtksql/Makefile b/databases/gtksql/Makefile index d05a0ae62521..4d553e5a8ba6 100644 --- a/databases/gtksql/Makefile +++ b/databases/gtksql/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtksql PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.multimania.com/bbrox/GtkSQL/ diff --git a/databases/gtksql/files/patch-aa b/databases/gtksql/files/patch-aa index dd92f953583d..a75bec6e00e4 100644 --- a/databases/gtksql/files/patch-aa +++ b/databases/gtksql/files/patch-aa @@ -11,8 +11,8 @@ -PGSQLIBS = -L/usr/local/pgsql/lib -lpq -PGSQLCFLAGS = -I/usr/local/pgsql/include -DUSE_POSTGRESQL -PGSQLOBJS = postgres.o -+#PGSQLIBS = -L/usr/local/pgsql/lib -lpq -+#PGSQLCFLAGS = -I/usr/local/pgsql/include -DUSE_POSTGRESQL ++#PGSQLIBS = -L/usr/local/lib -lpq ++#PGSQLCFLAGS = -I/usr/local/include/pgsql -DUSE_POSTGRESQL +#PGSQLOBJS = postgres.o # Here, what you need for MySQL diff --git a/databases/gtksql/files/patch-postgres.c b/databases/gtksql/files/patch-postgres.c new file mode 100644 index 000000000000..4e291b4cb0b7 --- /dev/null +++ b/databases/gtksql/files/patch-postgres.c @@ -0,0 +1,11 @@ +--- postgres.c.orig Sat Apr 21 19:16:37 2001 ++++ postgres.c Sat Apr 21 19:16:47 2001 +@@ -18,7 +18,7 @@ + + #include <libpq-fe.h> + #include <string.h> +-#include <postgres.h> ++#include <c.h> + + #include "common.h" + #include "status.h" |