comparison src/librsb.mk @ 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 90e3f78b2304
children 2db7f803d55d
comparison
equal deleted inserted replaced
5578:deca3045c118 5579:2734b3818171
18 $(SED) -n 's|.*librsb-\([0-9\.]*[-rc0-9]*\)\.tar.gz\/download.*|\1|p' | \ 18 $(SED) -n 's|.*librsb-\([0-9\.]*[-rc0-9]*\)\.tar.gz\/download.*|\1|p' | \
19 head -1 19 head -1
20 endef 20 endef
21 21
22 define $(PKG)_BUILD 22 define $(PKG)_BUILD
23 # This is a work-around for a bug in version 1.2.0.9.
24 # Remove the following command once this is fixed upstream.
25 $(SED) -i 's/.A.=.rsb__real.*\([,;]\)/1\1/g' $(1)/rsb_eps.c
26
23 cd '$(1)' && autoreconf -fi && ./configure \ 27 cd '$(1)' && autoreconf -fi && ./configure \
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
25 --prefix='$(HOST_PREFIX)' \ 29 --prefix='$(HOST_PREFIX)' \
26 $(ENABLE_SHARED_OR_STATIC) \ 30 $(ENABLE_SHARED_OR_STATIC) \
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ 31 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \