pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/lmarbles Import a patch from the package I had m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4a37b20ee3d7
branches: trunk
changeset: 492613:4a37b20ee3d7
user: cube <cube%pkgsrc.org@localhost>
date: Sat Apr 16 14:43:49 2005 +0000
description:
Import a patch from the package I had made for this in pkgsrc-wip. While
I really don't remember where I had found this patch, sanity-checking the
return value of a fopen can't be a bad thing. PKGREVISION++.
diffstat:
games/lmarbles/Makefile | 4 ++--
games/lmarbles/distinfo | 3 ++-
games/lmarbles/patches/patch-ab | 13 +++++++++++++
3 files changed, 17 insertions(+), 3 deletions(-)
diffs (42 lines):
diff -r eebf418a161c -r 4a37b20ee3d7 games/lmarbles/Makefile
--- a/games/lmarbles/Makefile Sat Apr 16 14:32:53 2005 +0000
+++ b/games/lmarbles/Makefile Sat Apr 16 14:43:49 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2005/04/11 21:45:51 tv Exp $
+# $NetBSD: Makefile,v 1.4 2005/04/16 14:43:49 cube Exp $
DISTNAME= lmarbles-1.0.7
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lgames/}
diff -r eebf418a161c -r 4a37b20ee3d7 games/lmarbles/distinfo
--- a/games/lmarbles/distinfo Sat Apr 16 14:32:53 2005 +0000
+++ b/games/lmarbles/distinfo Sat Apr 16 14:43:49 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 23:12:00 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/04/16 14:43:49 cube Exp $
SHA1 (lmarbles-1.0.7.tar.gz) = 25b0a635f53a3ab351247ac2820cbd6951d7050d
RMD160 (lmarbles-1.0.7.tar.gz) = 5fc90ff923848496b1fbce63473a22fcc716c345
Size (lmarbles-1.0.7.tar.gz) = 829635 bytes
SHA1 (patch-aa) = b453e75a29848a470275d06bc97e9fe09a12e1b8
+SHA1 (patch-ab) = ddd9a96c56b40d4b392b1091d5f537c97e845559
diff -r eebf418a161c -r 4a37b20ee3d7 games/lmarbles/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/lmarbles/patches/patch-ab Sat Apr 16 14:43:49 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/04/16 14:43:49 cube Exp $
+
+--- src/sdl.c.orig 2002-08-08 04:37:50.000000000 +0200
++++ src/sdl.c
+@@ -173,6 +173,8 @@ SFnt* SF_Ld(char *fname)
+
+ //table
+ file = fopen(path, "r");
++ if (file == NULL)
++ err(1, "SF_Ld: %s", path);
+ fseek(file, -1, SEEK_END);
+ fread(&fnt->off, 1, 1, file);
+ #ifdef DEBUG
Home |
Main Index |
Thread Index |
Old Index