ports/coreutils: ignore inodes when copying

genodelabs/genode#4461
This commit is contained in:
Johannes Schlatow 2022-03-29 13:14:00 +02:00 committed by Christian Helmuth
parent 410099df70
commit e955444302
3 changed files with 20 additions and 1 deletions

View File

@ -1 +1 @@
0c59a98223ebc29b87276ea0bfcfa8892798cf32
22cd3f93c947424aa8d647b91cbeda896bff4f9c

View File

@ -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

View File

@ -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;