diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 11:34:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 11:34:28 +0000 |
commit | 53bd48198940c3f530afd997f3ce5856561b49ef (patch) | |
tree | 3e1819efa96986b8fd3116c3aceae2a8af42d9ac | |
parent | 0a8b0e9e91ce4c4e059cd76e9682e2796499af16 (diff) | |
download | ports-53bd48198940c3f530afd997f3ce5856561b49ef.tar.gz ports-53bd48198940c3f530afd997f3ce5856561b49ef.zip |
Notes
-rw-r--r-- | games/ezquake/Makefile | 3 | ||||
-rw-r--r-- | games/vultures-claw/Makefile | 3 | ||||
-rw-r--r-- | games/vultures-eye/Makefile | 5 | ||||
-rw-r--r-- | games/xmoto/Makefile | 4 |
4 files changed, 14 insertions, 1 deletions
diff --git a/games/ezquake/Makefile b/games/ezquake/Makefile index 47996de73191..0d9d043fef2e 100644 --- a/games/ezquake/Makefile +++ b/games/ezquake/Makefile @@ -81,8 +81,9 @@ do-extract: post-patch: @${REINPLACE_CMD} -e 's|libtcl\.so|libtcl${TCL_VER:S/.//}|' \ ${WRKSRC}/embed_tcl.h -# Resolve name collision with jpeg-8 +# Resolve name collision with jpeg-8 and API png ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ + -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${WRKSRC}/image.c do-install: diff --git a/games/vultures-claw/Makefile b/games/vultures-claw/Makefile index c86f85e01b32..df12ad2f2913 100644 --- a/games/vultures-claw/Makefile +++ b/games/vultures-claw/Makefile @@ -39,5 +39,8 @@ post-configure: @${REINPLACE_CMD} -e \ 's|#include <SDL_image.h>||g' \ ${WRKSRC}/win/vultures/vultures_gfl.c + @${REINPLACE_CMD} -e \ + 's|png_infopp_NULL|NULL|g' \ + ${WRKSRC}/win/vultures/util/tiletrans.c .include <bsd.port.mk> diff --git a/games/vultures-eye/Makefile b/games/vultures-eye/Makefile index 21b2296622da..64a4337df521 100644 --- a/games/vultures-eye/Makefile +++ b/games/vultures-eye/Makefile @@ -31,6 +31,11 @@ DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} MAKE_ENV+= DATADIR="${DATADIR}" MAKE="${GMAKE}" MAKE_JOBS_UNSAFE= yes +post-patch: + @${REINPLACE_CMD} -e \ + 's|png_infopp_NULL|NULL|g' \ + ${WRKSRC}/win/vultures/util/tiletrans.c + pre-configure: @${CHMOD} 755 ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile index 4359002f0a33..8fb5d0e0ec87 100644 --- a/games/xmoto/Makefile +++ b/games/xmoto/Makefile @@ -68,6 +68,10 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif +post-patch: + ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ + ${WRKSRC}/src/image/tim_png.cpp + .if !defined(NOPORTDOCS) post-install: ${MKDIR} ${DOCSDIR} |