Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 02:18:15 -0500
From:      "Jimmie James" <jimmiejaz@securelabs.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/62618: xfce4-menueditor fails to compile on 4.9-STABLE
Message-ID:  <1076397495.0@fortytwo.zapto.org>
Resent-Message-ID: <200402100720.i1A7KOSF095202@freefall.freebsd.org>

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

>Number:         62618
>Category:       ports
>Synopsis:       xfce4-menueditor fails to compile on 4.9-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 09 23:20:24 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jimmie James
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Toronto2600 
>Environment:


System: FreeBSD fortytwo.zapto.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Feb  i386


>Description:


xfce4-menuditor complains about two syntax errors  (lines 47 and 62)  new.c and will not build.


>How-To-Repeat:


cd /usr/ports/x11-wm/xfce4-menueditor && make


>Fix:


Not sure if this diff is correct, but following the steps in man (7) ports and editing 
   /usr/ports/x11-wm/xfce4-menueditor/work/xfce4-menueditor/menueditor/new.c and removing "gint" from lines 47 and 62

--- new.c       Tue Feb 10 01:57:41 2004
+++ new1.c      Tue Feb 10 01:56:50 2004
@@ -44,7 +44,7 @@
                                    GTK_BUTTONS_YES_NO,
                                    _("Are you sure to close the current menu ?"));
 
-     gint response = gtk_dialog_run(GTK_DIALOG(dialog));
+     response = gtk_dialog_run(GTK_DIALOG(dialog));
     gtk_widget_destroy(dialog);
 
     if(response==GTK_RESPONSE_NO)
@@ -59,7 +59,7 @@
                                    GTK_BUTTONS_YES_NO,
                                    _("Do you want to save before closing the file ?"));
 
-     gint response = gtk_dialog_run(GTK_DIALOG(dialog));
+     response = gtk_dialog_run(GTK_DIALOG(dialog));
     gtk_widget_destroy(dialog);
 
     if(response==GTK_RESPONSE_YES)


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



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