Ticket #3343: FreeTDS-0.63.diff

File FreeTDS-0.63.diff, 11.3 KB (added by mark@…, 19 years ago)

FreeTDS 0.63 diff

  • Portfile

    diff -ruN FreeTDS-orig/Portfile FreeTDS/Portfile
    old new  
    22
    33PortSystem 1.0
    44name                    freetds
    5 version                 0.61
     5version                 0.63
    66categories              databases
    77platforms               darwin
    88maintainers             jkh@opendarwin.org
    99description             A set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases
    1010long_description FreeTDS is an open source implementation of the TDS (Tabular DataStream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and supports several APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those languages as well. There is also a native (type 4) JDBC driver available for platform-independent Java clients (including Java Server Pages applications), with support for most of the JDBC 1 API and portions of the JDBC 2 API.
    1111
    12 extract.suffix  .tgz
     12#extract.suffix .tar.gz
    1313homepage        http://www.freetds.org/
    14 master_sites    opendarwin
    15 checksums       md5 95e91d26ddfdeed255771f3fa2c28129
     14master_sites    ftp://ftp.ibiblio.org/pub/Linux/ALPHA/${name}/stable/ opendarwin
     15checksums       md5 a0a5038cfb708180308b381f848baf75
    1616depends_lib     lib:libiconv.2:libiconv
    17 worksrcdir      freetds-0.61.2
     17worksrcdir      freetds-0.63
    1818
    19 # The following only applies to Panther builds.
    2019platform darwin 7 {
    21         patchfiles      patch-src-Makefile.in patch-src-tds-Makefile.in \
    22                 patch-src-server-Makefile.in patch-src-ctlib-Makefile.in \
    23                 patch-src-odbc-Makefile.in patch-src-dblib-Makefile.in
     20        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
     21                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
     22                patch-src-dblib-Makefile.in
    2423
    2524        pre-build {
    2625                system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
    2726        }
    2827}
     28
     29platform darwin 8 {
     30        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
     31                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
     32                patch-src-dblib-Makefile.in
     33}
  • files/CVS/Entries

    diff -ruN FreeTDS-orig/files/CVS/Entries FreeTDS/files/CVS/Entries
    old new  
    1 /patch-src-Makefile.in/1.1/Sat Dec 20 22:23:23 2003//
    21/patch-src-ctlib-Makefile.in/1.1/Sat Dec 20 22:23:23 2003//
    32/patch-src-dblib-Makefile.in/1.1/Sat Dec 20 22:23:23 2003//
    43/patch-src-odbc-Makefile.in/1.1/Sat Dec 20 22:23:23 2003//
    54/patch-src-server-Makefile.in/1.1/Sat Dec 20 22:23:23 2003//
    65/patch-src-tds-Makefile.in/1.1/Sat Dec 20 22:23:23 2003//
     6/patch-src-Makefile.in/1.1/Sun May 29 22:29:00 2005//
    77D
  • files/patch-src-ctlib-Makefile.in

    diff -ruN FreeTDS-orig/files/patch-src-ctlib-Makefile.in FreeTDS/files/patch-src-ctlib-Makefile.in
    old new  
    1 --- src/ctlib/Makefile.in.orig  Sat Dec 20 14:09:20 2003
    2 +++ src/ctlib/Makefile.in       Sat Dec 20 14:09:35 2003
    3 @@ -142,7 +142,7 @@
    4  lib_LTLIBRARIES = libct.la
    5  libct_la_SOURCES = ct.c cs.c blk.c ctutil.c
    6  libct_la_LDFLAGS = -version-info 1:0:0
    7 -libct_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libct_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
     1--- src/ctlib/Makefile.in.orig  2005-05-26 09:26:47.000000000 -0700
     2+++ src/ctlib/Makefile.in       2005-05-26 09:28:03.000000000 -0700
     3@@ -179,7 +179,7 @@
     4 # version bumped for 0.63, I hope we'll bump it less in the future -- freddy77
     5 libct_la_LDFLAGS = -version-info 3:0:0 -export-symbols-regex '^(cs_|ct_|blk_).*' $(FREETDS_SYMBOLIC)
     6 
     7-libct_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libct_la_LIBADD = $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
    99 
    1010 INCLUDES = -I$(top_srcdir)/include
    1111 subdir = src/ctlib
    12 @@ -151,8 +151,7 @@
     12@@ -188,8 +188,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES)
    1515 
  • files/patch-src-dblib-Makefile.in

    diff -ruN FreeTDS-orig/files/patch-src-dblib-Makefile.in FreeTDS/files/patch-src-dblib-Makefile.in
    old new  
    1 --- src/dblib/Makefile.in.orig  Sat Dec 20 14:14:22 2003
    2 +++ src/dblib/Makefile.in       Sat Dec 20 14:14:35 2003
    3 @@ -144,7 +144,7 @@
    4  EXTRA_DIST = dbopen.c
     1--- src/dblib/Makefile.in.orig  2005-05-26 09:30:01.000000000 -0700
     2+++ src/dblib/Makefile.in       2005-05-26 09:30:50.000000000 -0700
     3@@ -179,7 +179,7 @@
    54 libsybdb_la_SOURCES = dblib.c dbutil.c rpc.c bcp.c xact.c $(DBOPEN)
    6  libsybdb_la_LDFLAGS = -version-info 3:0:0
    7 -libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
     5 # version bumped for 0.63, I hope we'll bump it less in the future -- freddy77
     6 libsybdb_la_LDFLAGS = -version-info 5:0:0 -export-symbols-regex '^(db|bcp_|tdsdump_open|tdsdbopen|.*_xact|close_commit|open_commit|.?asprintf).*' $(FREETDS_SYMBOLIC)
     7-libsybdb_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
    99 
    1010 INCLUDES = -I$(top_srcdir)/include
    1111 subdir = src/dblib
    12 @@ -153,8 +153,7 @@
     12@@ -188,8 +188,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES)
    1515 
  • files/patch-src-odbc-Makefile.in

    diff -ruN FreeTDS-orig/files/patch-src-odbc-Makefile.in FreeTDS/files/patch-src-odbc-Makefile.in
    old new  
    1 --- src/odbc/Makefile.in.orig   Sat Dec 20 14:10:18 2003
    2 +++ src/odbc/Makefile.in        Sat Dec 20 14:11:11 2003
    3 @@ -147,8 +147,8 @@
    4         sql2tds.c sql2tds.h error.c
     1--- src/odbc/Makefile.in.orig   2005-05-26 09:31:48.000000000 -0700
     2+++ src/odbc/Makefile.in        2005-05-26 09:33:04.000000000 -0700
     3@@ -181,7 +181,7 @@
     4        sql2tds.c sql2tds.h error.c \
     5        odbc_checks.c odbc_checks.h
    56 
    6  EXTRA_DIST = tables.sql
    7 -@UNIXODBC_TRUE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la -lodbcinst $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 -@UNIXODBC_FALSE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    9 +@UNIXODBC_TRUE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la -lodbcinst $(NETWORK_LIBS) $(LIBICONV)
    10 +@UNIXODBC_FALSE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
    11  INCLUDES = -I$(top_srcdir)/include -I$(ODBC_INC)
    12  subdir = src/odbc
    13  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    14 @@ -158,9 +158,9 @@
     7-libtdsodbc_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(ODBCINSTLIB) $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(ODBCINSTLIB) $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     9 INCLUDES = -I$(top_srcdir)/include $(ODBC_INC)
     10 # -module is needed by Darwin (Mac OS X)
     11 libtdsodbc_la_LDFLAGS = -export-symbols-regex '^(SQL|ODBCINST).*' $(FREETDS_SYMBOLIC) -module
     12@@ -191,8 +191,7 @@
     13 CONFIG_CLEAN_FILES =
     14 LTLIBRARIES = $(lib_LTLIBRARIES)
    1515 
    16  libtdsodbc_la_LDFLAGS =
    17  @UNIXODBC_TRUE@libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \
    18 -@UNIXODBC_TRUE@        ../replacements/libreplacements.la
    19 +@UNIXODBC_TRUE@
    20  @UNIXODBC_FALSE@libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \
    21 -@UNIXODBC_FALSE@       ../replacements/libreplacements.la
    22 +@UNIXODBC_FALSE@
     16-libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \
     17-       ../replacements/libreplacements.la
     18+libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la
    2319 am_libtdsodbc_la_OBJECTS = odbc.lo connectparams.lo convert_tds2sql.lo \
    24         convert_sql2string.lo prepare_query.lo odbc_util.lo native.lo \
    25         sql2tds.lo error.lo
     20        descriptor.lo prepare_query.lo odbc_util.lo native.lo \
     21        sql2tds.lo error.lo odbc_checks.lo
  • files/patch-src-server-Makefile.in

    diff -ruN FreeTDS-orig/files/patch-src-server-Makefile.in FreeTDS/files/patch-src-server-Makefile.in
    old new  
    1 --- src/server/Makefile.in.orig Sat Dec 20 14:00:04 2003
    2 +++ src/server/Makefile.in      Sat Dec 20 14:00:40 2003
    3 @@ -140,7 +140,7 @@
    4  lib_LTLIBRARIES = libtdssrv.la
     1--- src/server/Makefile.in.orig 2005-05-26 09:34:44.000000000 -0700
     2+++ src/server/Makefile.in      2005-05-26 09:35:07.000000000 -0700
     3@@ -175,7 +175,7 @@
    54 libtdssrv_la_SOURCES = query.c server.c login.c
    6  libtdssrv_la_LDFLAGS = -version-info 1:0:0
    7 -libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
     5 # bump server version whenever bumping libtds version
     6 libtdssrv_la_LDFLAGS = -version-info 2:0:0
     7-libtdssrv_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
    99 INCLUDES = -I$(top_srcdir)/include
    10  EXTRA_DIST = unittest.c
    11  subdir = src/server
    12 @@ -149,8 +149,7 @@
     10 noinst_PROGRAMS = tdssrv
     11 tdssrv_LDADD = libtdssrv.la $(NETWORK_LIBS)
     12@@ -186,8 +186,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES)
    1515 
     
    1818+libtdssrv_la_DEPENDENCIES = ../tds/libtds_objects.la
    1919 am_libtdssrv_la_OBJECTS = query.lo server.lo login.lo
    2020 libtdssrv_la_OBJECTS = $(am_libtdssrv_la_OBJECTS)
    21  
     21 noinst_PROGRAMS = tdssrv$(EXEEXT)
  • files/patch-src-tds-Makefile.in

    diff -ruN FreeTDS-orig/files/patch-src-tds-Makefile.in FreeTDS/files/patch-src-tds-Makefile.in
    old new  
    1 --- src/tds/Makefile.in.orig    Sat Dec 20 13:51:29 2003
    2 +++ src/tds/Makefile.in Sat Dec 20 13:51:39 2003
    3 @@ -152,7 +152,7 @@
    4  lib_LTLIBRARIES = libtds.la
    5  libtds_la_SOURCES =
    6  libtds_la_LDFLAGS = -version-info 2:0:0
    7 -libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la
    8 +libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV)
    9  noinst_HEADERS = tds_willconvert.h
    10  subdir = src/tds
    11  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    12 @@ -160,8 +160,7 @@
     1--- src/tds/Makefile.in.orig    2005-05-26 09:35:53.000000000 -0700
     2+++ src/tds/Makefile.in 2005-05-26 09:36:21.000000000 -0700
     3@@ -189,7 +189,7 @@
     4 # Release 0.63 is version 4, cf. ML 30 Nov 2004 11:08:28 -0600
     5 libtds_la_LDFLAGS = -version-info 4:0:0 -export-symbols-regex '^(tds_|tdsdump_|tds5_|tds7_).*'
     6 #                      bump server version whenever bumping libtds version
     7-libtds_la_LIBADD = libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     8+libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
     9 noinst_HEADERS = tds_willconvert.h character_sets.h \
     10                          alternative_character_sets.h sybase_character_sets.h \
     11                          encodings.h
     12@@ -200,8 +200,7 @@
    1313 CONFIG_CLEAN_FILES =
    1414 LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
    1515