aboutsummaryrefslogtreecommitdiffstats
path: root/main/libwebsockets/0001-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-10 09:05:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-10 09:05:59 +0000
commit45de6ca67346c14eb6f594419e39c654aabca072 (patch)
tree2bc54a50235b8e5cdb4e523d7579451a7ee5ee9c /main/libwebsockets/0001-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch
parent632dee99596e25aed11ffa2fd7107f4dd2cf9c8b (diff)
downloadaports-45de6ca67346c14eb6f594419e39c654aabca072.tar.bz2
aports-45de6ca67346c14eb6f594419e39c654aabca072.tar.xz
main/libwebsockets: moved from testing
Diffstat (limited to 'main/libwebsockets/0001-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch')
-rw-r--r--main/libwebsockets/0001-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/libwebsockets/0001-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch b/main/libwebsockets/0001-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch
new file mode 100644
index 0000000000..8b8c4dd621
--- /dev/null
+++ b/main/libwebsockets/0001-Avoid-use-of-internal-glibc-sys-cdefs.h-header.patch
@@ -0,0 +1,37 @@
+From d60ed24fcf1da7756292d176f5f9a3de09d8e156 Mon Sep 17 00:00:00 2001
+From: "V.Krishn" <vkrishn4@gmail.com>
+Date: Sun, 8 Mar 2015 09:35:27 +0000
+Subject: [PATCH] Avoid-use-of-internal-glibc-sys-cdefs.h-header
+
+---
+ lib/private-libwebsockets.h | 1 -
+ lib/sha-1.c | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h
+index 6fae889..34b8224 100755
+--- a/lib/private-libwebsockets.h
++++ b/lib/private-libwebsockets.h
+@@ -194,7 +194,6 @@ typedef unsigned __int64 u_int64_t;
+ #else
+
+ #include <sys/stat.h>
+-#include <sys/cdefs.h>
+ #include <sys/time.h>
+
+ #if defined(__APPLE__)
+diff --git a/lib/sha-1.c b/lib/sha-1.c
+index 98b208b..bcad845 100644
+--- a/lib/sha-1.c
++++ b/lib/sha-1.c
+@@ -99,7 +99,6 @@ static const unsigned int _K[] =
+ sha1_step(ctxt); \
+ }
+
+-static void sha1_step __P((struct sha1_ctxt *));
+
+ static void
+ sha1_step(struct sha1_ctxt *ctxt)
+--
+2.2.2
+