diff options
author | marino <marino> | 2012-12-15 11:50:48 +0000 |
---|---|---|
committer | marino <marino> | 2012-12-15 11:50:48 +0000 |
commit | e47ec908040729ae2d57bf343473e12d14b42ad5 (patch) | |
tree | a455737035bb91bcd889ca23c371a6e5a17a41f5 /games/falcons-eye/patches | |
parent | 9cbff508a29249e50401e17910fb224759f7d359 (diff) | |
download | pkgsrc-e47ec908040729ae2d57bf343473e12d14b42ad5.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/patches')
-rw-r--r-- | games/falcons-eye/patches/patch-win_jtp_winjtp.c | 29 |
1 files changed, 1 insertions, 28 deletions
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 |