Package: gtkspell3 / 3.0.9-3

01-hide-private-symbols.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Don't export private symbols
 http://www.flameeyes.eu/autotools-mythbuster/libtool/symbols.html
Author: Michael Biebl <biebl@debian.org>
Index: gtkspell3-3.0.3/gtkspell/Makefile.am
===================================================================
--- gtkspell3-3.0.3.orig/gtkspell/Makefile.am	2013-06-29 19:39:26.225634580 +0200
+++ gtkspell3-3.0.3/gtkspell/Makefile.am	2013-06-29 19:39:39.981762344 +0200
@@ -22,7 +22,7 @@
 libgtkspell3_3_la_SOURCES += gtkspell-win32.c gtkspell-win32.h
 endif
 libgtkspell3_3_la_LIBADD = $(GTK_SPELL3_LIBS)
-libgtkspell3_3_la_LDFLAGS = -version-info $(GTK_SPELL_SO_VERSION) $(no_undefined)
+libgtkspell3_3_la_LDFLAGS = -version-info $(GTK_SPELL_SO_VERSION) $(no_undefined) -export-symbols-regex '^gtk_spell_.*'
 
 pkgconfig_DATA += gtkspell3-3.0.pc
 endif
@@ -41,7 +41,7 @@
 libgtkspell3_2_la_SOURCES += gtkspell-win32.c gtkspell-win32.h
 endif
 libgtkspell3_2_la_LIBADD = $(GTK_SPELL2_LIBS)
-libgtkspell3_2_la_LDFLAGS = -version-info $(GTK_SPELL_SO_VERSION) $(no_undefined)
+libgtkspell3_2_la_LDFLAGS = -version-info $(GTK_SPELL_SO_VERSION) $(no_undefined) -export-symbols-regex '^gtk_spell_.*'
 
 pkgconfig_DATA += gtkspell3-2.0.pc
 endif