aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-12-08 12:01:08 +0800
committerdinoex <dinoex@FreeBSD.org>2003-12-08 12:01:08 +0800
commitf91ec7861f62d31fe4ba080bd7cbdf2877dd098c (patch)
tree9d81602e655cb8649e0e6eee474ae4cedc5d209d /databases
parent596016bea4e10ed9f42550cd38f9e138214c2ae9 (diff)
downloadfreebsd-ports-gnome-f91ec7861f62d31fe4ba080bd7cbdf2877dd098c.tar.gz
freebsd-ports-gnome-f91ec7861f62d31fe4ba080bd7cbdf2877dd098c.tar.zst
freebsd-ports-gnome-f91ec7861f62d31fe4ba080bd7cbdf2877dd098c.zip
- fix pgconnection.h
DLLIMPORT is no longer defined in postgresql-7.4 PR: 60027 Submitted by: girgen@pingpong.net
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-libpq++/Makefile1
-rw-r--r--databases/postgresql-libpq++/files/patch-pgconnection_h13
2 files changed, 14 insertions, 0 deletions
diff --git a/databases/postgresql-libpq++/Makefile b/databases/postgresql-libpq++/Makefile
index 638890a774dc..57a388b08e7a 100644
--- a/databases/postgresql-libpq++/Makefile
+++ b/databases/postgresql-libpq++/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libpq++
PORTVERSION= 4.0
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ftp://gborg.postgresql.org/pub/libpqpp/stable/
PKGNAMEPREFIX= postgresql-
diff --git a/databases/postgresql-libpq++/files/patch-pgconnection_h b/databases/postgresql-libpq++/files/patch-pgconnection_h
new file mode 100644
index 000000000000..101d7d7713f9
--- /dev/null
+++ b/databases/postgresql-libpq++/files/patch-pgconnection_h
@@ -0,0 +1,13 @@
+--- pgconnection.h.orig Wed Nov 27 05:46:08 2002
++++ pgconnection.h Sun Dec 7 23:15:54 2003
+@@ -21,6 +21,10 @@
+ #ifndef PGCONNECTION_H
+ #define PGCONNECTION_H
+
++#ifndef DLLIMPORT
++#define DLLIMPORT
++#endif
++
+ #ifdef HAVE_CXX_STRING_HEADER
+ #include <string>
+ #endif