summaryrefslogtreecommitdiffstats
path: root/master/fix-build-misery
diff options
context:
space:
mode:
authorJames <>2021-02-20 18:33:43 +0000
committerJames <>2021-02-20 18:33:43 +0000
commit2839d30c0335f0215405644aaa35bbfd16f062e9 (patch)
treeaf826dab9c7649488bb6fc6d39e5ae6d6c7857a6 /master/fix-build-misery
downloadmaster-04a21c2-pq-master.tar.gz
master-04a21c2-pq-master.tar.bz2
master-04a21c2-pq-master.zip
everything happyHEADmaster
Diffstat (limited to 'master/fix-build-misery')
-rw-r--r--master/fix-build-misery34
1 files changed, 34 insertions, 0 deletions
diff --git a/master/fix-build-misery b/master/fix-build-misery
new file mode 100644
index 0000000..10e089f
--- /dev/null
+++ b/master/fix-build-misery
@@ -0,0 +1,34 @@
+diff --git a/package/libs/openssl/patches/999-dont-ar-on-so.patch b/package/libs/openssl/patches/999-dont-ar-on-so.patch
+new file mode 100644
+index 0000000..259b93a
+--- /dev/null
++++ b/package/libs/openssl/patches/999-dont-ar-on-so.patch
+@@ -0,0 +1,11 @@
++--- openssl-1.1.1d/Configurations/unix-Makefile.tmpl 2019-09-10 14:13:07.000000000 +0100
+++++ openssl-1.1.1d/Configurations/unix-Makefile.tmpl 2019-09-10 14:13:07.000000000 +0100
++@@ -650,7 +650,7 @@
++ $(AR) r $$a.new $$so; \
++ done; \
++ )); fi; \
++- $(AR) r $$a.new $$s1; \
+++ echo $(AR) r $$a.new $$s1; \
++ mv -f $$a.new $$a; \
++ : {- output_off() if sharedaix(); output_on(); "" -}; \
++ done
+diff --git a/package/system/fwtool/patches/100-grumpy-compiler.patch b/package/system/fwtool/patches/100-grumpy-compiler.patch
+new file mode 100644
+index 0000000..96d56bf
+--- /dev/null
++++ b/package/system/fwtool/patches/100-grumpy-compiler.patch
+@@ -0,0 +1,11 @@
++--- fwtool-2019-11-09-9d9d4c28/fwtool.c 2019-11-09 13:28:09.000000000 +0000
+++++ fwtool-2019-11-09-9d9d4c28/fwtool.c 2019-11-09 13:28:09.000000000 +0000
++@@ -285,7 +285,7 @@
++ {
++ struct fwimage_header *hdr;
++ struct fwimage_trailer tr;
++- struct data_buf dbuf = {};
+++ struct data_buf dbuf = { 0 };
++ uint32_t crc32 = ~0;
++ int data_len = 0;
++ int ret = 1;