---- giflib-5.1.9/Makefile.orig	2019-06-10 11:06:10.797407400 +0300
-+++ giflib-5.1.9/Makefile	2019-06-10 11:10:11.917745000 +0300
-@@ -62,27 +62,25 @@
+diff -aur giflib-5.2.1.orig/Makefile giflib-5.2.1/Makefile
+--- giflib-5.2.1.orig/Makefile	2019-06-24 12:08:57.000000000 -0400
++++ giflib-5.2.1/Makefile	2021-04-27 19:32:14.483330500 -0400
+@@ -8,7 +8,7 @@
+ #
+ OFLAGS = -O0 -g
+ OFLAGS  = -O2
+-CFLAGS  = -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS)
++CFLAGS  = -std=gnu99 -Wall -Wno-format-truncation $(OFLAGS)
+ 
+ SHELL = /bin/sh
+ TAR = tar
+@@ -61,27 +61,25 @@
  
  LDLIBS=libgif.a -lm
  

 	rm -fr doc/*.1 *.html doc/staging
 
 check: all
@@ -100,9 +98,8 @@
 install-lib:
 	$(INSTALL) -d "$(DESTDIR)$(LIBDIR)"
 	$(INSTALL) -m 644 libgif.a "$(DESTDIR)$(LIBDIR)/libgif.a"

 install-man:
 	$(INSTALL) -d "$(DESTDIR)$(MANDIR)/man1"
 	$(INSTALL) -m 644 doc/*.1 "$(DESTDIR)$(MANDIR)/man1"
@@ -112,7 +109,7 @@
 	rm -f "$(DESTDIR)$(INCDIR)/gif_lib.h"
 uninstall-lib:
 	cd "$(DESTDIR)$(LIBDIR)" && \
