diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-05-19 07:12:05 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-05-19 07:12:05 +0000 |
commit | d38b7bbc547b4a9fbfb9d7af364cef7ed6ca1530 (patch) | |
tree | ba97e53043fe09931a89ab4454c46bbfa14deb76 /databases/unixODBC/files | |
parent | 03799d2354d81870d6db79b3e7db9fb874416124 (diff) | |
download | ports-d38b7bbc547b4a9fbfb9d7af364cef7ed6ca1530.tar.gz ports-d38b7bbc547b4a9fbfb9d7af364cef7ed6ca1530.zip |
Notes
Diffstat (limited to 'databases/unixODBC/files')
-rw-r--r-- | databases/unixODBC/files/patch-Makefile.in | 13 | ||||
-rw-r--r-- | databases/unixODBC/files/patch-exe-odbc-config.c | 19 | ||||
-rw-r--r-- | databases/unixODBC/files/patch-include-sqltypes.h | 35 |
3 files changed, 0 insertions, 67 deletions
diff --git a/databases/unixODBC/files/patch-Makefile.in b/databases/unixODBC/files/patch-Makefile.in deleted file mode 100644 index 9729588e857b..000000000000 --- a/databases/unixODBC/files/patch-Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ ---- Makefile.in.orig Sun Jun 24 15:44:33 2007 -+++ Makefile.in Sun Jun 24 15:45:04 2007 -@@ -876,8 +876,8 @@ - - - install-data-am: -- -touch $(DESTDIR)${sysconfdir}/odbcinst.ini -- -touch $(DESTDIR)${sysconfdir}/odbc.ini -+ -touch $(DESTDIR)${sysconfdir}/odbcinst.ini.sample -+ -touch $(DESTDIR)${sysconfdir}/odbc.ini.sample - -mkdir -p $(DESTDIR)${sysconfdir}/ODBCDataSources - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/databases/unixODBC/files/patch-exe-odbc-config.c b/databases/unixODBC/files/patch-exe-odbc-config.c deleted file mode 100644 index 686da5ebaaae..000000000000 --- a/databases/unixODBC/files/patch-exe-odbc-config.c +++ /dev/null @@ -1,19 +0,0 @@ ---- exe/odbc-config.c.orig 2008/05/20 13:43:47 1.7 -+++ exe/odbc-config.c 2008/11/27 13:44:43 1.8 -@@ -66,12 +66,12 @@ - printf( "#ifndef HAVE_LONG_LONG\n #define HAVE_LONG_LONG\n#endif\n" ); - #endif - --#ifdef ODBCINT64 -- printf( "#ifndef ODBCINT64\n #define ODBCINT64\n#endif\n" ); -+#ifdef ODBCINT64_TYPE -+ printf( "#ifndef ODBCINT64\n #define ODBCINT64 %s\n#endif\n", ODBCINT64_TYPE ); - #endif - --#ifdef UODBCINT64 -- printf( "#ifndef UODBCINT64\n #define UODBCINT64\n#endif\n" ); -+#ifdef UODBCINT64_TYPE -+ printf( "#ifndef UODBCINT64\n #define UODBCINT64 %s\n#endif\n", UODBCINT64_TYPE ); - #endif - - #ifdef DISABLE_INI_CACHING diff --git a/databases/unixODBC/files/patch-include-sqltypes.h b/databases/unixODBC/files/patch-include-sqltypes.h deleted file mode 100644 index 80b0bdfe07a5..000000000000 --- a/databases/unixODBC/files/patch-include-sqltypes.h +++ /dev/null @@ -1,35 +0,0 @@ ---- include/sqltypes.h.orig 2008/10/31 16:22:18 1.26 -+++ include/sqltypes.h 2008/11/27 13:44:43 1.27 -@@ -49,7 +49,7 @@ - */ - - #ifndef SIZEOF_LONG_INT --#include <unixodbc_conf.h> -+#include "unixodbc_conf.h" - #endif - - #ifndef SIZEOF_LONG_INT -@@ -371,10 +371,14 @@ - # if (SIZEOF_LONG_INT == 8) - # define ODBCINT64 long - # define UODBCINT64 unsigned long -+# define ODBCINT64_TYPE "long" -+# define UODBCINT64_TYPE "unsigned long" - # else - # ifdef HAVE_LONG_LONG - # define ODBCINT64 long long - # define UODBCINT64 unsigned long long -+# define ODBCINT64_TYPE "long long" -+# define UODBCINT64_TYPE "unsigned long long" - # else - /* - * may fail in some cases, but what else can we do ? -@@ -391,6 +395,8 @@ - }; - # define ODBCINT64 struct __bigint_struct - # define UODBCINT64 struct __bigint_struct_u -+# define ODBCINT64_TYPE "struct __bigint_struct" -+# define UODBCINT64_TYPE "struct __bigint_struct_u" - # endif - # endif - #endif |