aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hplip/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-04 19:01:52 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-04 19:04:35 +0200
commit4931448865da576d2dd62ddb328b0a631361ef35 (patch)
tree7d41b059a986bac0092717b662d0683a7cc8bcbd /testing/hplip/fix-includes.patch
parentfbaa29e60dadca4224fa90384237d57eb101c376 (diff)
downloadaports-4931448865da576d2dd62ddb328b0a631361ef35.tar.gz
aports-4931448865da576d2dd62ddb328b0a631361ef35.tar.bz2
aports-4931448865da576d2dd62ddb328b0a631361ef35.tar.xz
testing/hplip: revive from unmaintained, and upgrade to new version
fixes #6330
Diffstat (limited to 'testing/hplip/fix-includes.patch')
-rw-r--r--testing/hplip/fix-includes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/hplip/fix-includes.patch b/testing/hplip/fix-includes.patch
new file mode 100644
index 0000000000..4389125fda
--- /dev/null
+++ b/testing/hplip/fix-includes.patch
@@ -0,0 +1,20 @@
+diff -ru hplip-3.16.10.orig/protocol/discovery/mdns.c hplip-3.16.10/protocol/discovery/mdns.c
+--- hplip-3.16.10.orig/protocol/discovery/mdns.c 2016-10-21 13:48:34.000000000 +0300
++++ hplip-3.16.10/protocol/discovery/mdns.c 2016-11-03 14:41:38.828298853 +0200
+@@ -24,10 +24,15 @@
+ Author: Sanjay Kumar
+ \*****************************************************************************/
+
+-//#include <stdio.h>
++#include <stdio.h>
++#include <ctype.h>
++#include <fcntl.h>
++#include <unistd.h>
+ #include <string.h>
+ #include <syslog.h>
++#include <malloc.h>
+ #include <sys/socket.h>
++#include <sys/select.h>
+ #include <netinet/in.h>
+ #include <netdb.h>
+ #include <arpa/inet.h>