recipes: Preserve warnings flags appending the C flags in some (specific) recipes
[dragora.git] / patches / giflib / revert-GifQuantizeBuffer-remove-from-lib.patch
blobe8ed7b3a390f7c75b79edb4cef9cf62aa882e741
1 Description: Revert the remove of GifQuantizeBuffer symbol from the main lib.
2 It is needed for some applications (exactimage, mplayer-gui, mplayer, qutemol and xplanet).
4 This patch is temporary to allow switch to the new ABI, the change
5 is trivial, the symbol is moved to libutil, so the packages will
6 need to links against it.
7 Author: David Suárez <david.sephirot@gmail.com>
8 Origin: vendor
9 Last-Update: 2019-12-07
11 --- a/Makefile
12 +++ b/Makefile
13 @@ -29,11 +29,11 @@
14 LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT)
16 SOURCES = dgif_lib.c egif_lib.c gifalloc.c gif_err.c gif_font.c \
17 - gif_hash.c openbsd-reallocarray.c
18 + gif_hash.c openbsd-reallocarray.c quantize.c
19 HEADERS = gif_hash.h gif_lib.h gif_lib_private.h
20 OBJECTS = $(SOURCES:.c=.o)
22 -USOURCES = qprintf.c quantize.c getarg.c
23 +USOURCES = qprintf.c getarg.c
24 UHEADERS = getarg.h
25 UOBJECTS = $(USOURCES:.c=.o)