summaryrefslogtreecommitdiff
path: root/symlinks/patches
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-24 14:48:04 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-24 14:48:04 +0400
commit98cb3b26f4043c9a83029c21855ff61b7601e611 (patch)
treee0e08eb9e6a168c65444dfc9751a522cb08b0ab3 /symlinks/patches
downloadcibs-pkgs-98cb3b26f4043c9a83029c21855ff61b7601e611.tar.gz
Initial commit from cibs/examples
Diffstat (limited to 'symlinks/patches')
-rw-r--r--symlinks/patches/largefile.diff20
-rw-r--r--symlinks/patches/manpage.diff15
2 files changed, 35 insertions, 0 deletions
diff --git a/symlinks/patches/largefile.diff b/symlinks/patches/largefile.diff
new file mode 100644
index 0000000..c62b3ca
--- /dev/null
+++ b/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/symlinks/patches/manpage.diff b/symlinks/patches/manpage.diff
new file mode 100644
index 0000000..ab28a38
--- /dev/null
+++ b/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