aboutsummaryrefslogtreecommitdiff
path: root/package/bsdiff
diff options
context:
space:
mode:
authorGravatar Jörg Krause <joerg.krause@embedded.rocks>2015-04-30 20:32:55 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-01 10:03:40 +0200
commit67fdbf3818db6bb5bd64436275b0ca375406c992 (patch)
tree8d6d7c9909c564f17c8c12e2b3650baccd3563d2 /package/bsdiff
parent357d0c92a28b1e9255bdba45b38c4b63f3d6ea61 (diff)
downloadbuildroot-67fdbf3818db6bb5bd64436275b0ca375406c992.tar.gz
buildroot-67fdbf3818db6bb5bd64436275b0ca375406c992.tar.bz2
package/bsdiff: add patch to fix missing header for u_char
Fix missing header <sys/types.h> for u_char in bspatch.c. Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/ Patch not sent upstream - no maintainer mail address or repository found. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bsdiff')
-rw-r--r--package/bsdiff/0001-Add-missing-header-for-u_char.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/bsdiff/0001-Add-missing-header-for-u_char.patch b/package/bsdiff/0001-Add-missing-header-for-u_char.patch
new file mode 100644
index 0000000000..56affb4102
--- /dev/null
+++ b/package/bsdiff/0001-Add-missing-header-for-u_char.patch
@@ -0,0 +1,17 @@
+bspatch: Fix missing header <sys/types.h> for u_char
+
+Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/
+
+Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
+
+diff -purN bsdiff-4.3.orig/bspatch.c bsdiff-4.3/bspatch.c
+--- bsdiff-4.3.orig/bspatch.c 2015-04-30 13:47:26.485903359 +0200
++++ bsdiff-4.3/bspatch.c 2015-04-30 13:48:14.808908672 +0200
+@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/b
+ #include <err.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <sys/types.h>
+
+ static off_t offtin(u_char *buf)
+ {