diff options
author | danfe <danfe@FreeBSD.org> | 2007-07-03 19:41:35 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-07-03 19:41:35 +0800 |
commit | b31c6eacf0f44dcf7ed5b847958f8c6279f6f7d5 (patch) | |
tree | 5fbe2ce3b7eeba8375a08cede1ccdf62db6f3b2b | |
parent | 947b7ea66910e3da882ea2c7a23bc865dc9de581 (diff) | |
download | freebsd-ports-gnome-b31c6eacf0f44dcf7ed5b847958f8c6279f6f7d5.tar.gz freebsd-ports-gnome-b31c6eacf0f44dcf7ed5b847958f8c6279f6f7d5.tar.zst freebsd-ports-gnome-b31c6eacf0f44dcf7ed5b847958f8c6279f6f7d5.zip |
- Fix the build with GCC 4.2 [1]
- Replace USE_X_PREFIX with USE_XLIB
Reported by: pointyhat via pav [1]
-rw-r--r-- | games/yadex/Makefile | 2 | ||||
-rw-r--r-- | games/yadex/files/patch-wadlist.cc | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/games/yadex/Makefile b/games/yadex/Makefile index ea4fb5437010..7273fb7f008c 100644 --- a/games/yadex/Makefile +++ b/games/yadex/Makefile @@ -16,7 +16,7 @@ DIST_SUBDIR= ${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= A WAD-file editor, for games like Doom and Hexen -USE_X_PREFIX= yes +USE_XLIB= yes USE_GMAKE= yes USE_PERL5_BUILD= yes MAKEFILE= GNUmakefile diff --git a/games/yadex/files/patch-wadlist.cc b/games/yadex/files/patch-wadlist.cc new file mode 100644 index 000000000000..be81ddacb3ba --- /dev/null +++ b/games/yadex/files/patch-wadlist.cc @@ -0,0 +1,12 @@ +--- src/wadlist.cc.orig Fri Mar 28 18:37:32 2003 ++++ src/wadlist.cc Tue Jul 3 18:35:21 2007 +@@ -175,7 +175,8 @@ + priv->iter = priv->list.erase (i); + if (priv->iter == priv->list.begin ()) + { +- priv->iter = 0; // Catch bugs ++ list_t::iterator empty; ++ priv->iter = empty; // Catch bugs + priv->rewound = true; + } + } |