summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.8.0-underlinking.patch')
-rw-r--r--xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.8.0-underlinking.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.8.0-underlinking.patch b/xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.8.0-underlinking.patch
new file mode 100644
index 000000000000..03ff37d1e9ad
--- /dev/null
+++ b/xfce-extra/xfce4-screenshooter/files/xfce4-screenshooter-1.8.0-underlinking.patch
@@ -0,0 +1,16 @@
+Function floor is required, so link to libmath to avoid linking failure (underlinking)
+
+http://bugzilla.xfce.org/show_bug.cgi?id=8230
+
+--- Makefile.am
++++ Makefile.am
+@@ -51,7 +51,8 @@
+ @SOUP_LIBS@ \
+ @LIBXEXT_LIBS@ \
+ @LIBX11_LIBS@ \
+- @XFIXES_LIBS@
++ @XFIXES_LIBS@ \
++ -lm
+
+ lib_libscreenshooter_built_sources = \
+ lib/screenshooter-marshal.c lib/screenshooter-marshal.h