ports/186771: [MAINTAINER] graphics/rawstudio: Fix build with clang
Alex Samorukov
samm at os2.kiev.ua
Fri Feb 14 18:10:00 UTC 2014
>Number: 186771
>Category: ports
>Synopsis: [MAINTAINER] graphics/rawstudio: Fix build with clang
>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: Fri Feb 14 18:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Alex Samorukov
>Release: FreeBSD 9.1-RELEASE i386
>Organization:
NetArt s.r.o.
>Environment:
System: FreeBSD bsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39
>Description:
Original sources are using nested funcions in one of the files. Fixing that.
Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- rawstudio-2.0_3.patch begins here ---
diff -ruN /usr/ports//graphics/rawstudio/files/patch-rs-tag-gui.c ./files/patch-rs-tag-gui.c
--- /usr/ports//graphics/rawstudio/files/patch-rs-tag-gui.c 1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-rs-tag-gui.c 2014-02-14 18:39:30.000000000 +0100
@@ -0,0 +1,28 @@
+--- src/rs-tag-gui.c.orig 2011-02-15 18:28:05.000000000 +0100
++++ src/rs-tag-gui.c 2014-02-14 18:36:48.000000000 +0100
+@@ -93,11 +93,6 @@
+ return box;
+ }
+
+-GtkWidget *
+-rs_library_tag_entry_new(RSLibrary *library)
+-{
+- g_assert(RS_IS_LIBRARY(library));
+-
+ gboolean
+ selected(GtkEntryCompletion *completion, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
+ {
+@@ -179,6 +174,13 @@
+ return found;
+ }
+
++
++GtkWidget *
++rs_library_tag_entry_new(RSLibrary *library)
++{
++ g_assert(RS_IS_LIBRARY(library));
++
++
+ GtkWidget *entry = gtk_entry_new();
+ GtkEntryCompletion *completion = gtk_entry_completion_new();
+ GtkListStore *store = gtk_list_store_new(1, G_TYPE_STRING);
--- rawstudio-2.0_3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list