aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-03-02 06:03:21 +0800
committerdirk <dirk@FreeBSD.org>2000-03-02 06:03:21 +0800
commit62b812cff2d9e5b1e4389280b5448f588c2af2e2 (patch)
treef3c865e3accd8e64a94bc62979c9d1004ea93584 /databases
parent69c0c14e48c0bcf0ce1f255d438d8a453f86d83e (diff)
downloadfreebsd-ports-gnome-62b812cff2d9e5b1e4389280b5448f588c2af2e2.tar.gz
freebsd-ports-gnome-62b812cff2d9e5b1e4389280b5448f588c2af2e2.tar.zst
freebsd-ports-gnome-62b812cff2d9e5b1e4389280b5448f588c2af2e2.zip
Define DBMFIX in sybdb.h permanently to be consistent with --enable-dbmfix.
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds-devel/files/patch-ac14
-rw-r--r--databases/freetds/files/patch-ac14
2 files changed, 28 insertions, 0 deletions
diff --git a/databases/freetds-devel/files/patch-ac b/databases/freetds-devel/files/patch-ac
new file mode 100644
index 000000000000..717994fa4841
--- /dev/null
+++ b/databases/freetds-devel/files/patch-ac
@@ -0,0 +1,14 @@
+--- include/sybdb.h.orig Mon Nov 8 06:10:27 1999
++++ include/sybdb.h Wed Mar 1 20:45:55 2000
+@@ -286,6 +286,11 @@
+ extern RETCODE DBSETLUSER(LOGINREC *login, char *username);
+ extern RETCODE DBSETLHOST(LOGINREC *login, char *hostname);
+ extern RETCODE DBSETLAPP(LOGINREC *login, char *application);
++
++#ifndef DBMFIX
++#define DBMFIX
++#endif
++
+ #ifdef DBMFIX
+ extern DBPROCESS *tdsdbopen(LOGINREC *login,char *server);
+ #else
diff --git a/databases/freetds/files/patch-ac b/databases/freetds/files/patch-ac
new file mode 100644
index 000000000000..717994fa4841
--- /dev/null
+++ b/databases/freetds/files/patch-ac
@@ -0,0 +1,14 @@
+--- include/sybdb.h.orig Mon Nov 8 06:10:27 1999
++++ include/sybdb.h Wed Mar 1 20:45:55 2000
+@@ -286,6 +286,11 @@
+ extern RETCODE DBSETLUSER(LOGINREC *login, char *username);
+ extern RETCODE DBSETLHOST(LOGINREC *login, char *hostname);
+ extern RETCODE DBSETLAPP(LOGINREC *login, char *application);
++
++#ifndef DBMFIX
++#define DBMFIX
++#endif
++
+ #ifdef DBMFIX
+ extern DBPROCESS *tdsdbopen(LOGINREC *login,char *server);
+ #else