Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2007 23:09:53 +0100 (CET)
From:      Lars Engels <lars.engels@0x20.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109110: [MAINTAINER] www/swiggle: add a patch
Message-ID:  <200702122209.l1CM9rWb007970@maggie.bsd-geek.de>
Resent-Message-ID: <200702122210.l1CMA5Wh052980@freefall.freebsd.org>

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

>Number:         109110
>Category:       ports
>Synopsis:       [MAINTAINER] www/swiggle: add a patch
>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:   Mon Feb 12 22:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Lars Engels
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD maggie.bsd-geek.de 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sun Jan 14 00:10:36 CET 2007
>Description:
- Print the right variable instead of an unitialized one
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- swiggle-0.4.patch begins here ---
Index: files/patch-swiggle.c
===================================================================
RCS file: /home/ncvs/ports/www/swiggle/files/patch-swiggle.c,v
retrieving revision 1.1
diff -u -u -r1.1 patch-swiggle.c
--- files/patch-swiggle.c	1 Nov 2006 17:53:24 -0000	1.1
+++ files/patch-swiggle.c	12 Feb 2007 21:55:40 -0000
@@ -1,5 +1,5 @@
---- swiggle.c.orig	Sat Oct 23 22:58:37 2004
-+++ swiggle.c	Wed Nov  1 16:34:10 2006
+--- swiggle.c.orig	Sun Jan 14 13:03:36 2007
++++ swiggle.c	Sun Feb 11 16:32:41 2007
 @@ -66,12 +66,14 @@
  char generated[1024];
  char *progname = "";
@@ -15,7 +15,7 @@
  int (*sort_func)();
  
  #define	MAX_PER_PAGE	(cols*rows)
-@@ -113,7 +115,7 @@
+@@ -115,7 +117,7 @@
  	progname = argv[0];
  	sort_func = sort_by_filename;
  
@@ -24,7 +24,7 @@
  		switch (i) {
  		case 'c':
  			cols = (int) strtol(optarg, &eptr, 10);
-@@ -163,6 +165,12 @@
+@@ -165,6 +167,12 @@
  				usage();
  			}
  			break;
@@ -37,7 +37,7 @@
  		case 'f':
  			force = 1;
  			break;
-@@ -172,6 +180,9 @@
+@@ -174,6 +182,9 @@
  		case 'o':
  			rm_orphans = 0;
  			break;
@@ -47,7 +47,7 @@
  		case 'v':
  			version();
  			break;
-@@ -353,7 +364,7 @@
+@@ -380,7 +391,7 @@
  		qsort(imglist, imgcount, sizeof(struct imginfo), sort_func);
  		
  		create_html(dir, imglist, imgcount);
@@ -56,7 +56,16 @@
  		printf("%d thumbnail index pages created.\n", x);
  	}
  	
-@@ -1040,6 +1051,11 @@
+@@ -868,7 +879,7 @@
+ 		if (closedir(curdir))
+ 			fprintf(stdout, "can't closedir(%s)\n", path);
+ 	} else
+-		fprintf(stderr, "can't opendir(%s)\n", buf);
++		fprintf(stderr, "can't opendir(%s)\n", path);
+ }
+ 
+ /*
+@@ -1076,6 +1087,11 @@
  	    "(default: %d)\n", thumbheight);
  	fprintf(stderr, "   -H <j> ... height of the scaled images in pixel "
  	    "(default: %d)\n", scaleheight);
--- swiggle-0.4.patch ends here ---

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



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