summaryrefslogtreecommitdiffstats
path: root/readycc.patch
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-03-13 17:25:51 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-03-13 17:29:44 +0100
commite3cc152247ed702ab650a886d554ef244bccecf4 (patch)
treee85ab648228a1ebd0d0e5fc9cb62f0060718db56 /readycc.patch
parentImport from official repositories (diff)
downloadpkgbuilds-e3cc152247ed702ab650a886d554ef244bccecf4.tar.gz
pkgbuilds-e3cc152247ed702ab650a886d554ef244bccecf4.tar.zst
pkgbuilds-e3cc152247ed702ab650a886d554ef244bccecf4.zip
Add READYCC patch from https://stackoverflow.com/a/62457597delegate
Diffstat (limited to 'readycc.patch')
-rw-r--r--readycc.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/readycc.patch b/readycc.patch
new file mode 100644
index 0000000..399c9c0
--- /dev/null
+++ b/readycc.patch
@@ -0,0 +1,29 @@
1diff -r -c1 orig/delegate9.9.13/include/fpoll.h delegate9.9.13/include/fpoll.h
2*** orig/delegate9.9.13/include/fpoll.h Sun May 18 05:11:20 2014
3--- delegate9.9.13/include/fpoll.h Fri Jun 19 12:16:16 2020
4***************
5*** 7,8 ****
6--- 7,9 ----
7 */
8+ #define _LIBIO_H // @2020-0619, @SatoxITS @ITS-more
9 #ifdef __linux__
10diff -r -c1 orig/delegate9.9.13/include/ystring.h delegate9.9.13/include/ystring.h
11*** orig/delegate9.9.13/include/ystring.h Sun Aug 10 17:29:50 2014
12--- delegate9.9.13/include/ystring.h Fri Jun 19 12:15:15 2020
13***************
14*** 1502,1503 ****
15--- 1502,1514 ----
16
17+ // the shortest patch for comilation of delegate9.9.13 on recent Linuxes
18+ // @2020-0619, @SatoxITS, @ITS-more
19+ #pragma GCC diagnostic ignored "-Wparentheses"
20+ #pragma GCC diagnostic ignored "-Wcomment"
21+ #pragma GCC diagnostic ignored "-Wunused-result"
22+ #pragma GCC diagnostic ignored "-Wunused-value"
23+ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
24+ #pragma GCC diagnostic ignored "-Wformat-extra-args"
25+ #pragma GCC diagnostic ignored "-Wnarrowing"
26+ #pragma GCC diagnostic ignored "-Wstringop-overflow=" // for Pi
27+
28 #endif /* _YSTRING_H */
29