Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2010 10:16:30 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153401: [maintainer] [patch] games/xcowsay Update to 1.3
Message-ID:  <201012231016.oBNAGU7Y093500@red.freebsd.org>
Resent-Message-ID: <201012231020.oBNAK9mw018455@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153401
>Category:       ports
>Synopsis:       [maintainer] [patch] games/xcowsay Update to 1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 23 10:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD thinkpad.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r216634M: Tue Dec 21 20:13:42 PST 2010     rfarmer@thinkpad.predatorlabs.net:/usr/obj/usr/src/sys/THINKPAD  amd64
>Description:
-Update to 1.3
-Fix -r option

Bugfix release. Changes:
http://www.doof.me.uk/2010/11/11/xcowsay-1-3/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/games/xcowsay/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	31 May 2010 01:59:09 -0000	1.8
+++ Makefile	23 Dec 2010 05:26:32 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	xcowsay
-PORTVERSION=	1.2
-PORTREVISION=	3
+PORTVERSION=	1.3
 CATEGORIES=	games gnome
 MASTER_SITES=	http://www.nickg.me.uk/files/ \
 		http://www.predatorlabs.net/dl/
@@ -29,6 +28,7 @@
 		bin/xcowsay \
 		bin/xcowthink \
 		share/locale/pt_BR/LC_MESSAGES/xcowsay.mo \
+		share/locale/ru/LC_MESSAGES/xcowsay.mo \
 		%%DATADIR%%/cow_large.png \
 		%%DATADIR%%/cow_med.png \
 		%%DATADIR%%/cow_small.png
@@ -37,7 +37,7 @@
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if defined(WITH_DBUS)
 LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
@@ -45,7 +45,4 @@
 CONFIGURE_ARGS+=	--enable-dbus
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|-DWITH_DBUS||g' ${WRKSRC}/configure
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/games/xcowsay/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	13 Jan 2010 19:21:48 -0000	1.3
+++ distinfo	23 Dec 2010 04:12:02 -0000
@@ -1,3 +1,2 @@
-MD5 (xcowsay-1.2.tar.gz) = a0f8e511a5c07d9e48057ad8100fa42b
-SHA256 (xcowsay-1.2.tar.gz) = 27d576b541fbc0aa00be3b3013b5161596eff594ff18abf557ad81cd6b5de324
-SIZE (xcowsay-1.2.tar.gz) = 264592
+SHA256 (xcowsay-1.3.tar.gz) = e055a35d7bb8bf17f07b5336bbd081a1a53f0b02f83c250b714bb6531789ebcf
+SIZE (xcowsay-1.3.tar.gz) = 269836
Index: files/patch-src__xcowsay.c
===================================================================
RCS file: files/patch-src__xcowsay.c
diff -N files/patch-src__xcowsay.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src__xcowsay.c	23 Dec 2010 06:35:41 -0000
@@ -0,0 +1,11 @@
+--- ./src/xcowsay.c.orig	2010-12-22 22:33:28.806155135 -0800
++++ ./src/xcowsay.c	2010-12-22 22:34:03.718166298 -0800
+@@ -252,7 +252,7 @@
+    parse_config_file();
+    
+    int c, index = 0, failure = 0;
+-   const char *spec = "hvld:rt:f:";
++   const char *spec = "hvld:r:t:f:";
+    const char *dream_file = NULL;
+    while ((c = getopt_long(argc, argv, spec, long_options, &index)) != -1) {
+       switch (c) {


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012231016.oBNAGU7Y093500>