packages: lvm2/lvm2-diet.patch - provide definition of (gnu-extension) cano...
pluto
pluto at pld-linux.org
Sat Nov 6 15:12:28 CET 2010
Author: pluto Date: Sat Nov 6 14:12:28 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- provide definition of (gnu-extension) canonicalize_file_name().
- include <strings.h> to avoid implicit strcasecmp() declaration
which truncates pointer arguments to 32-bit integers on 64-bit host.
---- Files affected:
packages/lvm2:
lvm2-diet.patch (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/lvm2/lvm2-diet.patch
diff -u packages/lvm2/lvm2-diet.patch:1.7 packages/lvm2/lvm2-diet.patch:1.8
--- packages/lvm2/lvm2-diet.patch:1.7 Sat Nov 6 12:41:56 2010
+++ packages/lvm2/lvm2-diet.patch Sat Nov 6 15:12:23 2010
@@ -115,7 +115,7 @@
struct logical_volume *lv;
--- LVM2.2.02.45/tools/dmsetup.c 2008-10-30 18:52:06.000000000 +0100
+++ LVM2.2.02.45-diet/tools/dmsetup.c 2009-03-18 12:47:46.000000000 +0100
-@@ -40,6 +40,21 @@
+@@ -40,6 +40,23 @@
#include <fcntl.h>
#include <sys/stat.h>
@@ -132,7 +132,9 @@
+# else
+# define UINT64_C(c) c ## ULL
+# endif
++#define canonicalize_file_name(x) realpath(x, NULL)
+#endif
++#include <strings.h>
+
/* FIXME Unused so far */
#undef HAVE_SYS_STATVFS_H
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2-diet.patch?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list