packages: mplayer/mplayer-visibility-hidden-fix.patch (NEW) - enable visibi...

sparky sparky at pld-linux.org
Thu Nov 19 17:33:23 CET 2009


Author: sparky                       Date: Thu Nov 19 16:33:23 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- enable visibility on some strangely referenced symbols

---- Files affected:
packages/mplayer:
   mplayer-visibility-hidden-fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mplayer/mplayer-visibility-hidden-fix.patch
diff -u /dev/null packages/mplayer/mplayer-visibility-hidden-fix.patch:1.1
--- /dev/null	Thu Nov 19 17:33:23 2009
+++ packages/mplayer/mplayer-visibility-hidden-fix.patch	Thu Nov 19 17:33:17 2009
@@ -0,0 +1,57 @@
+--- mplayer-r29930/libdvdread4/dvdread/dvd_reader.h~	2009-11-19 14:23:23.231276231 +0100
++++ mplayer-r29930/libdvdread4/dvdread/dvd_reader.h	2009-11-19 14:25:48.524614054 +0100
+@@ -74,6 +74,8 @@
+  */
+ typedef struct dvd_stat_s dvd_stat_t;
+ 
++#pragma GCC visibility push(default)
++
+ /**
+  * Opens a block device of a DVD-ROM file, or an image file, or a directory
+  * name for a mounted DVD or HD copy of a DVD.
+@@ -305,6 +307,8 @@
+  */
+ int DVDUDFCacheLevel( dvd_reader_t *, int );
+ 
++#pragma GCC visibility pop
++
+ #ifdef __cplusplus
+ };
+ #endif
+--- mplayer-r29930/libdvdread4/dvdread/ifo_read.h~	2009-11-19 14:23:00.545070443 +0100
++++ mplayer-r29930/libdvdread4/dvdread/ifo_read.h	2009-11-19 14:26:19.125441477 +0100
+@@ -29,6 +29,7 @@
+ extern "C" {
+ #endif
+ 
++#pragma GCC visibility push(default)
+ /**
+  * handle = ifoOpen(dvd, title);
+  *
+@@ -226,6 +227,8 @@
+ void ifoFree_TITLE_VOBU_ADMAP(ifo_handle_t *);
+ void ifoFree_TXTDT_MGI(ifo_handle_t *);
+ 
++#pragma GCC visibility pop
++
+ #ifdef __cplusplus
+ };
+ #endif
+--- mplayer-r29930/libdvdread4/dvdread/nav_read.h~	2009-11-18 00:00:29.000000000 +0100
++++ mplayer-r29930/libdvdread4/dvdread/nav_read.h	2009-11-19 14:27:13.724600811 +0100
+@@ -31,6 +31,7 @@
+ extern "C" {
+ #endif
+ 
++#pragma GCC visibility push(default)
+ /**
+  * Reads the PCI packet data pointed to into th pci struct.
+  *
+@@ -46,6 +47,7 @@
+  * @param bufffer Pointer to the buffer of the on disc DSI data.
+  */
+ void navRead_DSI(dsi_t *, unsigned char *);
++#pragma GCC visibility pop
+ 
+ #ifdef __cplusplus
+ };
================================================================


More information about the pld-cvs-commit mailing list