openbsd-ports/graphics/imlib2/patches/patch-loaders_Makefile_in
brad e264d12b1e upgrade to imlib2 1.1.2
Marcus Meissner discovered that imlib's BMP decoder would crash
when loading the test BMP file created by Chris Evans for testing
a previous Qt vulnerability. It is believed that this bug could
be exploited for arbitrary code execution.

also some port fixes, added missing dependencies, etc.
2004-09-21 22:40:36 +00:00

37 lines
1.8 KiB
Plaintext

$OpenBSD: patch-loaders_Makefile_in,v 1.1 2004/09/21 22:40:36 brad Exp $
--- loaders/Makefile.in.orig Mon Aug 30 23:23:11 2004
+++ loaders/Makefile.in Sun Sep 19 05:26:22 2004
@@ -131,19 +131,19 @@ pkg_LTLIBRARIES = $(JPEG_L) $(PNG_L) $(
jpeg_la_SOURCES = loader_jpeg.c
-jpeg_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs
+jpeg_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs @LDFLAGS@
jpeg_la_LIBADD = @JPEGLIBS@ -lImlib2
png_la_SOURCES = loader_png.c
-png_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs
+png_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs @LDFLAGS@
png_la_LIBADD = @PNGLIBS@ -lImlib2
tiff_la_SOURCES = loader_tiff.c
-tiff_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs
+tiff_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs @LDFLAGS@
tiff_la_LIBADD = @TIFFLIBS@ -lImlib2
gif_la_SOURCES = loader_gif.c
-gif_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs
+gif_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs @LDFLAGS@
gif_la_LIBADD = @GIFLIBS@ -lImlib2
pnm_la_SOURCES = loader_pnm.c
@@ -171,7 +171,7 @@ zlib_la_LDFLAGS = -no-undefined -module
zlib_la_LIBADD = @ZLIBLIBS@ -lImlib2
bz2_la_SOURCES = loader_bz2.c
-bz2_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs
+bz2_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src -L$(top_builddir)/src/.libs @LDFLAGS@
bz2_la_LIBADD = @BZ2LIBS@ -lImlib2
lbm_la_SOURCES = loader_lbm.c