summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/recipes/patches')
-rw-r--r--sdk/recipes/patches/libcurl/7.34.0-ipv6-trynextip.p27
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/jsapi.h.p37
-rw-r--r--sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jsapi.h.p37
3 files changed, 74 insertions, 27 deletions
diff --git a/sdk/recipes/patches/libcurl/7.34.0-ipv6-trynextip.p b/sdk/recipes/patches/libcurl/7.34.0-ipv6-trynextip.p
deleted file mode 100644
index 7135203..0000000
--- a/sdk/recipes/patches/libcurl/7.34.0-ipv6-trynextip.p
+++ /dev/null
@@ -1,27 +0,0 @@
-Origin: https://github.com/bagder/curl/commit/2d435c7fb5b7691e8ca1f3052e1eb5bcd8a4ea27.diff
-
-diff --git a/lib/connect.c b/lib/connect.c
-index 33f7aec..05666eb 100644
---- lib/connect.c
-+++ lib/connect.c
-@@ -5,7 +5,7 @@
- * | (__| |_| | _ <| |___
- * \___|\___/|_| \_\_____|
- *
-- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
-+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
- *
- * This software is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
-@@ -556,7 +556,11 @@ static CURLcode trynextip(struct connectdata *conn,
- else {
- /* happy eyeballs - try the other protocol family */
- int firstfamily = conn->tempaddr[0]->ai_family;
-+#ifdef ENABLE_IPV6
- family = (firstfamily == AF_INET) ? AF_INET6 : AF_INET;
-+#else
-+ family = firstfamily;
-+#endif
- ai = conn->tempaddr[0]->ai_next;
- }
-
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/jsapi.h.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/jsapi.h.p
new file mode 100644
index 0000000..e62520b
--- /dev/null
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.7.0/jsapi.h.p
@@ -0,0 +1,37 @@
+--- js/src/jsapi.h.orig 2014-10-15 16:23:17.799241148 +0100
++++ js/src/jsapi.h 2014-10-15 16:25:08.771240608 +0100
+@@ -214,7 +214,7 @@
+ * comment in jstypes.h regarding safe int64 usage.
+ */
+ extern JS_PUBLIC_API(int64)
+-JS_Now();
++JS_Now(void);
+
+ /* Don't want to export data, so provide accessors for non-inline jsvals. */
+ extern JS_PUBLIC_API(jsval)
+@@ -971,11 +971,11 @@
+ JSEqualityOp equality;
+ JSObjectOp outerObject;
+ JSObjectOp innerObject;
+- void (*reserved0)();
+- void (*reserved1)();
+- void (*reserved2)();
+- void (*reserved3)();
+- void (*reserved4)();
++ void (*reserved0)(void);
++ void (*reserved1)(void);
++ void (*reserved2)(void);
++ void (*reserved3)(void);
++ void (*reserved4)(void);
+ };
+
+ #define JSCLASS_HAS_PRIVATE (1<<0) /* objects have private slot */
+@@ -1962,7 +1962,7 @@
+ * to get UTF-8 support.
+ */
+ JS_PUBLIC_API(JSBool)
+-JS_CStringsAreUTF8();
++JS_CStringsAreUTF8(void);
+
+ /*
+ * Character encoding support.
diff --git a/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jsapi.h.p b/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jsapi.h.p
new file mode 100644
index 0000000..e62520b
--- /dev/null
+++ b/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jsapi.h.p
@@ -0,0 +1,37 @@
+--- js/src/jsapi.h.orig 2014-10-15 16:23:17.799241148 +0100
++++ js/src/jsapi.h 2014-10-15 16:25:08.771240608 +0100
+@@ -214,7 +214,7 @@
+ * comment in jstypes.h regarding safe int64 usage.
+ */
+ extern JS_PUBLIC_API(int64)
+-JS_Now();
++JS_Now(void);
+
+ /* Don't want to export data, so provide accessors for non-inline jsvals. */
+ extern JS_PUBLIC_API(jsval)
+@@ -971,11 +971,11 @@
+ JSEqualityOp equality;
+ JSObjectOp outerObject;
+ JSObjectOp innerObject;
+- void (*reserved0)();
+- void (*reserved1)();
+- void (*reserved2)();
+- void (*reserved3)();
+- void (*reserved4)();
++ void (*reserved0)(void);
++ void (*reserved1)(void);
++ void (*reserved2)(void);
++ void (*reserved3)(void);
++ void (*reserved4)(void);
+ };
+
+ #define JSCLASS_HAS_PRIVATE (1<<0) /* objects have private slot */
+@@ -1962,7 +1962,7 @@
+ * to get UTF-8 support.
+ */
+ JS_PUBLIC_API(JSBool)
+-JS_CStringsAreUTF8();
++JS_CStringsAreUTF8(void);
+
+ /*
+ * Character encoding support.