view src/msvc-libgd-1.patch @ 5579:2734b3818171

Avoid double-free with librsb (bug #58957). * src/librsb.mk: Add work-around to avoid double-free (provided by Michele Martone). * src/mingw-of-sparsersb-1-no-render.patch: Remove patch. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 02 Nov 2020 08:55:18 +0100
parents 4cc36e7d6ff5
children
line wrap: on
line source

diff -ur libgd-2.1.0-orig/src/Makefile.am libgd-2.1.0/src/Makefile.am
--- libgd-2.1.0-orig/src/Makefile.am	2013-06-25 05:58:23 -0400
+++ libgd-2.1.0/src/Makefile.am	2013-07-14 16:16:20 -0400
@@ -50,7 +50,7 @@
                    gd_tga.c gd_tga.h gd_bmp.c bmp.h gd_color.h gd_nnquant.h gd_tga.h gd_intern.h gd_io_stream.h gd_xbm.c \
 		   gd_color_match.c
 
-libgd_la_LDFLAGS = -version-info $(GDLIB_CURRENT):$(GDLIB_REVISION):$(GDLIB_AGE) -no-undefined
+libgd_la_LDFLAGS = -version-info $(GDLIB_CURRENT):$(GDLIB_REVISION):$(GDLIB_AGE) -no-undefined -export-symbols-regex "xXx"
 
 libgd_la_LIBADD = $(LTLIBICONV)