Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/games
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1731
Modified Files:
moria.info moria.patch
Log Message:
fix clang compilation error
Index: moria.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/games/moria.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- moria.info 30 Jul 2011 10:38:57 -0000 1.1
+++ moria.info 14 Sep 2013 22:13:37 -0000 1.2
@@ -1,10 +1,11 @@
Package: moria
Version: 5.5.2
-Revision: 5
-BuildDepends: fink (>= 0.24.12), libncurses5
-Depends: libncurses5-shlibs, passwd-games
+Revision: 6
+Description: Terminal-based dungeon exploration game
License: GPL
Maintainer: None <[email protected]>
+Depends: libncurses5-shlibs, passwd-games
+BuildDepends: libncurses5
Source: mirror:custom:source/um%v.tar.Z
SourceDirectory: umoria
Source-MD5: 04a2852864302c702e82992023d97184
@@ -15,7 +16,7 @@
oce-AU: http://www.planetmirror.com/pub/roguelike/moria/
<<
PatchFile: %n.patch
-PatchFile-MD5: c280bb37b18abd5277e83584abdb372f
+PatchFile-MD5: 1851db8ff5c1e093d64b0fc46e582abb
PatchScript: <<
sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
cp -Rp unix/* source/
@@ -46,7 +47,6 @@
/usr/sbin/chown games %p/bin/moria
<<
ConfFiles: %p/var/games/%n/files/scores
-Description: Terminal-based dungeon exploration game
DescDetail: <<
Moria is a "graphical" dungeon adventure game using textual characters
to represent the walls and floors of a dungeon and the inhabitants therein,
@@ -54,6 +54,8 @@
<<
DescPort: <<
Add lots of missing #include. Don't define things that exist in the system.
+
+ signals.c: must return a value
<<
Homepage: http://www.piratehaven.org/~beej/moria/
DescPackaging: Previously maintained by James Gibbs.
Index: moria.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/games/moria.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- moria.patch 30 Jul 2011 10:38:57 -0000 1.1
+++ moria.patch 14 Sep 2013 22:13:37 -0000 1.2
@@ -88,3 +88,24 @@
#include <stdio.h>
#ifndef STDIO_LOADED
#define STDIO_LOADED
+diff -Nurd -x'*~' umoria.orig/source/signals.c umoria/source/signals.c
+--- umoria.orig/source/signals.c 1994-07-21 21:47:42.000000000 -0400
++++ umoria/source/signals.c 2013-09-14 18:04:36.000000000 -0400
+@@ -114,7 +114,7 @@
+ {
+ if(++signal_count > 10) /* Be safe. We will die if persistent enough. */
+ (void) signal(sig, SIG_DFL);
+- return;
++ return 0;
+ }
+ error_sig = sig;
+
+@@ -145,7 +145,7 @@
+ if (wait_for_more)
+ put_buffer(" -more-", MSG_LINE, 0);
+ put_qio();
+- return; /* OK. We don't quit. */
++ return 0; /* OK. We don't quit. */
+ }
+ (void) strcpy(died_from, "Interrupting");
+ }
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs