Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[coreutils] Add large-file support. JB#44579
Signed-off-by: Matti Kosola <matti.kosola@jolla.com>
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
diff -Naur coreutils-6.9/Makefile.in coreutils-6.9-new/Makefile.in | ||
--- coreutils-6.9/Makefile.in 2007-03-22 17:20:26.000000000 -0400 | ||
+++ coreutils-6.9-new/Makefile.in 2019-01-25 01:36:58.469869151 -0500 | ||
@@ -258,6 +258,7 @@ | ||
CFLAGS = @CFLAGS@ | ||
CPP = @CPP@ | ||
CPPFLAGS = @CPPFLAGS@ | ||
+CPPFLAGS += -D_FILE_OFFSET_BITS=64 | ||
CYGPATH_W = @CYGPATH_W@ | ||
DEFAULT_POSIX2_VERSION = @DEFAULT_POSIX2_VERSION@ | ||
DEFS = @DEFS@ | ||
diff -Naur coreutils-6.9/lib/Makefile.in coreutils-6.9-new/lib/Makefile.in | ||
--- coreutils-6.9/lib/Makefile.in 2007-03-22 17:20:22.000000000 -0400 | ||
+++ coreutils-6.9-new/lib/Makefile.in 2019-01-25 01:36:58.288869079 -0500 | ||
@@ -272,6 +272,7 @@ | ||
CFLAGS = @CFLAGS@ | ||
CPP = @CPP@ | ||
CPPFLAGS = @CPPFLAGS@ | ||
+CPPFLAGS += -D_FILE_OFFSET_BITS=64 | ||
CYGPATH_W = @CYGPATH_W@ | ||
DEFAULT_POSIX2_VERSION = @DEFAULT_POSIX2_VERSION@ | ||
DEFS = @DEFS@ | ||
diff -Naur coreutils-6.9/src/Makefile.in coreutils-6.9-new/src/Makefile.in | ||
--- coreutils-6.9/src/Makefile.in 2007-03-22 17:23:20.000000000 -0400 | ||
+++ coreutils-6.9-new/src/Makefile.in 2019-01-25 01:36:58.443869140 -0500 | ||
@@ -740,6 +740,7 @@ | ||
CFLAGS = @CFLAGS@ | ||
CPP = @CPP@ | ||
CPPFLAGS = @CPPFLAGS@ | ||
+CPPFLAGS += -D_FILE_OFFSET_BITS=64 | ||
CYGPATH_W = @CYGPATH_W@ | ||
DEFAULT_POSIX2_VERSION = @DEFAULT_POSIX2_VERSION@ | ||
DEFS = @DEFS@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- mktemp-1.5/Makefile.in.orig 2019-01-24 09:32:57.765705894 -0500 | ||
+++ mktemp-1.5/Makefile.in 2019-01-24 09:33:49.539774295 -0500 | ||
@@ -54,6 +54,7 @@ | ||
|
||
# C preprocessor flags | ||
CPPFLAGS = -I$(srcdir) -I. "-DMKTEMP_VERSION=\"$(VERSION)\"" @CPPFLAGS@ | ||
+CPPFLAGS += -D_FILE_OFFSET_BITS=64 | ||
|
||
# Usually -O and/or -g | ||
CFLAGS = @CFLAGS@ |