From owner-freebsd-ports Fri Aug 23 17:20:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59FBA37B400 for ; Fri, 23 Aug 2002 17:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98DD943E72 for ; Fri, 23 Aug 2002 17:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7O0K2JU081530 for ; Fri, 23 Aug 2002 17:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7O0K2iY081529; Fri, 23 Aug 2002 17:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 701DA37B400 for ; Fri, 23 Aug 2002 17:18:49 -0700 (PDT) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id C98F243E6E for ; Fri, 23 Aug 2002 17:18:48 -0700 (PDT) (envelope-from alane@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (alane@localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.5/8.12.5) with ESMTP id g7O0Icij042586; Fri, 23 Aug 2002 20:18:38 -0400 (EDT) (envelope-from alane@wwweasel.geeksrus.net) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.12.5/8.12.5/Submit) id g7O0IaLW042585; Fri, 23 Aug 2002 20:18:36 -0400 (EDT) (envelope-from alane) Message-Id: <200208240018.g7O0IaLW042585@wwweasel.geeksrus.net> Date: Fri, 23 Aug 2002 20:18:36 -0400 (EDT) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: bifrost@kizmiaz.dis.org X-Send-Pr-Version: 3.113 Subject: ports/41962: graphics/quickpics: make default captions more suitable to leave in place if desired Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41962 >Category: ports >Synopsis: graphics/quickpics: make default captions more suitable to leave in place if desired >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 23 17:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.6-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.6-STABLE FreeBSD 4.6-STABLE #1: Wed Aug 21 14:26:28 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: The default descriptions for pictures read "Description of goes here." This patch just changes it to the name of the file, which is suitable to leave there if you don't want to do any more work. >How-To-Repeat: >Fix: ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: graphics/quickpics/files/patch-src-dir.c =================================================================== RCS file: graphics/quickpics/files/patch-src-dir.c diff -N graphics/quickpics/files/patch-src-dir.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ graphics/quickpics/files/patch-src-dir.c 24 Aug 2002 00:08:53 -0000 @@ -0,0 +1,17 @@ +--- dir.c.orig Tue Apr 7 03:31:14 1998 ++++ dir.c Fri Aug 23 20:08:24 2002 +@@ -479,12 +479,12 @@ + rmspace(description); + if(!description[0]) + { +- sprintf(description,"Description of %s goes here.", ++ sprintf(description,"%s", + img->name); + } + } + else +- sprintf(description,"Description of %s goes here.", ++ sprintf(description,"%s", + img->name); + + imgrec_setdescription(img,description); ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message