From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 11 18:10:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 340E6106568B for ; Sun, 11 Oct 2009 18:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 146A48FC26 for ; Sun, 11 Oct 2009 18:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9BIA3hO013129 for ; Sun, 11 Oct 2009 18:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9BIA306013128; Sun, 11 Oct 2009 18:10:03 GMT (envelope-from gnats) Resent-Date: Sun, 11 Oct 2009 18:10:03 GMT Resent-Message-Id: <200910111810.n9BIA306013128@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9456E10656AA for ; Sun, 11 Oct 2009 18:02:17 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa104lp.auone-net.jp (msa104lp.auone-net.jp [222.3.140.167]) by mx1.freebsd.org (Postfix) with ESMTP id 4C7588FC2C for ; Sun, 11 Oct 2009 18:02:17 +0000 (UTC) Received: from localhost.localdomain (ZT029089.ppp.dion.ne.jp [59.128.29.89]) by msa104lp.auone-net.jp (au one net msa) with ESMTP id 6EAC72BC031 for ; Mon, 12 Oct 2009 03:02:14 +0900 (JST) Message-Id: <20091012030036.7f5895ab.tkato432@yahoo.com> Date: Mon, 12 Oct 2009 03:00:36 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/139521: Update port: graphics/pqiv to 0.10 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 18:10:04 -0000 >Number: 139521 >Category: ports >Synopsis: Update port: graphics/pqiv to 0.10 >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: Sun Oct 11 18:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.2-RELEASE-p4 i386 >Organization: >Environment: >Description: - Update to version 0.10 >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/pqiv/Makefile graphics/pqiv/Makefile --- /usr/ports/graphics/pqiv/Makefile 2009-09-17 02:23:20.000000000 +0900 +++ graphics/pqiv/Makefile 2009-10-10 17:38:03.000000000 +0900 @@ -6,7 +6,7 @@ # PORTNAME= pqiv -PORTVERSION= 0.9 +PORTVERSION= 0.10 CATEGORIES= graphics MASTER_SITES= http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/ EXTRACT_SUFX= .tbz diff -urN /usr/ports/graphics/pqiv/distinfo graphics/pqiv/distinfo --- /usr/ports/graphics/pqiv/distinfo 2009-09-17 02:23:20.000000000 +0900 +++ graphics/pqiv/distinfo 2009-10-10 17:44:32.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (pqiv-0.9.tbz) = 15bb82cf22af0d3fbd74ce9481ea503b -SHA256 (pqiv-0.9.tbz) = 21bb2bf3c5fefc5882432cbde9540e18292ed8f021afc279195639ed16a56e75 -SIZE (pqiv-0.9.tbz) = 31821 +MD5 (pqiv-0.10.tbz) = aa476483b9e50a874b8693ae19cf7d4d +SHA256 (pqiv-0.10.tbz) = 1f00846d45e13395a44483be053fc6cd1e4e9946fd2e89769956044d1369b338 +SIZE (pqiv-0.10.tbz) = 31971 diff -urN /usr/ports/graphics/pqiv/files/patch-pqiv.c graphics/pqiv/files/patch-pqiv.c --- /usr/ports/graphics/pqiv/files/patch-pqiv.c 2009-09-16 23:27:10.000000000 +0900 +++ graphics/pqiv/files/patch-pqiv.c 2009-10-10 17:43:23.000000000 +0900 @@ -1,5 +1,5 @@ ---- pqiv.c.orig 2009-05-06 06:10:47.000000000 +0900 -+++ pqiv.c 2009-09-02 02:26:40.000000000 +0900 +--- pqiv.c.orig 2009-10-08 19:49:20.000000000 +0900 ++++ pqiv.c 2009-10-10 17:43:14.000000000 +0900 @@ -234,7 +234,7 @@ }}} */ @@ -9,7 +9,7 @@ "\n"); if(claim != 0) { g_print("I don't understand the meaning of %c\n\n", claim); -@@ -272,7 +272,7 @@ +@@ -273,7 +273,7 @@ #ifndef NO_COMMANDS " - s Set command number n (1-9) to s \n" " See manpage for advanced commands (starting with > or |) \n" @@ -18,7 +18,7 @@ #endif "\n" -@@ -296,7 +296,7 @@ +@@ -297,7 +297,7 @@ " v Vertical flip \n" " i Show/hide info box \n" " s Slideshow toggle \n" @@ -27,7 +27,7 @@ #ifndef NO_COMMANDS " Run command n (1-3) \n" #endif -@@ -1824,12 +1824,12 @@ +@@ -1737,12 +1737,12 @@ } break; /* }}} */ @@ -43,10 +43,10 @@ + sprintf(buf, "./." BINARY_NAME "-select/%s", buf2); if(link(currentFile->fileName, buf) != 0) { /* Failed to link image, try copying it */ - if(copyFile(currentFile->fileName, buf) != 0) { -@@ -2253,14 +2253,14 @@ - optionCommands[i] = (char*)g_malloc(strlen(optarg) + 1); - strcpy(optionCommands[i], optarg); + if(copyFile(currentFile->fileName, buf) != TRUE) { +@@ -2214,13 +2214,13 @@ + } + optionCommands[i] = g_strdup((gchar*)optarg); break; - /* OPTION: -q: Use the qiv-command script for commands */ + /* OPTION: -q: Use the BINARY_NAME-command script for commands */ @@ -55,9 +55,8 @@ if(optionCommands[i] != NULL) { g_free(optionCommands[i]); } - optionCommands[i] = (char*)g_malloc(14); -- memcpy(optionCommands[i], "qiv-command 0", 14); -+ memcpy(optionCommands[i], BINARY_NAME "-command 0", 14); +- optionCommands[i] = g_strdup("qiv-command 0"); ++ optionCommands[i] = g_strdup(BINARY_NAME "-command 0"); optionCommands[i][12] += i; } break; >Release-Note: >Audit-Trail: >Unformatted: