diff options
Diffstat (limited to 'examples/symlinks/patches')
-rw-r--r-- | examples/symlinks/patches/largefile.diff | 20 | ||||
-rw-r--r-- | examples/symlinks/patches/manpage.diff | 15 |
2 files changed, 35 insertions, 0 deletions
diff --git a/examples/symlinks/patches/largefile.diff b/examples/symlinks/patches/largefile.diff new file mode 100644 index 0000000..c62b3ca --- /dev/null +++ b/examples/symlinks/patches/largefile.diff @@ -0,0 +1,20 @@ +Description: Fix warning on large files + On files > 2GB on 32-bit systems, symlinks would print annyoing error + messages "Value too large for defined data type". +Author: Eduard Bloch <edi@gmx.de> +Bug-Debian: http://bugs.debian.org/167122 + +--- + symlinks.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +--- a/symlinks.c ++++ b/symlinks.c +@@ -1,3 +1,7 @@ ++#define _FILE_OFFSET_BITS 64 ++#define _LARGEFILE_SOURCE ++#define _LARGEFILE64_SOURCE ++ + #include <unistd.h> + #ifndef _POSIX_SOURCE + #define _POSIX_SOURCE diff --git a/examples/symlinks/patches/manpage.diff b/examples/symlinks/patches/manpage.diff new file mode 100644 index 0000000..ab28a38 --- /dev/null +++ b/examples/symlinks/patches/manpage.diff @@ -0,0 +1,15 @@ +Description: Fix section of the symlinks manpage +Author: Sven Joachim <svenjoac@gmx.de> + +--- + symlinks.8 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/symlinks.8 ++++ b/symlinks.8 +@@ -1,4 +1,4 @@ +-.TH SYMLINKS 8 "October 2008" "Version 1.4" ++.TH SYMLINKS 1 "October 2008" "Version 1.4" + + .SH NAME + symlinks \- symbolic link maintenance utility |