revert-GifQuantizeBuffer-remove-from-lib.patch 880 B

123456789101112131415161718192021222324252627
  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).
  3. .
  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
  10. --- a/Makefile
  11. +++ b/Makefile
  12. @@ -29,11 +29,11 @@
  13. LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT)
  14. SOURCES = dgif_lib.c egif_lib.c gifalloc.c gif_err.c gif_font.c \
  15. - gif_hash.c openbsd-reallocarray.c
  16. + gif_hash.c openbsd-reallocarray.c quantize.c
  17. HEADERS = gif_hash.h gif_lib.h gif_lib_private.h
  18. OBJECTS = $(SOURCES:.c=.o)
  19. -USOURCES = qprintf.c quantize.c getarg.c
  20. +USOURCES = qprintf.c getarg.c
  21. UHEADERS = getarg.h
  22. UOBJECTS = $(USOURCES:.c=.o)