[Demudi-commits] r1624 - csound/trunk/debian/patches

fsateler-guest at alioth.debian.org fsateler-guest at alioth.debian.org
Tue Oct 2 04:59:24 UTC 2007


Author: fsateler-guest
Date: 2007-10-02 04:59:24 +0000 (Tue, 02 Oct 2007)
New Revision: 1624

Modified:
   csound/trunk/debian/patches/05hidden-simbols.dpatch
Log:
Actually define PUBLIC


Modified: csound/trunk/debian/patches/05hidden-simbols.dpatch
===================================================================
--- csound/trunk/debian/patches/05hidden-simbols.dpatch	2007-10-02 03:17:06 UTC (rev 1623)
+++ csound/trunk/debian/patches/05hidden-simbols.dpatch	2007-10-02 04:59:24 UTC (rev 1624)
@@ -5,9 +5,21 @@
 ## DP: Build with default visibility hidden
 
 @DPATCH@
+diff -urNad csound-5.06.0.dfsg~/H/csound.h csound-5.06.0.dfsg/H/csound.h
+--- csound-5.06.0.dfsg~/H/csound.h	2007-05-31 02:25:06.000000000 -0400
++++ csound-5.06.0.dfsg/H/csound.h	2007-10-01 23:44:15.920127472 -0400
+@@ -105,6 +105,8 @@
+ 
+ #if (defined(WIN32) || defined(_WIN32)) && !defined(SWIG)
+ #  define PUBLIC        __declspec(dllexport)
++#elif defined(__GNUC__)
++#  define PUBLIC        __attribute__ (( visibility("default") ))
+ #else
+ #  define PUBLIC
+ #endif
 diff -urNad csound-5.06.0.dfsg~/SConstruct csound-5.06.0.dfsg/SConstruct
---- csound-5.06.0.dfsg~/SConstruct	2007-09-26 22:44:48.878422653 -0400
-+++ csound-5.06.0.dfsg/SConstruct	2007-09-26 22:54:40.912160612 -0400
+--- csound-5.06.0.dfsg~/SConstruct	2007-10-01 23:41:32.410809576 -0400
++++ csound-5.06.0.dfsg/SConstruct	2007-10-01 23:41:32.910838124 -0400
 @@ -437,10 +437,26 @@
      context.Result(result)
      return result




More information about the Demudi-commits mailing list