summaryrefslogtreecommitdiff
path: root/graphics/sane-backends
diff options
context:
space:
mode:
authorwiz <wiz>2010-12-06 12:16:03 +0000
committerwiz <wiz>2010-12-06 12:16:03 +0000
commit65f0f8e3d9dcc3909f989d4005f7cccb938b0f34 (patch)
treeb7b4a6142e03ff43be3e76d4308afcbbf51cc79b /graphics/sane-backends
parent973f0952cd35291db02b6a0fd62c027d535341b4 (diff)
downloadpkgsrc-65f0f8e3d9dcc3909f989d4005f7cccb938b0f34.tar.gz
Fix build on DragonFly, from Rumko in PR 44193.
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r--graphics/sane-backends/distinfo3
-rw-r--r--graphics/sane-backends/patches/patch-af17
2 files changed, 19 insertions, 1 deletions
diff --git a/graphics/sane-backends/distinfo b/graphics/sane-backends/distinfo
index fb7d18ffd42..45f27ef25de 100644
--- a/graphics/sane-backends/distinfo
+++ b/graphics/sane-backends/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2010/09/19 15:06:18 wiz Exp $
+$NetBSD: distinfo,v 1.28 2010/12/06 12:16:03 wiz Exp $
SHA1 (sane-backends-1.0.21.tar.gz) = 4a2789ea9dae1ece090d016abd14b0f2450d9bdb
RMD160 (sane-backends-1.0.21.tar.gz) = 000ae42ffd6484c54389a9468bdde1dcfc758dde
@@ -8,4 +8,5 @@ SHA1 (patch-ab) = ab1f77b2f6e7cb691fe4e97aa6d0c8d8e4f46bc9
SHA1 (patch-ac) = 900911de5cde4a6cdc35cbc2d13371b13c596474
SHA1 (patch-ad) = ffd50b49305c05bda28de0536ca54171baff6892
SHA1 (patch-ae) = bf9b53fd5c9b74915769afe9e17bed292a8a9ed9
+SHA1 (patch-af) = 5942f1282e77caafb34711a79731b2ed975fc446
SHA1 (patch-ag) = 8155659bce4e1ce569a8a4a74131f21670c0a834
diff --git a/graphics/sane-backends/patches/patch-af b/graphics/sane-backends/patches/patch-af
new file mode 100644
index 00000000000..9eee53ab36c
--- /dev/null
+++ b/graphics/sane-backends/patches/patch-af
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.3 2010/12/06 12:16:03 wiz Exp $
+
+Fix build on DragonFly, PR pkg/44193.
+
+--- backend/epson2.h.orig 2010-04-05 13:18:04.000000000 +0000
++++ backend/epson2.h
+@@ -36,6 +36,10 @@
+ #include <sys/types.h>
+ #endif
+
++#ifdef NEED_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
+ #include <string.h> /* for memset and memcpy */
+ #include <stdio.h>
+