Date: Tue, 11 Nov 2003 00:00:46 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/59129: Update port: misc/snowflake Message-ID: <20031111000046.6af7820e.tkato@prontomail.com> Resent-Message-ID: <200311101510.hAAFAKjY020164@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59129 >Category: ports >Synopsis: Update port: misc/snowflake >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 10 07:10:20 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE i386 >Organization: >Environment: >Description: - Fix MASTER_SITES - Avoid some compiler warnings - Remove obsolete WWW: line New file: files/patch-sf.c files/patch-sf.h files/patch-sf_control.c >How-To-Repeat: >Fix: diff -urN /usr/ports/misc/snowflake/Makefile misc/snowflake/Makefile --- /usr/ports/misc/snowflake/Makefile Mon Nov 3 14:35:55 2003 +++ misc/snowflake/Makefile Sat Nov 8 21:21:44 2003 @@ -7,17 +7,20 @@ PORTNAME= snowflake PORTVERSION= 0.01a +PORTREVISION= 1 CATEGORIES= misc -MASTER_SITES= http://www.infomatch.com/~donaldj/ -DISTNAME= ${PORTNAME} +MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= A snowflake image generator +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig + USE_X_PREFIX= yes USE_GNOME= gtk12 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/snowflake ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/snowflake ${PREFIX}/bin .include <bsd.port.mk> diff -urN /usr/ports/misc/snowflake/distinfo misc/snowflake/distinfo --- /usr/ports/misc/snowflake/distinfo Sat Jan 29 21:53:04 2000 +++ misc/snowflake/distinfo Sat Nov 8 21:21:53 2003 @@ -1 +1 @@ -MD5 (snowflake.tar.gz) = 285a1ad22b85f7f78364d4e51774992f +MD5 (snowflake_0.01a.orig.tar.gz) = 8712dd23b8d4c30fc3261c69ffbc40e7 diff -urN /usr/ports/misc/snowflake/files/patch-sf.c misc/snowflake/files/patch-sf.c --- /usr/ports/misc/snowflake/files/patch-sf.c Thu Jan 1 09:00:00 1970 +++ misc/snowflake/files/patch-sf.c Sat Nov 8 21:21:03 2003 @@ -0,0 +1,44 @@ +--- sf.c.orig Mon Dec 21 08:18:55 1998 ++++ sf.c Sat Nov 8 21:20:24 2003 +@@ -47,6 +47,7 @@ + + struct option long_options[] = + { ++ { "version", 0, 0, c_VERSION }, + { "view-geometry", 1, 0, c_VIEW_GEOMETRY }, + { "control-geometry", 1, 0, c_CONTROL_GEOMETRY }, + { "minimize", 0, 0, c_MINIMIZE }, +@@ -77,6 +78,8 @@ + + help_info_line help_info[] = + { ++ { "version", c_VERSION, " ", ++ "show program version" }, + { "view-geometry", c_VIEW_GEOMETRY, "+x+y", + "Control window placement" }, + { "control-geometry", c_CONTROL_GEOMETRY, "+x+y", +@@ -134,7 +137,7 @@ + + /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ + +-void main( int argc,char* argv[] ) ++int main( int argc,char* argv[] ) + { + int i; + char* shop; +@@ -175,7 +178,14 @@ + help_info[i].description ); + + exit( 0 ); +- } ++ } ++ /* asking for version? */ ++ if ( ( strncmp( argv[1], "-V", 2 ) == 0 ) || ++ ( strncmp( argv[1],"--version",3 ) == 0 ) ) ++ { ++ printf( "%s - %s\n",program_name,version ); ++ exit( 0 ); ++ } + } + + /* create shared memory image and mutex */ diff -urN /usr/ports/misc/snowflake/files/patch-sf.h misc/snowflake/files/patch-sf.h --- /usr/ports/misc/snowflake/files/patch-sf.h Thu Jan 1 09:00:00 1970 +++ misc/snowflake/files/patch-sf.h Sat Nov 8 21:21:09 2003 @@ -0,0 +1,10 @@ +--- sf.h.orig Mon Dec 21 08:18:55 1998 ++++ sf.h Sat Nov 8 21:20:24 2003 +@@ -17,6 +17,7 @@ + + typedef enum + { ++ c_VERSION = 'V', + c_VIEW_GEOMETRY = 'v', + c_CONTROL_GEOMETRY = 'c', + c_MINIMIZE = 'm', diff -urN /usr/ports/misc/snowflake/files/patch-sf_control.c misc/snowflake/files/patch-sf_control.c --- /usr/ports/misc/snowflake/files/patch-sf_control.c Thu Jan 1 09:00:00 1970 +++ misc/snowflake/files/patch-sf_control.c Sat Nov 8 21:21:27 2003 @@ -0,0 +1,11 @@ +--- sf_control.c.orig Mon Dec 21 08:18:55 1998 ++++ sf_control.c Sat Nov 8 21:20:24 2003 +@@ -266,7 +266,7 @@ + static char xpm_filespec[MAX_FILESPEC+1] = { 0 }; + + static char design_filespec[MAX_FILESPEC+1] = { 0 }; +-static char design_line = -1; ++static signed char design_line = -1; + static FILE* design_file = (FILE*)0; + + /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ diff -urN /usr/ports/misc/snowflake/pkg-descr misc/snowflake/pkg-descr --- /usr/ports/misc/snowflake/pkg-descr Sat Jan 29 21:53:03 2000 +++ misc/snowflake/pkg-descr Sat Nov 8 21:16:01 2003 @@ -1,3 +1 @@ a snowflake image generator - -WWW: http://www.infomatch.com/~donaldj/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111000046.6af7820e.tkato>