Skip to content

Instantly share code, notes, and snippets.

@kraj
kraj / auh.sh
Last active November 3, 2023 23:06
Apply AUH generated patches from patchwork
#!/bin/bash
if [ $# -lt 1 ]; then
echo "specify atleast one patch ID from patchwork"
echo "$0 <pnum1> <pnum2> ..."
exit
fi
i=1;
j=$#;
while [ $i -le $j ]
From 2089b514045d2de64a5d9c54e241731e85d77df2 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 14 Dec 2020 22:11:59 -0800
Subject: [PATCH] makefile.am: Fix build when build dir is not same as
sourcedir
This ensures right include paths are added to compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
DESCRIPTION = "github.com/influxdata/influxdb"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=f39a8d10930fb37bd59adabb3b9d0bd6"
DEPENDS += "gdm-native mercurial-native git-native"
GO_IMPORT = "github.com/influxdata/influxdb"
GOBUILDFLAGS_remove = "-buildmode=pie"
inherit go go-mod pythonnative systemd
BRANCH = "nobranch=1"
{
"strategy": "additive",
"collationUCAData": "implicithan",
"featureFilters": {
"brkitr_rules": "include",
"brkitr_dictionaries": "include",
"brkitr_tree": "include",
"coll_ucadata": "include",
"coll_tree": "include",
"misc": "include",
| HOSTCC scripts/basic/fixdep
| GEN ./Makefile
| HOSTCC scripts/kconfig/conf.o
| SHIPPED scripts/kconfig/zconf.tab.c
| SHIPPED scripts/kconfig/zconf.lex.c
| SHIPPED scripts/kconfig/zconf.hash.c
| HOSTCC scripts/kconfig/zconf.tab.o
| /bin/sh: scripts/basic/fixdep: Permission denied
| scripts/Makefile.host:124: recipe for target 'scripts/kconfig/zconf.tab.o' failed
| make[3]: *** [scripts/kconfig/zconf.tab.o] Error 126
From c35a3f519007af44c3b364b9af86f6a336f6411b Mon Sep 17 00:00:00 2001
From: Thiago Macieira <thiago.macieira@intel.com>
Date: Tue, 11 Feb 2014 16:17:46 -0800
Subject: [PATCH] Redo the Q_FOREACH loop control without GCC statement
expressions
It's possible to do without them, which probably makes the number of
supported compilers a lot bigger: they just need to support decltype()
or __typeof__.
PRAUTO$devmem2-1.0-r7$cortexa7t2hf-neon-vfpv4$22bbfca80882d179d06e1b22bbbee0253e7cbbc5eab5f1c1af107947409b1da2 = "0"
PRAUTO_devmem2-1.0-r7_cortexa7t2hf-neon-vfpv4 = "0"
PRAUTO$linux-firmware-rpidistro-20190114-1+rpt6-r0$all$30e8247e479b7757543a289cf7c4001f0f0948f71ac8518191ff8a58e0619e03 = "0"
PRAUTO_linux-firmware-rpidistro-20190114-1+rpt6-r0_all = "0"
PRAUTO$bluez-firmware-rpidistro-0.0+gitAUTOINC+96eefffccc-r0$all$fd7be13d8d19075e0e50b093f5ee78efea8864e09e4c113329cb15540e1a9bc7 = "0"
PRAUTO_bluez-firmware-rpidistro-0.0+gitAUTOINC+96eefffccc-r0_all = "0"
PRAUTO$AUTOINC-bluez-firmware-rpidistro-0.0+git$all$AUTOINC+96eefffccc = "0"
PRAUTO_AUTOINC-bluez-firmware-rpidistro-0.0+git_all = "0"
PRAUTO$linux-raspberrypi-1_4.19.115+gitAUTOINC+b13fc60b52-r0$raspberrypi3$79743e4dac382899510b9d85f2eedcba7aeecb9101ea84e56ebbc4087920d4e2 = "2"
PRAUTO_linux-raspberrypi-1_4.19.115+gitAUTOINC+b13fc60b52-r0_raspberrypi3 = "2"
From 34a875d3116a80cd2cf444e28a8fe6f2a03de5d2 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 9 Mar 2020 16:30:19 -0700
Subject: [PATCH V2] memcheck/tests: Fix timerfd syscall test
modern libc provides these functions, moreover this also ensures that we
are 64bit time_t safe. Fallback to existing definitions if libc does not
have the implementation or syscall is not defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
From adb6a03fc801d51a1c1b8af8ad81f4cd486147b3 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 9 Mar 2020 16:30:19 -0700
Subject: [PATCH] memcheck/tests: Fix timerfd syscall test
modern libc provides these functions, moreover this also ensures that we
are 64bit time_t safe. Fallback to existing definitions if libc does not
have the implementation or syscall is not defined
Upstream-Status: Submitted [https://sourceforge.net/p/valgrind/mailman/message/36943866/]
From eda817d365c2d02877c47e547209d1d2a7d96dba Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 9 Mar 2020 16:30:19 -0700
Subject: [PATCH] memcheck/tests: Fix timerfd syscall test
modern libc provides these functions, moreover this also ensures that we
are 64bit time_t safe. Fallback to existing definitions if libc does not
have the implementation or syscall is not defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>