diff options
author | jmmv <jmmv> | 2005-06-14 17:32:36 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2005-06-14 17:32:36 +0000 |
commit | 635f9ee0ae3f44b07e13eee6b23ddd4eb9be7fe9 (patch) | |
tree | bb969779b677fc458dc501e8f8ef1231e8abada5 /games/xgalaga | |
parent | bcb3b87a6f72f39c6afca01764341efa7e2bd850 (diff) | |
download | pkgsrc-635f9ee0ae3f44b07e13eee6b23ddd4eb9be7fe9.tar.gz |
Fix build under Linux by removing local strdup(3) prototype and by using
LIBOSSAUDIO instead of hardcoding -lossaudio. Closes PR pkg/29492 by
A L Meyers.
Diffstat (limited to 'games/xgalaga')
-rw-r--r-- | games/xgalaga/Makefile | 3 | ||||
-rw-r--r-- | games/xgalaga/distinfo | 5 | ||||
-rw-r--r-- | games/xgalaga/patches/patch-aa | 4 | ||||
-rw-r--r-- | games/xgalaga/patches/patch-ad | 12 |
4 files changed, 19 insertions, 5 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile index 445a9f9c77c..8b35b0056d2 100644 --- a/games/xgalaga/Makefile +++ b/games/xgalaga/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2005/06/01 18:02:53 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2005/06/14 17:32:36 jmmv Exp $ DISTNAME= xgalaga-2.0.34 PKGREVISION= 2 @@ -20,4 +20,5 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/xgalaga/README .include "../../graphics/xpm/buildlink3.mk" +.include "../../mk/ossaudio.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/xgalaga/distinfo b/games/xgalaga/distinfo index a26e145f134..c3962305a4a 100644 --- a/games/xgalaga/distinfo +++ b/games/xgalaga/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.6 2005/02/23 23:12:04 agc Exp $ +$NetBSD: distinfo,v 1.7 2005/06/14 17:32:37 jmmv Exp $ SHA1 (xgalaga-2.0.34.tar.gz) = 82dcb328af0d9e779c566f4225d7f072b1c17b7d RMD160 (xgalaga-2.0.34.tar.gz) = bf2cc91820c1cdb8e02bd35347b309cac27b3ba4 Size (xgalaga-2.0.34.tar.gz) = 314189 bytes -SHA1 (patch-aa) = 886d7c372e0b477f062402e5e919d32645c7deb2 +SHA1 (patch-aa) = 5c3bafdb21f2edbabb5efc6341f41d4b5c6318cb SHA1 (patch-ab) = 4131368cb7481ee20a753e0b45bd9560b157cf6f SHA1 (patch-ac) = ca85bafaa637fc03d1c53a527c7804a95c146fe3 +SHA1 (patch-ad) = 22b946b261c4d0969e48bf5de1ba0d55c3649bb8 diff --git a/games/xgalaga/patches/patch-aa b/games/xgalaga/patches/patch-aa index a910909d7f8..c7276748f59 100644 --- a/games/xgalaga/patches/patch-aa +++ b/games/xgalaga/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.3 2001/09/08 00:09:10 hubertf Exp $ +$NetBSD: patch-aa,v 1.4 2005/06/14 17:32:37 jmmv Exp $ --- Makefile.in.orig Mon May 11 08:52:59 1998 +++ Makefile.in @@ -16,7 +16,7 @@ $NetBSD: patch-aa,v 1.3 2001/09/08 00:09:10 hubertf Exp $ $(SOUNDSRV): $(SOUNDOBJS) - $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS) -+ $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS) -lossaudio ++ $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS) $(LIBOSSAUDIO) install: all ./mkinstalldirs $(bindir) diff --git a/games/xgalaga/patches/patch-ad b/games/xgalaga/patches/patch-ad new file mode 100644 index 00000000000..9b86481fb21 --- /dev/null +++ b/games/xgalaga/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1 2005/06/14 17:32:37 jmmv Exp $ + +--- libsprite/data.c.orig 1998-04-12 08:03:22.000000000 +0200 ++++ libsprite/data.c +@@ -79,7 +79,6 @@ W_Font W_HighlightFont = (W_Font) & two + W_Color W_White = WHITE, W_Black = BLACK, W_Red = RED, W_Green = GREEN; + W_Color W_Yellow = YELLOW, W_Cyan = CYAN, W_Grey = LIGHT_GREY, W_DarkGrey = DARK_GREY; + int W_Textwidth, W_Textheight, W_BigTextwidth, W_BigTextheight; +-char *strdup(); + + int W_in_message = 0; /* jfy -- for Jerry's warp message hack */ + |