summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-21 12:54:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-21 12:54:11 +0100
commit8a9ac05d747444358820c8d2da604904fad1271e (patch)
treeb7d355dea762ae4885f773555fbcd388ab2af4de
parent272b9fb572a6b1f585cf6f4f4150b07f1c1537bf (diff)
fix build, with a patch from sabotage
-rw-r--r--package/DirectFB/Makefile2
-rw-r--r--package/DirectFB/patches/patch-lib_direct_os_linux_glibc_system_c19
2 files changed, 20 insertions, 1 deletions
diff --git a/package/DirectFB/Makefile b/package/DirectFB/Makefile
index 3c58d34a0..41da96f05 100644
--- a/package/DirectFB/Makefile
+++ b/package/DirectFB/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= DirectFB
PKG_VERSION:= 1.6.3
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_EXTRAVER:= 1.6-0
PKG_MD5SUM:= 641e8e999c017770da647f9b5b890906
PKG_DESCR:= Thin graphic library for the Linux framebuffer devices
diff --git a/package/DirectFB/patches/patch-lib_direct_os_linux_glibc_system_c b/package/DirectFB/patches/patch-lib_direct_os_linux_glibc_system_c
new file mode 100644
index 000000000..cd781b4c6
--- /dev/null
+++ b/package/DirectFB/patches/patch-lib_direct_os_linux_glibc_system_c
@@ -0,0 +1,19 @@
+--- DirectFB-1.6.3.orig/lib/direct/os/linux/glibc/system.c 2013-01-18 15:57:11.000000000 +0100
++++ DirectFB-1.6.3/lib/direct/os/linux/glibc/system.c 2013-12-21 12:48:06.000000000 +0100
+@@ -33,6 +33,7 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <unistd.h>
++#include <sys/syscall.h>
+
+ #include <linux/unistd.h>
+
+@@ -107,7 +108,7 @@ direct_tgkill( int tgid, int tid, int si
+ void
+ direct_trap( const char *domain, int sig )
+ {
+- sigval_t val;
++ union sigval val;
+
+ D_LOG( Direct_Trap, VERBOSE, "Raising signal %d from %s...\n", sig, domain );
+