From 0753bb40540d5f1754ddd508614b3b606e10bd93 Mon Sep 17 00:00:00 2001 From: LucĂ­a Andrea Illanes Albornoz Date: Mar 27 2023 05:15:12 +0000 Subject: patches/libpng-1.6.39.local.patch: build w/ $(CFLAGS). --- diff --git a/patches/libpng-1.6.39.local.patch b/patches/libpng-1.6.39.local.patch new file mode 100644 index 0000000..008d2ce --- /dev/null +++ b/patches/libpng-1.6.39.local.patch @@ -0,0 +1,11 @@ +--- libpng-1.6.39/Makefile.in.orig 2022-11-20 22:53:23.000000000 +0100 ++++ libpng-1.6.39/Makefile.in 2023-03-27 07:06:20.935851632 +0200 +@@ -2317,7 +2317,7 @@ + rm -f $@ $*.tf[12] + test -d scripts || mkdir scripts || test -d scripts + $(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\ +- $(CPPFLAGS) $(SYMBOL_CFLAGS) $< > $*.tf1 ++ $(CFLAGS) $(CPPFLAGS) $(SYMBOL_CFLAGS) $< > $*.tf1 + $(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2 + rm -f $*.tf1 + mv $*.tf2 $@