summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndrew O. Shadoura <bugzilla@tut.by>2011-03-20 00:03:26 +0200
committerAndrew O. Shadoura <bugzilla@tut.by>2011-03-20 00:03:26 +0200
commitc5b9658f26c71a981a8019fb07a1d40c65ab8662 (patch)
tree5bb2516d121be14eebdc9f2550ebe84866d07ee8 /debian
parentf798da83ebc1c13d1a60b9a6abadbae878e70457 (diff)
restore compatibility with historic libguess versions
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/04-hide-symbols.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/04-hide-symbols.diff b/debian/patches/04-hide-symbols.diff
index 15cd75b..d68c55a 100644
--- a/debian/patches/04-hide-symbols.diff
+++ b/debian/patches/04-hide-symbols.diff
@@ -31,3 +31,32 @@ Bug: http://jira.atheme.org/browse/LG-4
#endif
+--- a/src/libguess/guess_impl.c
++++ b/src/libguess/guess_impl.c
+@@ -81,7 +81,7 @@
+ return 0;
+ }
+
+-const char *guess_jp(const char *buf, int buflen)
++__attribute__ ((visibility ("default"))) const char *guess_jp(const char *buf, int buflen)
+ {
+ int i;
+ const char *rv = NULL;
+@@ -192,7 +192,7 @@
+ return NULL;
+ }
+
+-const char *guess_cn(const char *buf, int buflen)
++__attribute__ ((visibility ("default"))) const char *guess_cn(const char *buf, int buflen)
+ {
+ int i;
+ const char *rv = NULL;
+@@ -250,7 +250,7 @@
+ return NULL;
+ }
+
+-const char *guess_kr(const char *buf, int buflen)
++__attribute__ ((visibility ("default"))) const char *guess_kr(const char *buf, int buflen)
+ {
+ int i;
+ const char *rv = NULL;