summaryrefslogtreecommitdiff
path: root/package/glib/patches/patch-glib_gstrfuncs_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-17 09:58:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-17 09:58:21 +0100
commit2dfe345717ea5f2bfbd997508f294183fd170f7d (patch)
tree83617b6201edf071af3a9e5bcfad500d9c0a94d8 /package/glib/patches/patch-glib_gstrfuncs_c
parent59e96ea14898e040ad21bd4a761f76812bace2c5 (diff)
parentd96c0b112460f4940a8a26617019fbef762ec49e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/glib/patches/patch-glib_gstrfuncs_c')
-rw-r--r--package/glib/patches/patch-glib_gstrfuncs_c15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/glib/patches/patch-glib_gstrfuncs_c b/package/glib/patches/patch-glib_gstrfuncs_c
new file mode 100644
index 000000000..ec0543675
--- /dev/null
+++ b/package/glib/patches/patch-glib_gstrfuncs_c
@@ -0,0 +1,15 @@
+--- glib-2.28.1.orig/glib/gstrfuncs.c 2011-02-16 03:55:33.000000000 +0100
++++ glib-2.28.1/glib/gstrfuncs.c 2013-11-06 18:24:29.973270200 +0100
+@@ -1423,12 +1423,6 @@ g_strsignal (gint signum)
+ #ifdef HAVE_STRSIGNAL
+ const char *msg_locale;
+
+-#if defined(G_OS_BEOS) || defined(G_WITH_CYGWIN)
+-extern const char *strsignal(int);
+-#else
+- /* this is declared differently (const) in string.h on BeOS */
+- extern char *strsignal (int sig);
+-#endif /* !G_OS_BEOS && !G_WITH_CYGWIN */
+ msg_locale = strsignal (signum);
+ if (g_get_charset (NULL))
+ return msg_locale;