summaryrefslogtreecommitdiff
path: root/media-gfx/scangearmp/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-08-23 20:43:41 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-08-23 20:43:41 +0100
commita6ffca29646eb3421583635ef5ad06555131afc4 (patch)
tree26c8ad62b77dcec217ac4c962e4da8ae1de19753 /media-gfx/scangearmp/files
parent5de810cc88da7d7877fad6fcafc3814e8ed6a3e2 (diff)
stupid devs, they need to link against mathlib, but put it in makefile? noooooooooooooo
Diffstat (limited to 'media-gfx/scangearmp/files')
-rw-r--r--media-gfx/scangearmp/files/link-against-mathlib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/scangearmp/files/link-against-mathlib.patch b/media-gfx/scangearmp/files/link-against-mathlib.patch
new file mode 100644
index 00000000..85e3fa38
--- /dev/null
+++ b/media-gfx/scangearmp/files/link-against-mathlib.patch
@@ -0,0 +1,12 @@
+diff -Nur a/scangearmp/src/Makefile.am b/scangearmp/src/Makefile.am
+--- a/scangearmp/src/Makefile.am 2012-08-29 02:24:08.000000000 +0100
++++ b/scangearmp/src/Makefile.am 2016-08-23 20:37:39.287104385 +0100
+@@ -44,7 +44,7 @@
+ cnmsnetwork.c cnmsnetwork.h
+
+
+-scangearmp_LDADD = @PACKAGE_LIBS@ -lcncpmsui -lsane-canon_mfp -lcncpnet $(INTLLIBS)
++scangearmp_LDADD = @PACKAGE_LIBS@ -lcncpmsui -lsane-canon_mfp -lm -lcncpnet $(INTLLIBS)
+
+ scangearmp_CFLAGS = -DV_MAJOR=1 -DV_MINOR=0
+