pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/hugo update to 3.1.01 (various bug fixes)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d44ac054354a
branches:  trunk
changeset: 485010:d44ac054354a
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Thu Dec 02 22:00:52 2004 +0000

description:
update to 3.1.01 (various bug fixes)

diffstat:

 games/hugo/Makefile         |  15 +++++++--------
 games/hugo/distinfo         |  12 ++++++------
 games/hugo/patches/patch-ae |  32 ++++++++++++++++----------------
 3 files changed, 29 insertions(+), 30 deletions(-)

diffs (109 lines):

diff -r 33dd9789b77b -r d44ac054354a games/hugo/Makefile
--- a/games/hugo/Makefile       Thu Dec 02 21:56:06 2004 +0000
+++ b/games/hugo/Makefile       Thu Dec 02 22:00:52 2004 +0000
@@ -1,18 +1,17 @@
-# $NetBSD: Makefile,v 1.2 2004/10/03 00:14:45 tv Exp $
+# $NetBSD: Makefile,v 1.3 2004/12/02 22:00:52 dillo Exp $
 #
 
-DISTNAME=      hugov30_unix_source
-PKGNAME=       hugo-3.0.07
-PKGREVISION=   1
+DISTNAME=      hugov31_unix_source
+PKGNAME=       hugo-3.1.01
 CATEGORIES=    games
-MASTER_SITES=  http://www.ifarchive.org/if-archive/programming/hugo/source/
+MASTER_SITES=  ${MASTER_SITE_IFARCHIVE:=programming/hugo/source/}
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} hugolib.zip
 
 MAINTAINER=    dillo%NetBSD.org@localhost
-HOMEPAGE=      http://161.184.245.22/tessman/gcc/hugo.html
+HOMEPAGE=      http://www.generalcoffee.com/hugo.html
 COMMENT=       Interactive fiction design system and interpreter
 
-SITES_hugolib.zip=http://www.ifarchive.org/if-archive/programming/hugo/library/
+SITES_hugolib.zip=${MASTER_SITE_IFARCHIVE:=programming/hugo/library/}
 
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 USE_BUILDLINK3=        yes
@@ -20,7 +19,7 @@
 # uses halfkey (present since 1.6M)
 INCOMPAT_CURSES+=      NetBSD-1.4[Y-Z]* NetBSD-1.5* NetBSD-1.6 NetBSD-1.6.*
 INCOMPAT_CURSES+=      NetBSD-1.6[A-L]*
-WRKSRC=                ${WRKDIR}/hugov3.0.07
+WRKSRC=                ${WRKDIR}/hugov3.1.0
 
 LIBDIR=                ${PREFIX}/share/hugo
 
diff -r 33dd9789b77b -r d44ac054354a games/hugo/distinfo
--- a/games/hugo/distinfo       Thu Dec 02 21:56:06 2004 +0000
+++ b/games/hugo/distinfo       Thu Dec 02 22:00:52 2004 +0000
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.4 2004/08/27 06:29:07 jlam Exp $
+$NetBSD: distinfo,v 1.5 2004/12/02 22:00:52 dillo Exp $
 
-SHA1 (hugo-3.0.07/hugov30_unix_source.tar.gz) = 4b3afc3b4f03ff23643460321d76127980184ec0
-Size (hugo-3.0.07/hugov30_unix_source.tar.gz) = 213002 bytes
-SHA1 (hugo-3.0.07/hugolib.zip) = 76b5580461a6c6f15780f554d2e23574ef78e24d
-Size (hugo-3.0.07/hugolib.zip) = 67669 bytes
+SHA1 (hugo-3.1.01/hugov31_unix_source.tar.gz) = bd14b180e26cd0d39e164839da27313e79939a9b
+Size (hugo-3.1.01/hugov31_unix_source.tar.gz) = 214461 bytes
+SHA1 (hugo-3.1.01/hugolib.zip) = a27ee9591cee8932a92b087b3b22ff5047a48749
+Size (hugo-3.1.01/hugolib.zip) = 70455 bytes
 SHA1 (patch-aa) = cc0d06b3abec10feb882f6a87af8bd5def10a8b7
 SHA1 (patch-ab) = 4d2753b45b1e16c7213e1ee99860519bf889e11d
 SHA1 (patch-ac) = 43df8bc8b35cb5525f582a6d11eba89d063fbe76
 SHA1 (patch-ad) = 454c364a4fe45d1fc94b768db85443fcc8ef8204
-SHA1 (patch-ae) = ce4dc59544819330f1f8eeb45100e871c3aa0b3d
+SHA1 (patch-ae) = fcbfdbc54507eacdb1486fa1de6a0729764edce0
 SHA1 (patch-af) = d97e6efb61472637f8680bf9cd94a1541ab2eb14
 SHA1 (patch-ag) = 5ad2dad3afa263160d5d70431dc7a7e1bd542969
diff -r 33dd9789b77b -r d44ac054354a games/hugo/patches/patch-ae
--- a/games/hugo/patches/patch-ae       Thu Dec 02 21:56:06 2004 +0000
+++ b/games/hugo/patches/patch-ae       Thu Dec 02 22:00:52 2004 +0000
@@ -1,29 +1,29 @@
-$NetBSD: patch-ae,v 1.1 2004/05/28 14:24:04 dillo Exp $
+$NetBSD: patch-ae,v 1.2 2004/12/02 22:00:52 dillo Exp $
 
---- source/hdupdate.c.orig     2004-01-05 20:22:00.000000000 +0100
+--- source/hdupdate.c.orig     2004-07-06 21:21:24.000000000 +0200
 +++ source/hdupdate.c
 @@ -235,10 +235,10 @@ void Navigate(void)
        {
-         switch (event.object)
-         {
--              case UP:
-+              case EV_UP:
-               case DOWN:
+               switch (event.object)
                {
--                      if (event.object==UP && win->selected > 0)
-+                      if (event.object==EV_UP && win->selected > 0)
+-                      case UP:
++                      case EV_UP:
+                       case DOWN:
                        {
-                               if (--new_selected < win->first)
+-                              if (event.object==UP && win->selected > 0)
++                              if (event.object==EV_UP && win->selected > 0)
                                {
+                                       if (--new_selected < win->first)
+                                       {
 @@ -252,7 +252,7 @@ void Navigate(void)
-                       {
-                               if (++new_selected > win->first+win->height-1)
                                {
--                                      debug_windowscroll(2, win->top, D_SCREENWIDTH-1, win->top+win->height-1, UP, 1);
-+                                      debug_windowscroll(2, win->top, D_SCREENWIDTH-1, win->top+win->height-1, EV_UP, 1);
-                                       win->first++;
+                                       if (++new_selected > win->first+win->height-1)
+                                       {
+-                                              debug_windowscroll(2, win->top, D_SCREENWIDTH-1, win->top+win->height-1, UP, 1);
++                                              debug_windowscroll(2, win->top, D_SCREENWIDTH-1, win->top+win->height-1, EV_UP, 1);
+                                               win->first++;
+                                       }
                                }
-                       }
 @@ -828,7 +828,7 @@ void UpdateCodeWindow(void)
                        amount_to_scroll = buffered_code_lines;
  



Home | Main Index | Thread Index | Old Index