Subject: pkg/23062: filmgimp build under gcc 3.3.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 10/04/2003 23:42:36
>Number: 23062
>Category: pkg
>Synopsis: filmgimp build under gcc 3.3.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Oct 05 06:43:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
>Description:
Building filmgimp under gcc (GCC) 3.3.1 (under Linux):
store_frame_manager.c:311:7: missing terminating " character
store_frame_manager.c: In function `sfm_create_gui':
store_frame_manager.c:312: error: parse error before "A"
store_frame_manager.c:312: error: stray '\' in program
store_frame_manager.c:313: error: stray '\' in program
store_frame_manager.c:314: error: stray '\' in program
store_frame_manager.c:315:49: missing terminating " character
store_frame_manager.c:362:7: missing terminating " character
store_frame_manager.c:363: error: parse error before "LMB"
store_frame_manager.c:363: error: stray '\' in program
store_frame_manager.c:364:18: missing terminating " character
New gcc doesn't like strings wrapping over lines.
>How-To-Repeat:
>Fix:
This patch gets it to build. Still not running for me .. it hangs at
script-fu after user installation.
$NetBSD$
store_frame_manager.c:311:7: missing terminating " character
--- app/store_frame_manager.c.orig 2003-10-05 06:30:56.000000000 +0000
+++ app/store_frame_manager.c 2003-10-05 06:31:41.000000000 +0000
@@ -308,11 +308,11 @@
tooltip = gtk_tooltips_new ();
gtk_tooltips_set_tip (tooltip, event_box,
- "RO - read only. This store will not be saved\n
- A - advance. This store is affected by the advance controls\n
- F - flip. This store is affected by the flip book controls\n
- Bg - background. This is the src in a clone and the bg in the onionskin\n
- * - modified. This store has been modified", NULL);
+ "RO - read only. This store will not be saved\n"
+ "A - advance. This store is affected by the advance controls\n"
+ "F - flip. This store is affected by the flip book controls\n"
+ "Bg - background. This is the src in a clone and the bg in the onionskin\n"
+ "* - modified. This store has been modified", NULL);
/* Add the CList widget to the vertical box and show it. */
gtk_container_add(GTK_CONTAINER(event_box), disp->bfm->sfm->store_list);
@@ -359,9 +359,9 @@
tooltip = gtk_tooltips_new ();
gtk_tooltips_set_tip (tooltip, slider,
- "Sets the opacity for onion skinning.\n
- LMB to drag slider\n
- MMB to jump", NULL);
+ "Sets the opacity for onion skinning.\n"
+ "LMB to drag slider\n"
+ "MMB to jump", NULL);
button = gtk_button_new_with_label ("Bg/Fg");
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
>Release-Note:
>Audit-Trail:
>Unformatted: