diff options
Diffstat (limited to 'dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch')
-rw-r--r-- | dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch b/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch new file mode 100644 index 000000000000..dc272ed25ffe --- /dev/null +++ b/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch @@ -0,0 +1,27 @@ +zzip-config doesnt exist, so we need to use the .pc file + +--- SDL/Makefile.in ++++ SDL/Makefile.in +@@ -244,8 +244,8 @@ + sdl_DATA = SDL_rwops_zzip.c SDL_rwops_zzip.h + EXTRA_DIST = $(sdl_DATA) + zzcatsdl_SOURCES = SDL_rwops_zzcat.c +-zzcatsdl_LDFLAGS = `sdl-config --libs` `./zzip-config --libs` +-zzcatsdl_cflags = `sdl-config --cflags` `./zzip-config --cflags` ++zzcatsdl_LDFLAGS = `sdl-config --libs` `pkg-config ../zzip/zziplib.pc --libs` ++zzcatsdl_cflags = `sdl-config --cflags` `pkg-config ../zzip/zziplib.pc --cflags` + + ### if it wouldn't be for the zzip-config then we could write it like this + # zzcatsdl_SOURCES = SDL_rwops_zzcat.c SDL_rwops_zzip.c +@@ -544,9 +544,9 @@ + uninstall-sdlDATA + + +-SDL_rwops_zzip.$(OBJEXT) : zzip-config @srcdir@/SDL_rwops_zzip.c ++SDL_rwops_zzip.$(OBJEXT) : ../zzip/zziplib.pc @srcdir@/SDL_rwops_zzip.c + $(COMPILE) $(zzcatsdl_cflags) -c @srcdir@/SDL_rwops_zzip.c -o $@ +-SDL_rwops_zzcat.$(OBJEXT) : zzip-config @srcdir@/SDL_rwops_zzcat.c ++SDL_rwops_zzcat.$(OBJEXT) : ../zzip/zziplib.pc @srcdir@/SDL_rwops_zzcat.c + $(COMPILE) $(zzcatsdl_cflags) -c @srcdir@/SDL_rwops_zzcat.c -o $@ + zzcatsdl$(EXEEXT): SDL_rwops_zzip.$(OBJEXT) SDL_rwops_zzcat.$(OBJEXT) + $(LINK) SDL_rwops_zzip.$(OBJEXT) SDL_rwops_zzcat.$(OBJEXT) \ |