summaryrefslogtreecommitdiff
path: root/games/falcons-eye
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-12-15 11:50:48 +0000
committermarino <marino@pkgsrc.org>2012-12-15 11:50:48 +0000
commit3cd072de54d75216d08dd16d4c36173b08801dbf (patch)
treea455737035bb91bcd889ca23c371a6e5a17a41f5 /games/falcons-eye
parent49b2c62cf8a35d19d14aa81816f283ee805d878f (diff)
downloadpkgsrc-3cd072de54d75216d08dd16d4c36173b08801dbf.tar.gz
games/falcons-eye: fix patch corruption
Joerg's patch was duplicated, so it tried to apply twice. It also caused two entries in distinfo.
Diffstat (limited to 'games/falcons-eye')
-rw-r--r--games/falcons-eye/distinfo3
-rw-r--r--games/falcons-eye/patches/patch-win_jtp_winjtp.c29
2 files changed, 2 insertions, 30 deletions
diff --git a/games/falcons-eye/distinfo b/games/falcons-eye/distinfo
index 96f2f510692..e3230b1e8c1 100644
--- a/games/falcons-eye/distinfo
+++ b/games/falcons-eye/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2012/11/19 23:22:07 joerg Exp $
+$NetBSD: distinfo,v 1.19 2012/12/15 11:50:48 marino Exp $
SHA1 (falcons-eye-1.9.3-20050216-2/nethack_source_331_jtp_193.zip) = f25a3b77925d247762d18b6f022500aac7c42b29
RMD160 (falcons-eye-1.9.3-20050216-2/nethack_source_331_jtp_193.zip) = a94c3bbdec7a0c034acbe431071342b872c7acc5
@@ -24,4 +24,3 @@ SHA1 (patch-bi) = 6b3d0d1eca3a23c3086155c1da3c2965d7092d5f
SHA1 (patch-bj) = 281f1d3b8d9eafe7fbe7ca729861d4bdccea5a41
SHA1 (patch-bk) = f234c26a95d179c4723676c180db95f26c84bb49
SHA1 (patch-win_jtp_winjtp.c) = c304d5ddbb585b5cbf5b8f8f63280ecf1329e99c
-SHA1 (patch-win_jtp_winjtp.c) = c304d5ddbb585b5cbf5b8f8f63280ecf1329e99c
diff --git a/games/falcons-eye/patches/patch-win_jtp_winjtp.c b/games/falcons-eye/patches/patch-win_jtp_winjtp.c
index 7b4737bb444..475318ecf08 100644
--- a/games/falcons-eye/patches/patch-win_jtp_winjtp.c
+++ b/games/falcons-eye/patches/patch-win_jtp_winjtp.c
@@ -1,31 +1,4 @@
-$NetBSD: patch-win_jtp_winjtp.c,v 1.2 2012/11/19 23:22:07 joerg Exp $
-
---- win/jtp/winjtp.c.orig 2012-11-19 00:35:09.000000000 +0000
-+++ win/jtp/winjtp.c
-@@ -1,6 +1,7 @@
- /* SCCS Id: @(#)winjtp.c 3.0 2000/11/12 */
- /* Copyright (c) Jaakko Peltonen, 2000 */
- /* NetHack may be freely redistributed. See license for details. */
-+#include <ctype.h>
-
- #include "hack.h"
- #include "dlb.h"
-@@ -1504,12 +1505,12 @@ menu_item **menu_list;
- if (!tempwindow)
- {
- jtp_messagebox("ERROR: Can't find window for menu selection!");
-- return;
-+ return -1;
- }
- if (!tempwindow->menu)
- {
- jtp_messagebox("ERROR: Window does not have a menu!");
-- return;
-+ return -1;
- }
-
- tempwindow->menu->selectiontype = how;
-$NetBSD: patch-win_jtp_winjtp.c,v 1.2 2012/11/19 23:22:07 joerg Exp $
+$NetBSD: patch-win_jtp_winjtp.c,v 1.3 2012/12/15 11:50:48 marino Exp $
--- win/jtp/winjtp.c.orig 2012-11-19 00:35:09.000000000 +0000
+++ win/jtp/winjtp.c