Fix PR pkg/47308

SOL_SOCKET etc. are defined in sys/socket.h on DragonFly.

I have tested on DragonFly/i386 3.0.1.

And remove empty patch file.
This commit is contained in:
ryoon 2012-12-11 16:32:36 +00:00
parent 6b20aa6b4e
commit a696eda828
3 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.34 2012/12/10 12:06:50 ryoon Exp $
$NetBSD: distinfo,v 1.35 2012/12/11 16:32:36 ryoon Exp $
SHA1 (sane-backends-1.0.23.tar.gz) = 62fc65736879f0bdb2fda20a31ee10d1ed335ae7
RMD160 (sane-backends-1.0.23.tar.gz) = af41f4b2d34aa6dae9dfc88d1dedd630f6584737
@ -6,7 +6,6 @@ Size (sane-backends-1.0.23.tar.gz) = 5342350 bytes
SHA1 (patch-aa) = ff3439b060d6aa78f63d6acd09d87499a4d7f224
SHA1 (patch-ab) = 0462997912869fe3083e1b385a478a31bc3deec0
SHA1 (patch-ac) = 900911de5cde4a6cdc35cbc2d13371b13c596474
SHA1 (patch-ad) = adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
SHA1 (patch-ae) = bf9b53fd5c9b74915769afe9e17bed292a8a9ed9
SHA1 (patch-af) = db4ba80826d76363ad28c22eea325e19868fd1e4
SHA1 (patch-ag) = 8155659bce4e1ce569a8a4a74131f21670c0a834
@ -14,5 +13,6 @@ SHA1 (patch-ah) = 6e747c3b541c9ebb57db6477ac6b6e48b1df0248
SHA1 (patch-ai) = 74f27b5a66e3dfd96337cb00a4ff3bc48804256b
SHA1 (patch-aj) = c2e0733796872f1b074d0491dea4cffa1891bccc
SHA1 (patch-ak) = f00d3773c14f9955565debc0d16231906a2bba76
SHA1 (patch-backend_kodakaio.c) = ce1f8b34f4d6128bb8fa311dd11b175fc0eefbfc
SHA1 (patch-backend_magicolor.c) = e6cbb54a0ea0e688b0189b3d07d1dff34070a179
SHA1 (patch-backend_xerox__mfp-tcp.c) = 3818b623217f15ed7f30724d1d70b1614befb88f

View file

@ -1,2 +0,0 @@
$NetBSD: patch-ad,v 1.7 2012/12/10 12:06:51 ryoon Exp $

View file

@ -0,0 +1,12 @@
$NetBSD: patch-backend_kodakaio.c,v 1.1 2012/12/11 16:32:36 ryoon Exp $
--- backend/kodakaio.c.orig 2012-08-10 00:33:29.000000000 +0000
+++ backend/kodakaio.c
@@ -165,6 +165,7 @@ normal levels. This system is a plan rat
#include <math.h>
#include <poll.h>
#include <time.h>
+#include <sys/socket.h>
#if HAVE_CUPS
/* used for auto detecting network printers */