summaryrefslogtreecommitdiff
path: root/databases/postgresql-libpq++/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-12-08 04:01:08 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-12-08 04:01:08 +0000
commitad737b96829b93068c8036f7a703cdb0aa1bcc40 (patch)
treea70c3fef43fc7ba9d3f7f952c40ac3cc23ae5312 /databases/postgresql-libpq++/files
parentFix installation of shared libs, man page installation, and plist. (diff)
- fix pgconnection.h
DLLIMPORT is no longer defined in postgresql-7.4 PR: 60027 Submitted by: girgen@pingpong.net
Diffstat (limited to 'databases/postgresql-libpq++/files')
-rw-r--r--databases/postgresql-libpq++/files/patch-pgconnection_h13
1 files changed, 13 insertions, 0 deletions
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