pkgsrc/graphics/SDL2_image/patches/patch-configure
wiz 2f8566ad2d Updated SDL2_image to 2.0.1.
Fix pkgconfig file name in override.

2.0.1:
Jeffrey Carpenter - Sat Nov 29 12:06:05 2014
 * Fixed image colorspace issue on iOS and Mac OS X
Sam Lantinga - Sun Jun 15 17:33:46 2014
 * Fixed support for transparency in XPM files
Davide Coppola - Thu Apr 17 17:30:12 2014
 * Fixed building JPEG support on Android
David Ludwig - Tue Apr 01 19:40:35 2014
 * Added support for building for Windows RT and Windows Phone
Timur - Wed Dec 11 21:24:36 2013
 * Fixed memory leak in webp image loading
Patrice Mandin - Thu Nov 07 19:15:28 2013
 * Fixed loading BMP files with large BITMAPINFOHEADER structures
Sam Lantinga - Fri Oct 11 21:54:20 2013
 * Fixed building with libpng 1.4
2016-05-05 11:12:14 +00:00

14 lines
542 B
Text

$NetBSD: patch-configure,v 1.2 2016/05/05 11:12:14 wiz Exp $
Add frameworks required to link under OS X.
--- configure.orig 2016-01-03 05:52:28.000000000 +0000
+++ configure
@@ -12024,6 +12024,7 @@ fi
if test x$enable_imageio = xyes; then
IMG_LIBS="-Wl,-framework,ApplicationServices -lobjc $IMG_LIBS"
+ IMG_LIBS="-Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,IOKit -Wl,-framework,ForceFeedback $IMG_LIBS"
else
CFLAGS="$CFLAGS -DSDL_IMAGE_USE_COMMON_BACKEND"
fi