diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
commit | 9526ee659401dee7160f35cb62ded2779bcbbc99 (patch) | |
tree | 812ad73bde9c84dcc02a3acbc5db576369ca314a /main/claws-mail/libc-version.patch | |
parent | 05e09c1126a898b6d0af491fef0401bf53e297f8 (diff) | |
download | aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2 aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz |
merged x11 repository into main
ref #255
Diffstat (limited to 'main/claws-mail/libc-version.patch')
-rw-r--r-- | main/claws-mail/libc-version.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/claws-mail/libc-version.patch b/main/claws-mail/libc-version.patch new file mode 100644 index 0000000000..c55c007baf --- /dev/null +++ b/main/claws-mail/libc-version.patch @@ -0,0 +1,22 @@ +--- a/src/crash.c.orig 2009-09-05 22:12:33.000000000 +0000 ++++ b/src/crash.c 2009-09-05 22:14:34.000000000 +0000 +@@ -42,7 +42,7 @@ + # include <sys/utsname.h> + #endif + +-#if defined(__GNU_LIBRARY__) ++#if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__) + # include <gnu/libc-version.h> + #endif + +@@ -446,7 +446,9 @@ + */ + static const gchar *get_lib_version(void) + { +-#if defined(__GNU_LIBRARY__) ++#if defined(__UCLIBC__) ++ return g_strdup_printf("uClibc"); ++#elif defined(__GNU_LIBRARY__) + return g_strdup_printf("GNU libc %s", gnu_get_libc_version()); + #else + return g_strdup(_("Unknown")); |