Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
giflib
giflib-visibility.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File giflib-visibility.patch of Package giflib
--- lib/gif_lib_private.h.orig +++ lib/gif_lib_private.h @@ -30,6 +30,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). */ @@ -55,5 +57,5 @@ typedef struct GifFilePrivateType { } GifFilePrivateType; extern int _GifError; - +#pragma GCC visibility pop #endif /* _GIF_LIB_PRIVATE_H */ --- lib/getarg.h.orig +++ lib/getarg.h @@ -16,6 +16,8 @@ #define CMD_ERR_NumRead 4 /* Failed on reading number. */ #define CMD_ERR_AllSatis 5 /* Fail to satisfy (must-'!') option. */ +#pragma GCC visibility push(hidden) + #ifdef HAVE_STDARG_H int GAGetArgs(int argc, char **argv, char *CtrlStr, ...); #elif defined (HAVE_VARARGS_H) @@ -25,4 +27,5 @@ int GAGetArgs(int va_alist, ...); void GAPrintErrMsg(int Error); void GAPrintHowTo(char *CtrlStr); +#pragma GCC visibility pop #endif /* _GETARG_H */ --- lib/gif_hash.h.orig +++ lib/gif_hash.h @@ -47,6 +47,8 @@ #define HT_PUT_KEY(l) (l << 12) #define HT_PUT_CODE(l) (l & 0x0FFF) +#pragma GCC visibility push(hidden) + typedef struct GifHashTableType { UINT32 HTable[HT_SIZE]; } GifHashTableType; @@ -56,4 +58,6 @@ void _ClearHashTable(GifHashTableType *H void _InsertHashTable(GifHashTableType *HashTable, UINT32 Key, int Code); int _ExistsHashTable(GifHashTableType *HashTable, UINT32 Key); +#pragma GCC visibility pop + #endif /* _GIF_HASH_H_ */ --- Makefile.am.orig +++ Makefile.am @@ -1,3 +1,4 @@ +ACLOCAL_AMFLAGS = -I m4 SUBDIRS = lib util doc pic WINDOWS = $(top_srcdir)/windows/GifWin.cpp \ $(top_srcdir)/windows/GifWin.h \ --- configure.ac.orig +++ configure.ac @@ -3,11 +3,14 @@ AC_INIT(giflib, [4.1.6], [abadger1999@so AC_CONFIG_SRCDIR([lib/dgif_lib.c]) AM_INIT_AUTOMAKE([gnu check-news dist-bzip2 -Wall]) 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 --- lib/Makefile.am.orig +++ lib/Makefile.am @@ -21,6 +21,6 @@ libgif_la_SOURCES = dev2gif.c \ quantize.c \ gif_lib_private.h -libgif_la_LDFLAGS = -version-info 5:6:1 +libgif_la_LDFLAGS = -no-undefined -version-info 5:6:1 libgif_la_LIBADD = @DEVS@ libgif_CFLAGS = $(X_CFLAGS) $(AM_CFLAGS)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor