File jpeg8-8b-jconfig.patch of Package jpeg8
Index: jconfig.cfg
===================================================================
--- jconfig.cfg.orig
+++ jconfig.cfg
@@ -1,12 +1,18 @@
/* jconfig.cfg --- source file edited by configure script */
/* see jconfig.txt for explanations */
+/* Define this if you get warnings about undefined structures. */
+#undef INCOMPLETE_TYPES_BROKEN
+
#undef HAVE_PROTOTYPES
#undef HAVE_UNSIGNED_CHAR
#undef HAVE_UNSIGNED_SHORT
#undef void
#undef const
#undef CHAR_IS_UNSIGNED
+
+#ifdef JPEG_INTERNALS
+
#undef HAVE_STDDEF_H
#undef HAVE_STDLIB_H
#undef HAVE_LOCALE_H
@@ -14,8 +20,6 @@
#undef NEED_SYS_TYPES_H
#undef NEED_FAR_POINTERS
#undef NEED_SHORT_EXTERNAL_NAMES
-/* Define this if you get warnings about undefined structures. */
-#undef INCOMPLETE_TYPES_BROKEN
/* Define "boolean" as unsigned char, not int, on Windows systems. */
#ifdef _WIN32
@@ -25,8 +29,6 @@ typedef unsigned char boolean;
#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
#endif
-#ifdef JPEG_INTERNALS
-
#undef RIGHT_SHIFT_IS_UNSIGNED
#undef INLINE
/* These are for configuring the JPEG memory manager. */