diff --git a/repos/ports/ports/coreutils.hash b/repos/ports/ports/coreutils.hash index 452514dd32..f57aac10aa 100644 --- a/repos/ports/ports/coreutils.hash +++ b/repos/ports/ports/coreutils.hash @@ -1 +1 @@ -0c59a98223ebc29b87276ea0bfcfa8892798cf32 +22cd3f93c947424aa8d647b91cbeda896bff4f9c diff --git a/repos/ports/ports/coreutils.port b/repos/ports/ports/coreutils.port index fe3efc015b..bb61505b62 100644 --- a/repos/ports/ports/coreutils.port +++ b/repos/ports/ports/coreutils.port @@ -7,3 +7,5 @@ SHA(coreutils) := 92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f40f95 SIG(coreutils) := ${URL(coreutils)}.sig KEY(coreutils) := GNU DIR(coreutils) := src/noux-pkg/coreutils + +PATCHES := src/noux-pkg/coreutils/copy.patch diff --git a/repos/ports/src/noux-pkg/coreutils/copy.patch b/repos/ports/src/noux-pkg/coreutils/copy.patch new file mode 100644 index 0000000000..85683aa160 --- /dev/null +++ b/repos/ports/src/noux-pkg/coreutils/copy.patch @@ -0,0 +1,17 @@ ++++ src/noux-pkg/coreutils/src/cp-hash.c 2022-03-29 13:07:18.106248000 +0200 +@@ -99,6 +99,7 @@ forget_created (ino_t ino, dev_t dev) + extern char * + src_to_dest_lookup (ino_t ino, dev_t dev) + { ++ return NULL; + struct Src_to_dest ent; + struct Src_to_dest const *e; + ent.st_ino = ino; +@@ -114,6 +115,7 @@ src_to_dest_lookup (ino_t ino, dev_t dev + extern char * + remember_copied (const char *name, ino_t ino, dev_t dev) + { ++ return NULL; + struct Src_to_dest *ent; + struct Src_to_dest *ent_from_table; +