summaryrefslogtreecommitdiff
path: root/media-gfx/scangearmp
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/scangearmp')
-rw-r--r--media-gfx/scangearmp/Manifest1
-rw-r--r--media-gfx/scangearmp/files/link-against-mathlib.patch12
-rw-r--r--media-gfx/scangearmp/scangearmp-2.10.ebuild1
3 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/scangearmp/Manifest b/media-gfx/scangearmp/Manifest
index 3192db3c..8f762fa5 100644
--- a/media-gfx/scangearmp/Manifest
+++ b/media-gfx/scangearmp/Manifest
@@ -1 +1,2 @@
+DIST scangearmp-source-1.60-1.tar.gz 3931034 SHA256 fab6b764409f17a674ba31e45a515353cdf027562b2daee96c316bb86d6d6340 SHA512 759dfab54989a80922f058dba31bf924af4ec71d5c0dba93eb879d0f87f9dfeae89324ddcf0b647bff3065d92a8b5e8be02590aebff7502d3878d534f1364211 WHIRLPOOL ae0a9d6e567e400331486a01e45149f0f7f37a472200e0f075833f4d291a22dc1b4d122239225523ad9bf60a336ed97fe0634c803a8fa3e3bed5d5797aa9c8b1
DIST scangearmp-source-2.10-1.tar.gz 3651847 SHA256 cf9baa3d0bc5c58db09c0d1b0ac2e312b564f4436fef84bd11fcc0c5f8423ba2 SHA512 fbbe6c2502b32d270601c950cefb3a4b56c7046cb765d8d3f0f14b72bfa10a3cf7c2191fb1c68a4819d3d6c0b251d0dcdf069170825bd823124374d6c78ba5ee WHIRLPOOL a32b66cb6e7c375398496b5fde941b5bc38670de0752712201dcf4a43031b3b39543769eee85dd0c1781f19f6169de5fca5186ec34e5caad98817e977bb72c65
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
+
diff --git a/media-gfx/scangearmp/scangearmp-2.10.ebuild b/media-gfx/scangearmp/scangearmp-2.10.ebuild
index f2b8ca20..fee0c87d 100644
--- a/media-gfx/scangearmp/scangearmp-2.10.ebuild
+++ b/media-gfx/scangearmp/scangearmp-2.10.ebuild
@@ -113,6 +113,7 @@ pkg_setup() {
}
src_prepare(){
+ epatch ${FILESDIR}/link-against-mathlib.patch
cd scangearmp
sed -i 's/Z_BEST_SPEED/\ 1\ /g' src/scanfile.c