From ca92a09820f2a36fea1f2dc76445c396a7a7d8d0 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 30 Jun 2013 15:31:15 -0500 Subject: graphics/inkscape: Build fix on -current (harmless on 14.0) Thanks to Mark Halstead for the report. Signed-off-by: Robby Workman --- graphics/inkscape/inkscape.SlackBuild | 2 ++ graphics/inkscape/remove-stray-comma.diff | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 graphics/inkscape/remove-stray-comma.diff (limited to 'graphics') diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild index 815ab6dc2e..7704f0e8e2 100644 --- a/graphics/inkscape/inkscape.SlackBuild +++ b/graphics/inkscape/inkscape.SlackBuild @@ -65,6 +65,8 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +patch -p1 < $CWD/remove-stray-comma.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/graphics/inkscape/remove-stray-comma.diff b/graphics/inkscape/remove-stray-comma.diff new file mode 100644 index 0000000000..60e4ea71e8 --- /dev/null +++ b/graphics/inkscape/remove-stray-comma.diff @@ -0,0 +1,12 @@ +diff -Nur inkscape-0.48.4.orig/src/widgets/desktop-widget.h inkscape-0.48.4/src/widgets/desktop-widget.h +--- inkscape-0.48.4.orig/src/widgets/desktop-widget.h 2011-07-08 13:25:09.468790000 -0500 ++++ inkscape-0.48.4/src/widgets/desktop-widget.h 2013-06-30 15:29:21.365038516 -0500 +@@ -239,7 +239,7 @@ + private: + GtkWidget *tool_toolbox; + GtkWidget *aux_toolbox; +- GtkWidget *commands_toolbox,; ++ GtkWidget *commands_toolbox; + GtkWidget *snap_toolbox; + + static void init(SPDesktopWidget *widget); -- cgit v1.2.3