--- /dev/null
+diff -ruN SDL_image/Makefile.am SDL_image_new/Makefile.am
+--- SDL_image/Makefile.am 2007-07-21 07:26:34.000000000 +0200
++++ SDL_image_new/Makefile.am 2007-08-04 12:08:51.000000000 +0200
+@@ -44,7 +44,6 @@
+ else
+ libSDL_image_la_LDFLAGS = \
+ -no-undefined \
+- -release $(LT_RELEASE) \
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ libSDL_image_la_LIBADD = $(IMG_LIBS)
+ endif
+diff -ruN SDL_image/Makefile.in SDL_image_new/Makefile.in
+--- SDL_image/Makefile.in 2007-07-21 07:27:57.000000000 +0200
++++ SDL_image_new/Makefile.in 2007-08-04 12:12:00.000000000 +0200
+@@ -260,12 +260,10 @@
+
+ @USE_VERSION_RC_FALSE@libSDL_image_la_LDFLAGS = \
+ @USE_VERSION_RC_FALSE@ -no-undefined \
+-@USE_VERSION_RC_FALSE@ -release $(LT_RELEASE) \
+ @USE_VERSION_RC_FALSE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
+ @USE_VERSION_RC_TRUE@libSDL_image_la_LDFLAGS = \
+ @USE_VERSION_RC_TRUE@ -no-undefined \
+-@USE_VERSION_RC_TRUE@ -release $(LT_RELEASE) \
+ @USE_VERSION_RC_TRUE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o
+
+ @USE_VERSION_RC_FALSE@libSDL_image_la_LIBADD = $(IMG_LIBS)
--- /dev/null
+# SDL_image
+
+SDL_IMAGE_VERSION := 1.2.10
+SDL_IMAGE_URL := http://www.libsdl.org/projects/SDL_image/release/SDL_image-$(SDL_IMAGE_VERSION).tar.gz
+
+PKGS += SDL_image
+ifeq ($(call need_pkg,"SDL_image"),)
+PKGS_FOUND += SDL_image
+endif
+
+$(TARBALLS)/SDL_image-$(SDL_IMAGE_VERSION).tar.gz:
+ $(call download,$(SDL_IMAGE_URL))
+
+.sum-SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz
+
+SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image
+ $(UNPACK)
+ $(APPLY) $(SRC)/SDL_image/SDL_image.patch
+ $(MOVE)
+
+.SDL_image: SDL_image .png .jpeg .sdl
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-tif --disable-sdltest
+ cd $< && $(MAKE) install
+ touch $@