diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 12:50:08 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 12:50:08 +0000 |
commit | c2da4593c611b6120d624176864703a9fc5b4ee2 (patch) | |
tree | 9578c5eb92a43de411f539983c2e60726f5dec48 /games/gnubg | |
parent | ccbaddd677ef113f1b5e3ff38acfd0d1ca97f75e (diff) |
Notes
Diffstat (limited to 'games/gnubg')
-rw-r--r-- | games/gnubg/Makefile | 3 | ||||
-rw-r--r-- | games/gnubg/files/patch-export.c | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile index a6130ece8dab..4204fb76ab76 100644 --- a/games/gnubg/Makefile +++ b/games/gnubg/Makefile @@ -72,6 +72,9 @@ LDFLAGS= -L${LOCALBASE}/lib post-extract: ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_ts0.bd.gz > ${WRKSRC}/gnubg_ts0.bd +post-patch: + ${REINPLACE_CMD} -e 's|libpng12|libpng14|g' ${WRKSRC}/configure.in + pre-configure: cd ${WRKSRC} && ./autogen.sh diff --git a/games/gnubg/files/patch-export.c b/games/gnubg/files/patch-export.c new file mode 100644 index 000000000000..47459b17a469 --- /dev/null +++ b/games/gnubg/files/patch-export.c @@ -0,0 +1,13 @@ +--- export.c.orig 2007-05-24 07:20:04.000000000 +0200 ++++ export.c 2010-03-30 14:44:05.000000000 +0200 +@@ -116,8 +116,8 @@ + atext[1].compression = PNG_TEXT_COMPRESSION_NONE; + + #ifdef PNG_iTXt_SUPPORTED +- text_ptr[0].lang = NULL; +- text_ptr[1].lang = NULL; ++// text_ptr[0].lang = NULL; ++// text_ptr[1].lang = NULL; + #endif + png_set_text (ppng, pinfo, atext, 2); + |