diff options
author | Balazs Vinarz | 2022-10-24 07:10:36 +0200 |
---|---|---|
committer | Balazs Vinarz | 2022-10-24 07:10:36 +0200 |
commit | 314bc620fa824576bc1288f2c508076295a6a63a (patch) | |
tree | b018e5e29ca6cf7e254365716f845df0b287b9b5 | |
parent | ef11ba5c5451095cbe6b664826fdd1f7e46eec0f (diff) | |
download | aur-314bc620fa824576bc1288f2c508076295a6a63a.tar.gz |
add gcc12 patch, muqss patch still needed
-rw-r--r-- | 0003-gcc12.patch | 31 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 34 insertions, 2 deletions
diff --git a/0003-gcc12.patch b/0003-gcc12.patch new file mode 100644 index 000000000000..797b251e7fcc --- /dev/null +++ b/0003-gcc12.patch @@ -0,0 +1,31 @@ +Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org> +Cc: Jakub Jelinek <jakub@redhat.com> + +--- + tools/lib/subcmd/subcmd-util.h | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/tools/lib/subcmd/subcmd-util.h b/tools/lib/subcmd/subcmd-util.h +index 794a375dad36..7009fc176636 100644 +--- a/tools/lib/subcmd/subcmd-util.h ++++ b/tools/lib/subcmd/subcmd-util.h +@@ -49,13 +49,12 @@ static NORETURN inline void die(const char *err, ...) + + static inline void *xrealloc(void *ptr, size_t size) + { +- void *ret = realloc(ptr, size); +- if (!ret && !size) +- ret = realloc(ptr, 1); ++ void *ret; ++ if (!size) ++ size = 1; ++ ret = realloc(ptr, size); + if (!ret) { + ret = realloc(ptr, size); +- if (!ret && !size) +- ret = realloc(ptr, 1); + if (!ret) + die("Out of memory, realloc failed"); + } +-- +2.34.1 @@ -65,8 +65,8 @@ _localmodcfg=yes ### IMPORTANT: Do no edit below this line unless you know what you're doing pkgbase=linux-ck-lts -pkgver=5.10.76 -pkgrel=3 +pkgver=5.10.90 +pkgrel=1 _ckpatchversion=1 arch=(x86_64) url="https://wiki.archlinux.org/index.php/Linux-ck" @@ -84,6 +84,7 @@ source=( "http://ck.kolivas.org/patches/5.0/5.10/5.10-ck${_ckpatchversion}/$_ckpatch.xz" 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch 0002-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_sp.patch + 0003-gcc12.patch ) validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds |