pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xmahjongg Update games/xmahjongg to version 3.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ac77fea9ed8
branches:  trunk
changeset: 544930:9ac77fea9ed8
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Tue Jul 22 21:25:00 2008 +0000

description:
Update games/xmahjongg to version 3.7

Changelog:
Version 3.7   8.Mar.2005
* Man page bug fixes from Debian via Dave Swegen.
* Source code reorganization.

diffstat:

 games/xmahjongg/Makefile         |   5 ++---
 games/xmahjongg/PLIST            |   3 ++-
 games/xmahjongg/distinfo         |  13 ++++++-------
 games/xmahjongg/patches/patch-aa |  13 -------------
 games/xmahjongg/patches/patch-ab |   6 +++---
 games/xmahjongg/patches/patch-ac |  16 ++++++++--------
 6 files changed, 21 insertions(+), 35 deletions(-)

diffs (110 lines):

diff -r 08ebb8172bbe -r 9ac77fea9ed8 games/xmahjongg/Makefile
--- a/games/xmahjongg/Makefile  Tue Jul 22 20:44:04 2008 +0000
+++ b/games/xmahjongg/Makefile  Tue Jul 22 21:25:00 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2007/02/22 19:26:31 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2008/07/22 21:25:00 tonio Exp $
 #
 
-DISTNAME=      xmahjongg-3.6.1
-PKGREVISION=   1
+DISTNAME=      xmahjongg-3.7
 CATEGORIES=    games x11
 MASTER_SITES=  http://www.lcdf.org/~eddietwo/xmahjongg/
 
diff -r 08ebb8172bbe -r 9ac77fea9ed8 games/xmahjongg/PLIST
--- a/games/xmahjongg/PLIST     Tue Jul 22 20:44:04 2008 +0000
+++ b/games/xmahjongg/PLIST     Tue Jul 22 21:25:00 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2003/04/10 17:58:07 salo Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/07/22 21:25:00 tonio Exp $
 bin/xmahjongg
 man/man6/xmahjongg.6
 share/xmahjongg/backgrounds/default.gif
@@ -22,6 +22,7 @@
 share/xmahjongg/layouts/ram
 share/xmahjongg/layouts/rat
 share/xmahjongg/layouts/rooster
+share/xmahjongg/layouts/schoon
 share/xmahjongg/layouts/snake
 share/xmahjongg/layouts/theater
 share/xmahjongg/layouts/tiger
diff -r 08ebb8172bbe -r 9ac77fea9ed8 games/xmahjongg/distinfo
--- a/games/xmahjongg/distinfo  Tue Jul 22 20:44:04 2008 +0000
+++ b/games/xmahjongg/distinfo  Tue Jul 22 21:25:00 2008 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.8 2006/11/09 13:45:33 martin Exp $
+$NetBSD: distinfo,v 1.9 2008/07/22 21:25:00 tonio Exp $
 
-SHA1 (xmahjongg-3.6.1.tar.gz) = 35e380e53412568e6af7f4fcc1677693f52fc60e
-RMD160 (xmahjongg-3.6.1.tar.gz) = acfc0161322b22296639dff313bae8d57e012618
-Size (xmahjongg-3.6.1.tar.gz) = 462833 bytes
-SHA1 (patch-aa) = 5305cfb0c0c8c0fcc507bc3730043331255a94a5
-SHA1 (patch-ab) = d3c2574c8de7e85c8e38670017d0eda64fe3b0be
-SHA1 (patch-ac) = ea3083eff9216833153c1ad68e31a4282938e9d9
+SHA1 (xmahjongg-3.7.tar.gz) = 2693a0a90d9cb127f7b98cbeca9a2b832b3bb718
+RMD160 (xmahjongg-3.7.tar.gz) = 41b584ca39dcb80f96ea19b4a29c237f3919f785
+Size (xmahjongg-3.7.tar.gz) = 551834 bytes
+SHA1 (patch-ab) = f014d6c399092f5b2910e690b296678cc4797ad3
+SHA1 (patch-ac) = 18262594c57f068478480183a6c84e29ab1f599c
diff -r 08ebb8172bbe -r 9ac77fea9ed8 games/xmahjongg/patches/patch-aa
--- a/games/xmahjongg/patches/patch-aa  Tue Jul 22 20:44:04 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2006/06/02 09:08:15 martin Exp $
-
---- permstr.hh.orig    2006-06-02 09:57:39.000000000 +0200
-+++ permstr.hh 2006-06-02 09:57:50.000000000 +0200
-@@ -93,7 +93,7 @@ operator!=(const char *a, PermString b)
- inline int
- hashcode(PermString s)
- {
--    return (int)(s.cc());
-+    return (int)(intptr_t)(s.cc());
- }
- 
- #endif
diff -r 08ebb8172bbe -r 9ac77fea9ed8 games/xmahjongg/patches/patch-ab
--- a/games/xmahjongg/patches/patch-ab  Tue Jul 22 20:44:04 2008 +0000
+++ b/games/xmahjongg/patches/patch-ab  Tue Jul 22 21:25:00 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.4 2006/06/02 09:08:15 martin Exp $
+$NetBSD: patch-ab,v 1.5 2008/07/22 21:25:00 tonio Exp $
 
---- giftoc.c.orig      1999-08-15 21:03:06.000000000 +0200
-+++ giftoc.c   2006-06-02 11:02:19.000000000 +0200
+--- liblcdf/giftoc.c.orig      2003-08-29 05:58:00.000000000 +0200
++++ liblcdf/giftoc.c
 @@ -192,9 +192,9 @@ or:    giftoc -makename [OPTIONS] FILE [
        sin = strrchr(file_name, PATHNAME_SEPARATOR) + 1;
        if (!sin) sin = file_name;
diff -r 08ebb8172bbe -r 9ac77fea9ed8 games/xmahjongg/patches/patch-ac
--- a/games/xmahjongg/patches/patch-ac  Tue Jul 22 20:44:04 2008 +0000
+++ b/games/xmahjongg/patches/patch-ac  Tue Jul 22 21:25:00 2008 +0000
@@ -1,18 +1,18 @@
-$NetBSD: patch-ac,v 1.2 2006/11/09 13:45:33 martin Exp $
+$NetBSD: patch-ac,v 1.3 2008/07/22 21:25:00 tonio Exp $
 
 SunPro sees an overloading ambiguity between operator bool() and
 operator const char *(). ISO C++ and gcc 4.2 agree.
 
---- permstr.cc.orig    2001-09-06 20:30:10.000000000 +0200
-+++ permstr.cc 2006-11-09 14:35:55.000000000 +0100
-@@ -183,8 +183,8 @@
+--- liblcdf/permstr.cc.orig    2004-11-21 20:01:59.000000000 +0100
++++ liblcdf/permstr.cc
+@@ -160,8 +160,8 @@ PermString::PermString(char c)
  bool
  operator==(PermString a, const char *b)
  {
--  if (!a || !b)
--    return !a && !b;
+-    if (!a || !b)
+-      return !a && !b;
 +  if (operator==(a, false) || !b)
 +    return (operator==(a, false)) && !b;
-   int l = strlen(b);
-   return a.length() == l && memcmp(a.cc(), b, l) == 0;
+     int l = strlen(b);
+     return a.length() == l && memcmp(a.c_str(), b, l) == 0;
  }



Home | Main Index | Thread Index | Old Index