diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-19 19:36:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-19 19:36:17 +0000 |
commit | f175bc7f58eb2310ba961c0c5c4b56b92b41a9f6 (patch) | |
tree | 919bf38c3d79d946754f264d46ea28b3e7b8630d /dev-libs/zziplib/files | |
parent | Add mail-filter/amavisd-new:courier (diff) | |
download | historical-f175bc7f58eb2310ba961c0c5c4b56b92b41a9f6.tar.gz historical-f175bc7f58eb2310ba961c0c5c4b56b92b41a9f6.tar.bz2 historical-f175bc7f58eb2310ba961c0c5c4b56b92b41a9f6.zip |
Fix `make check`.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'dev-libs/zziplib/files')
-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) \ |