summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-06-30 15:31:15 -0500
committerErik Hanson <erik@slackbuilds.org>2013-07-02 16:07:06 -0500
commitca92a09820f2a36fea1f2dc76445c396a7a7d8d0 (patch)
treea0312124006442f2a1ea11fead87599b2f967b93
parent5d6020ca24245e7acd0519352688a6784fd63ca1 (diff)
downloadslackbuilds-ca92a09820f2a36fea1f2dc76445c396a7a7d8d0.tar.gz
graphics/inkscape: Build fix on -current (harmless on 14.0)
Thanks to Mark Halstead <mdhalstead@att.net> for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--graphics/inkscape/inkscape.SlackBuild2
-rw-r--r--graphics/inkscape/remove-stray-comma.diff12
2 files changed, 14 insertions, 0 deletions
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);