openbsd-ports/devel/sdl-image/patches/patch-Makefile_in
obecian ba288d1d99 sdl-image-1.2.0 import
This is a simple library to load images of various formats as SDL
surfaces.  This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA,
and TIFF formats.

API:
#include "SDL_image.h"

        SDL_Surface *IMG_Load(const char *file);
or
        SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc);
or
        SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc, char
*type);

where type is a string specifying the format (i.e. "PNG" or "pcx").
Note that IMG_Load_RW cannot load TGA images.

An example program 'showimage' is included, with source in showimage.c
2001-05-07 04:08:40 +00:00

12 lines
475 B
Plaintext

--- Makefile.in.orig Sun May 6 15:23:37 2001
+++ Makefile.in Sun May 6 15:28:08 2001
@@ -98,7 +98,7 @@ libSDL_image_la_SOURCES = IMG.c IMG
EXTRA_DIST = CHANGES VisualC.zip MPWmake.sea.bin IMG_xxx.c autogen.sh
-libSDL_image_la_LDFLAGS = -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+libSDL_image_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_image_la_LIBADD = @IMG_LIBS@