2011-10-10 17:02:28 +02:00
|
|
|
--- lib/gif_lib_private.h.orig
|
|
|
|
+++ lib/gif_lib_private.h
|
2013-03-12 12:56:42 +01:00
|
|
|
@@ -29,6 +29,8 @@ gif_lib_private.h - internal giflib rout
|
2011-10-10 17:02:28 +02:00
|
|
|
#define IS_READABLE(Private) (Private->FileState & FILE_STATE_READ)
|
|
|
|
#define IS_WRITEABLE(Private) (Private->FileState & FILE_STATE_WRITE)
|
|
|
|
|
|
|
|
+#pragma GCC visibility push(hidden)
|
|
|
|
+
|
|
|
|
typedef struct GifFilePrivateType {
|
|
|
|
GifWord FileState, FileHandle, /* Where all this data goes to! */
|
|
|
|
BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */
|
2013-03-12 12:56:42 +01:00
|
|
|
@@ -54,6 +56,7 @@ typedef struct GifFilePrivateType {
|
|
|
|
bool gif89;
|
2011-10-10 17:02:28 +02:00
|
|
|
} GifFilePrivateType;
|
|
|
|
|
|
|
|
+#pragma GCC visibility pop
|
|
|
|
#endif /* _GIF_LIB_PRIVATE_H */
|
|
|
|
|
2013-03-12 12:56:42 +01:00
|
|
|
/* end */
|
2011-10-10 17:02:28 +02:00
|
|
|
--- lib/gif_hash.h.orig
|
|
|
|
+++ lib/gif_hash.h
|
2013-03-12 12:56:42 +01:00
|
|
|
@@ -25,6 +25,8 @@ gif_hash.h - magfic constants and declar
|
2011-10-10 17:02:28 +02:00
|
|
|
#define HT_PUT_KEY(l) (l << 12)
|
|
|
|
#define HT_PUT_CODE(l) (l & 0x0FFF)
|
|
|
|
|
|
|
|
+#pragma GCC visibility push(hidden)
|
|
|
|
+
|
|
|
|
typedef struct GifHashTableType {
|
2013-03-12 12:56:42 +01:00
|
|
|
uint32_t HTable[HT_SIZE];
|
2011-10-10 17:02:28 +02:00
|
|
|
} GifHashTableType;
|
2013-03-12 12:56:42 +01:00
|
|
|
@@ -34,6 +36,8 @@ void _ClearHashTable(GifHashTableType *H
|
|
|
|
void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code);
|
|
|
|
int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key);
|
2011-10-10 17:02:28 +02:00
|
|
|
|
|
|
|
+#pragma GCC visibility pop
|
|
|
|
+
|
|
|
|
#endif /* _GIF_HASH_H_ */
|
2013-03-12 12:56:42 +01:00
|
|
|
|
|
|
|
/* end */
|
2011-10-10 17:02:28 +02:00
|
|
|
--- configure.ac.orig
|
|
|
|
+++ configure.ac
|
2013-03-12 12:56:42 +01:00
|
|
|
@@ -8,11 +8,14 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_R
|
|
|
|
dnl Note: config.h is not used in the current build
|
|
|
|
dnl We leave this in place only to suppress an error message at autogen time
|
2011-10-10 17:02:28 +02:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
+AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
-AC_PROG_LIBTOOL
|
|
|
|
-AC_PROG_CC
|
|
|
|
+AC_PROG_CC_STDC
|
|
|
|
+AC_USE_SYSTEM_EXTENSIONS
|
|
|
|
+AC_SYS_LARGEFILE
|
|
|
|
AC_PROG_CPP
|
|
|
|
+LT_INIT([pic-only disable-static])
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_LN_S
|
|
|
|
AC_PROG_MAKE_SET
|