forked from pool/giflib
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=35
60 lines
1.8 KiB
Diff
60 lines
1.8 KiB
Diff
--- giflib-5.1.2/configure.ac 2016-01-07 13:51:33.000000000 +0100
|
|
+++ giflib-5.1.2/configure.ac 2016-01-19 13:54:45.119812921 +0100
|
|
@@ -9,12 +9,15 @@
|
|
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
|
|
AM_CONFIG_HEADER(config.h)
|
|
+AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
dnl Checks for programs.
|
|
AM_PROG_AR
|
|
-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
|
|
--- giflib-5.1.2/lib/gif_hash.h 2014-05-16 12:46:53.000000000 +0200
|
|
+++ giflib-5.1.2/lib/gif_hash.h 2016-01-19 13:54:45.119812921 +0100
|
|
@@ -25,6 +25,8 @@
|
|
#define HT_PUT_KEY(l) (l << 12)
|
|
#define HT_PUT_CODE(l) (l & 0x0FFF)
|
|
|
|
+#pragma GCC visibility push(hidden)
|
|
+
|
|
typedef struct GifHashTableType {
|
|
uint32_t HTable[HT_SIZE];
|
|
} GifHashTableType;
|
|
@@ -34,6 +36,8 @@
|
|
void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code);
|
|
int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key);
|
|
|
|
+#pragma GCC visibility pop
|
|
+
|
|
#endif /* _GIF_HASH_H_ */
|
|
|
|
/* end */
|
|
--- giflib-5.1.2/lib/gif_lib_private.h 2014-05-16 12:46:53.000000000 +0200
|
|
+++ giflib-5.1.2/lib/gif_lib_private.h 2016-01-19 13:54:45.119812921 +0100
|
|
@@ -29,6 +29,8 @@
|
|
#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). */
|
|
@@ -54,6 +56,7 @@
|
|
bool gif89;
|
|
} GifFilePrivateType;
|
|
|
|
+#pragma GCC visibility pop
|
|
#endif /* _GIF_LIB_PRIVATE_H */
|
|
|
|
/* end */
|