gettext-runtime/gettext-initialize_vars.patch
Ana Guerrero bad31401bb - Fix crash while handling po files with malformed header and
process them properly
  (0003-Fix-malformed-header-processing.patch, boo#1227316).

OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=204
2025-03-03 14:13:22 +00:00

18 lines
640 B
Diff

Index: gettext-tools/gnulib-lib/gl_anylinked_list2.h
===================================================================
--- a/gettext-tools/gnulib-lib/gl_anylinked_list2.h.orig 2010-05-24 11:42:37.000000000 +0200
+++ b/gettext-tools/gnulib-lib/gl_anylinked_list2.h 2010-12-20 18:47:11.981132438 +0100
@@ -34,6 +34,12 @@
# define ASYNCSAFE(type)
#endif
+#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 3) || (__GNUC__ == 4 && __GNUC_MINOR__ > 1)
+# ifndef lint
+# define lint
+# endif
+#endif
+
/* -------------------------- gl_list_t Data Type -------------------------- */
static gl_list_t