uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
18
pkgs/tools/backup/percona-xtrabackup/abi-check.patch
Normal file
18
pkgs/tools/backup/percona-xtrabackup/abi-check.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
MySQL ABI check assumes that with -nostdinc any standard #include terminates
|
||||
preprocessing, but we do not provide that:
|
||||
https://github.com/NixOS/nixpkgs/issues/44530
|
||||
|
||||
"#error" does not terminate preprocessing, so we #include a non-existent file instead.
|
||||
|
||||
--- a/cmake/do_abi_check.cmake
|
||||
+++ b/cmake/do_abi_check.cmake
|
||||
@@ -68,1 +68,1 @@ FOREACH(file ${ABI_HEADERS})
|
||||
- -E -nostdinc -dI -DMYSQL_ABI_CHECK -I${SOURCE_DIR}/include
|
||||
+ -E -nostdinc -dI -DMYSQL_ABI_CHECK -I${SOURCE_DIR}/include/nostdinc -I${SOURCE_DIR}/include
|
||||
@@ -74,1 +74,1 @@ FOREACH(file ${ABI_HEADERS})
|
||||
- COMMAND sed -e "/^# /d"
|
||||
+ COMMAND sed -e "/^# /d" -e "/^#include <-nostdinc>$/d"
|
||||
--- /dev/null
|
||||
+++ b/include/nostdinc/stdint.h
|
||||
@@ -0,0 +1,1 @@
|
||||
+#include <-nostdinc>
|
||||
Loading…
Add table
Add a link
Reference in a new issue