Update of /cvsroot/fink/experimental/thesin/finkinfo/test
In directory sc8-pr-cvs1:/tmp/cvs-serv21536

Modified Files:
        unixodbc2-2.2.5-1.patch unixodbc2-nox-2.2.5-1.patch 
Log Message:
yay me

Index: unixodbc2-2.2.5-1.patch
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/test/unixodbc2-2.2.5-1.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- unixodbc2-2.2.5-1.patch     28 Feb 2003 23:27:17 -0000      1.3
+++ unixodbc2-2.2.5-1.patch     1 Mar 2003 22:21:49 -0000       1.4
@@ -28,3 +28,24 @@
          fi
  
          if test -n "$old_archive_from_expsyms_cmds"; then
+diff -ruN unixODBC-2.2.5.orig/odbcinst/SQLManageDataSources.c 
unixODBC-2.2.5/odbcinst/SQLManageDataSources.c
+--- unixODBC-2.2.5.orig/odbcinst/SQLManageDataSources.c        Mon Feb 10 09:59:46 
2003
++++ unixODBC-2.2.5/odbcinst/SQLManageDataSources.c     Sat Mar  1 14:25:28 2003
+@@ -72,10 +72,17 @@
+  * we need to find the extension to use as well
+  */
+ #ifdef SHLIBEXT
++#if defined(__APPLE__) && defined(__GNUC__) //Darwin
++       if ( strlen( SHLIBEXT ) > 0 )
++            sprintf( szGUILibFile, "%s/libodbcinstQ.1.%s", DEFLIB_PATH, SHLIBEXT );
++        else
++            sprintf( szGUILibFile, "%s/libodbcinstQ.1.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        

Index: unixodbc2-nox-2.2.5-1.patch
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/test/unixodbc2-nox-2.2.5-1.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- unixodbc2-nox-2.2.5-1.patch 28 Feb 2003 23:27:17 -0000      1.3
+++ unixodbc2-nox-2.2.5-1.patch 1 Mar 2003 22:21:49 -0000       1.4
@@ -28,3 +28,24 @@
          fi
  
          if test -n "$old_archive_from_expsyms_cmds"; then
+diff -ruN unixODBC-2.2.5.orig/odbcinst/SQLManageDataSources.c 
unixODBC-2.2.5/odbcinst/SQLManageDataSources.c
+--- unixODBC-2.2.5.orig/odbcinst/SQLManageDataSources.c        Mon Feb 10 09:59:46 
2003
++++ unixODBC-2.2.5/odbcinst/SQLManageDataSources.c     Sat Mar  1 14:25:28 2003
+@@ -72,10 +72,17 @@
+  * we need to find the extension to use as well
+  */
+ #ifdef SHLIBEXT
++#if defined(__APPLE__) && defined(__GNUC__) //Darwin
++       if ( strlen( SHLIBEXT ) > 0 )
++            sprintf( szGUILibFile, "%s/libodbcinstQ.1.%s", DEFLIB_PATH, SHLIBEXT );
++        else
++            sprintf( szGUILibFile, "%s/libodbcinstQ.1.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        



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to