Magellan Linux

Contents of /trunk/giflib/patches/giflib-5.1.9-fix-missing-quantize-API-symbols.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3541 - (show annotations) (download)
Thu Jul 9 13:26:33 2020 UTC (3 years, 10 months ago) by niro
File size: 920 byte(s)
-5.1.9 fixes
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
5
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(-)
11
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)
18
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)
24
25 -USOURCES = qprintf.c quantize.c getarg.c
26 +USOURCES = qprintf.c getarg.c
27 UHEADERS = getarg.h
28 UOBJECTS = $(USOURCES:.c=.o)
29
30 --
31 2.21.0
32