archrelease: copy trunk to extra-x86_64
[arch-packages.git] / giflib / trunk / giflib-5.1.9-fix-missing-quantize-API-symbols.patch
blob5948f45468580fc1b277962f9aefd51d2953b011
1 From ff8d9a59e79b79657e64430730c35835a84db619 Mon Sep 17 00:00:00 2001
2 From: anthraxx <levente@leventepolyak.net>
3 Date: Tue, 2 Apr 2019 11:46:18 +0200
4 Subject: [PATCH] fix missing quantize API symbols
6 GifQuantizeBuffer is required by many libs and applications
7 like mplayer, libgdiplus (mono) and others.
8 ---
9 Makefile | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
12 diff --git a/Makefile b/Makefile
13 index e4ded69..17d0a5c 100644
14 --- a/Makefile
15 +++ b/Makefile
16 @@ -29,11 +29,11 @@ LIBPOINT=0
17 LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT)
19 SOURCES = dgif_lib.c egif_lib.c gifalloc.c gif_err.c gif_font.c \
20 - gif_hash.c openbsd-reallocarray.c
21 + gif_hash.c openbsd-reallocarray.c quantize.c
22 HEADERS = gif_hash.h gif_lib.h gif_lib_private.h
23 OBJECTS = $(SOURCES:.c=.o)
25 -USOURCES = qprintf.c quantize.c getarg.c
26 +USOURCES = qprintf.c getarg.c
27 UHEADERS = getarg.h
28 UOBJECTS = $(USOURCES:.c=.o)
30 --
31 2.21.0