Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/database
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4224/stable/main/finkinfo/database

Added Files:
        unixodbc2-nox.info unixodbc2-nox.patch 
Log Message:
GCC: 4.0 version


--- NEW FILE: unixodbc2-nox.patch ---
diff -uNr unixODBC-2.2.6/odbcinst/SQLManageDataSources.c 
unixODBC-2.2.6-new/odbcinst/SQLManageDataSources.c
--- unixODBC-2.2.6/odbcinst/SQLManageDataSources.c      Mon Jul 21 07:04:45 2003
+++ unixODBC-2.2.6-new/odbcinst/SQLManageDataSources.c  Wed Nov 26 19:21:07 2003
@@ -89,10 +89,14 @@
                  */
 
 #ifdef SHLIBEXT
+#if defined(__APPLE__) && defined(__GNUC__) //Darwin
+                sprintf( szGUILibFile, "%s/libodbcinstQ.so", DEFLIB_PATH);
+#else //Darwin
                 if ( strlen( SHLIBEXT ) > 0 )
                     sprintf( szGUILibFile, "libodbcinstQ%s.1", SHLIBEXT );
                 else
                     sprintf( szGUILibFile, "libodbcinstQ.so.1" );
+#endif //Darwin
 #else
                 sprintf( szGUILibFile, "libodbcinstQ.so.1" );
 #endif        
diff -uNr unixODBC-2.2.6/sqp/lex.l unixODBC-2.2.6-new/sqp/lex.l
--- unixODBC-2.2.6/sqp/lex.l    Wed Oct 17 12:40:32 2001
+++ unixODBC-2.2.6-new/sqp/lex.l        Wed Nov 26 19:21:44 2003
@@ -237,7 +237,8 @@
 {
        sprintf( g_szError, "%s processing '%s' on line %d", s, yytext, 
g_nLineNo );
        
-       YY_FLUSH_BUFFER;
+       yy_flush_buffer(YY_CURRENT_BUFFER);
+       /* YY_FLUSH_BUFFER; */
 }
 
 /**********************************************************************

--- NEW FILE: unixodbc2-nox.info ---
Package: unixodbc2-nox
Version: 2.2.11
Revision: 1010
###
Depends: readline5-shlibs (>= 5.0-1004), %N-shlibs (= %v-%r)
BuildDepends: readline5 (>= 5.0-1004), libiconv-dev
BuildDependsOnly: True
Conflicts: unixodbc, unixodbc2, unixodbc-nox
Replaces: unixodbc, unixodbc2, unixodbc-nox
###
CustomMirror: <<
  Primary: http://www.unixodbc.com/
  Secondary: ftp://ftp.easysoft.com/pub/beta/unixODBC/                     
<<
###
Source: mirror:custom:unixODBC-%v.tar.gz          
Source-MD5: 9ae806396844e38244cf65ad26ba0f23
###
PatchScript: <<
  ### FIX shared lib loading
  patch -p1 < %a/%n.patch
  ### FIX libltdl linking
  perl -pi -e 's,-flat_namespace -undefined suppress,-undefined 
dynamic_lookup,g' libltdl/configure
  perl -pi -e 's,-all_load \$convenience,-all_load,g' libltdl/configure
  perl -pi -e 's,\$nonopt \$\(test \"x\$module\" = xyes \&\& echo -bundle \|\| 
echo -dynamiclib\) \$allow_undefined_flag -o \$lib \$libobjs 
\$deplibs\$linker_flags -install_name \$rpath/\$soname \$verstring,\$nonopt 
\$\(test \"x\$module\" = xyes \&\& echo -bundle \$allow_undefined_flag \|\| 
echo -dynamiclib\) -o \$lib \$libobjs \$deplibs\$linker_flags \$\(test 
\"x\$module\" \!= xyes \&\& echo -install_name \$rpath/\$soname 
\$verstring\),g' libltdl/configure
  ### FIX main linking
  perl -pi -e 's,-flat_namespace -undefined suppress,-undefined 
dynamic_lookup,g' configure
  perl -pi -e 's,-all_load \$convenience,-all_load,g' configure
  perl -pi -e 's,need_relink=yes,need_relink=no,g' ltmain.sh
  perl -pi -e 's,\$nonopt \$\(test \"x\$module\" = xyes \&\& echo -bundle \|\| 
echo -dynamiclib\) \$allow_undefined_flag -o \$lib \$libobjs 
\$deplibs\$linker_flags -install_name \$rpath/\$soname \$verstring,\$nonopt 
\$\(test \"x\$module\" = xyes \&\& echo -bundle \$allow_undefined_flag \|\| 
echo -dynamiclib\) -o \$lib \$libobjs \$deplibs\$linker_flags \$\(test 
\"x\$module\" \!= xyes \&\& echo -install_name \$rpath/\$soname 
\$verstring\),g' libltdl/configure
  ### Not sure why this was set to i386 for OSX??
  perl -pi -e 's,i386,sys,g' Drivers/txt/SQLTables.c
  ### Loadable modules shouldn't be versioned
  cd Drivers; for i in `find . -name Makefile\*`; do perl -pi -e 
's,version-info( [1-2]:0:0)?,avoid-version,g' $i; done
  perl -pi -e 's,-avoid-version,-avoid-version -module,g' 
Drivers/template/Makefile.in
  cd DRVConfig; for i in `find . -name Makefile\*`; do perl -pi -e 
's,version-info( [1-2]:0:0)?,avoid-version,g' $i; done
  perl -pi -e 's,version-info( [1-2]:0:0)?,avoid-version,g' 
odbcinstQ/Makefile.in
  perl -pi -e 's,version-info [EMAIL PROTECTED]@,avoid-version,g' 
samples/Makefile.in
<<
###
GCC: 4.0
###
DocFiles: COPYING ChangeLog
###
ConfigureParams: --disable-stats --with-libiconv-prefix=%p --disable-gui 
--with-pic --enable-shared --enable-static --mandir=%i/share/man 
--infodir=%p/share/info --libexecdir=%p/lib
###
InstallScript: <<
  make install prefix=%i
  mv %i/include/sql.h %i/include/sql.h.unixodbc
  mv %i/include/sqlext.h %i/include/sqlext.h.unixodbc
  mv %i/include/sqltypes.h %i/include/sqltypes.h.unixodbc
<<
###
SplitOff: <<
  Package: %N-shlibs
  Conflicts: unixodbc-shlibs, unixodbc-nox-shlibs, unixodbc2-shlibs
  Replaces: unixodbc-nox (<= 2.2.1-1), unixodbc (<= 2.2.1-2), unixodbc-shlibs, 
unixodbc-nox-shlibs, unixodbc2-shlibs
  Files: <<
    lib/lib*.*.dylib
  <<
  Shlibs: <<
    %p/lib/libgtrtst.1.dylib 2.0.0 unixodbc-nox-shlibs (>= 2.2.5-11)
    %p/lib/libodbc.1.dylib 2.0.0 unixodbc-nox-shlibs (>= 2.2.5-11)
    %p/lib/libodbccr.1.dylib 2.0.0 unixodbc-nox-shlibs (>= 2.2.11-10)
    %p/lib/libodbcinst.1.dylib 2.0.0 unixodbc-nox-shlibs (>= 2.2.5-11)
  <<
  DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README* 
Drivers/MySQL/README:README.MySQL
<<
###
###
PostInstScript: <<
  update-alternatives --install %p/include/sql.h sql.h 
%p/include/sql.h.unixodbc 60
  update-alternatives --install %p/include/sqlext.h sqlext.h 
%p/include/sqlext.h.unixodbc 60
  update-alternatives --install %p/include/sqltypes.h sqltypes.h 
%p/include/sqltypes.h.unixodbc 60
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
  update-alternatives --remove sql.h %p/include/sql.h.unixodbc
  update-alternatives --remove sqlext.h %p/include/sqlext.h.unixodbc
  update-alternatives --remove sqltypes.h %p/include/sqltypes.h.unixodbc
fi
<<
###
Description: Provides ODBC 3 connectivity for Unix (No GUI)
DescDetail: <<
  The unixODBC project provides UNIX applications with the same ODBC 3.51 API
  and facilities available under Windows. It provides a Driver Manager that
  supports the full ODBC API and performs the ODBC 3 to ODBC 2 translations
  with UNICODE to ANSI conversion. It also includes a set of graphical 
utilities
  that allow users to specify connections to DBMSes to be used by applications,
  a collection of ODBC drivers including a simple text based driver, an NNTP
  driver, a Postgres driver and others, and a selection of templates and
  libraries that to aid in the construction of ODBC drivers. It works with
  MySQL, Postgres, StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC,
  Paradox 9, and many other applications and drivers. Connection pooling is
  also provided to increase performance with applications such as PHP.
<<
###
License: LGPL
Maintainer: Justin F. Hallett <[EMAIL PROTECTED]>
Homepage: http://www.unixodbc.org/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to