giflib-5.1.9-fix-missing-quantize-API-symbols.patch 920 B

123456789101112131415161718192021222324252627282930313233
  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. GifQuantizeBuffer is required by many libs and applications
  6. like mplayer, libgdiplus (mono) and others.
  7. ---
  8. Makefile | 4 ++--
  9. 1 file changed, 2 insertions(+), 2 deletions(-)
  10. diff --git a/Makefile b/Makefile
  11. index e4ded69..17d0a5c 100644
  12. --- a/Makefile
  13. +++ b/Makefile
  14. @@ -29,11 +29,11 @@ LIBPOINT=0
  15. 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)
  21. -USOURCES = qprintf.c quantize.c getarg.c
  22. +USOURCES = qprintf.c getarg.c
  23. UHEADERS = getarg.h
  24. UOBJECTS = $(USOURCES:.c=.o)
  25. --
  26. 2.21.0