r68 - in lvm2/trunk/debian: . include include/alpha include/alpha/bits include/arm include/arm/bits include/hppa include/hppa/bits include/i386 include/i386/bits include/ia64 include/ia64/bits include/m68k include/m68k/bits include/mips include/mips/bits include/mipsel include/mipsel/bits include/powerpc include/powerpc/bits include/s390 include/s390/bits include/sparc include/sparc/bits

Bastian Blank pkg-lvm-maintainers@lists.alioth.debian.org
Tue, 08 Mar 2005 11:17:26 +0100


Author: waldi
Date: Tue Mar  8 11:17:25 2005
New Revision: 68

Added:
   lvm2/trunk/debian/include/
   lvm2/trunk/debian/include/alpha/
   lvm2/trunk/debian/include/alpha/bits/
   lvm2/trunk/debian/include/alpha/bits/fcntl.h
   lvm2/trunk/debian/include/arm/
   lvm2/trunk/debian/include/arm/bits/
   lvm2/trunk/debian/include/arm/bits/fcntl.h
   lvm2/trunk/debian/include/hppa/
   lvm2/trunk/debian/include/hppa/bits/
   lvm2/trunk/debian/include/hppa/bits/fcntl.h
   lvm2/trunk/debian/include/i386/
   lvm2/trunk/debian/include/i386/bits/
   lvm2/trunk/debian/include/i386/bits/fcntl.h
   lvm2/trunk/debian/include/ia64/
   lvm2/trunk/debian/include/ia64/bits/
   lvm2/trunk/debian/include/ia64/bits/fcntl.h
   lvm2/trunk/debian/include/m68k/
   lvm2/trunk/debian/include/m68k/bits/
   lvm2/trunk/debian/include/m68k/bits/fcntl.h
   lvm2/trunk/debian/include/mips/
   lvm2/trunk/debian/include/mips/bits/
   lvm2/trunk/debian/include/mips/bits/fcntl.h
   lvm2/trunk/debian/include/mipsel/
   lvm2/trunk/debian/include/mipsel/bits/
   lvm2/trunk/debian/include/mipsel/bits/fcntl.h
   lvm2/trunk/debian/include/powerpc/
   lvm2/trunk/debian/include/powerpc/bits/
   lvm2/trunk/debian/include/powerpc/bits/fcntl.h
   lvm2/trunk/debian/include/s390/
   lvm2/trunk/debian/include/s390/bits/
   lvm2/trunk/debian/include/s390/bits/fcntl.h
   lvm2/trunk/debian/include/sparc/
   lvm2/trunk/debian/include/sparc/bits/
   lvm2/trunk/debian/include/sparc/bits/fcntl.h
Modified:
   lvm2/trunk/debian/changelog
   lvm2/trunk/debian/rules
Log:
* debian/changelog: Update.
* debian/include: Add to workaround missing O_NOATIME.
* debian/rules: Use new include dir.
Closes: 297010


Modified: lvm2/trunk/debian/changelog
==============================================================================
--- lvm2/trunk/debian/changelog	(original)
+++ lvm2/trunk/debian/changelog	Tue Mar  8 11:17:25 2005
@@ -1,3 +1,9 @@
+lvm2 (2.01.04-3) UNRELEASED; urgency=low
+
+  * Workaround missing O_NOATIME. (closes: #297010)
+
+ -- Bastian Blank <waldi@debian.org>  Tue, 08 Mar 2005 11:02:25 +0100
+
 lvm2 (2.01.04-2) unstable; urgency=low
 
   * New maintainer.

Added: lvm2/trunk/debian/include/alpha/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/alpha/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME	04000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/arm/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/arm/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME     01000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/hppa/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/hppa/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME	04000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/i386/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/i386/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME     01000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/ia64/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/ia64/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME     01000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/m68k/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/m68k/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME     01000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/mips/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/mips/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME	0x40000	/* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/mipsel/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/mipsel/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME	0x40000	/* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/powerpc/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/powerpc/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME     01000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/s390/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/s390/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME     01000000 /* Do not set atime.  */
+#endif

Added: lvm2/trunk/debian/include/sparc/bits/fcntl.h
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/include/sparc/bits/fcntl.h	Tue Mar  8 11:17:25 2005
@@ -0,0 +1,5 @@
+#include_next <bits/fcntl.h>
+
+#ifdef __USE_GNU
+# define O_NOATIME	0x200000 /* Do not set atime.  */
+#endif

Modified: lvm2/trunk/debian/rules
==============================================================================
--- lvm2/trunk/debian/rules	(original)
+++ lvm2/trunk/debian/rules	Tue Mar  8 11:17:25 2005
@@ -16,6 +16,8 @@
         DEB_CONFIGURE_EXTRA_FLAGS := --disable-o_direct
 endif
 
+CFLAGS += -I$(CURDIR)/debian/include/$(DEB_ARCH)
+
 DEB_CONFIGURE_PREFIX = /
 DEB_CONFIGURE_MANDIR = "\$${prefix}/usr/share/man"
 DEB_CONFIGURE_INFODIR = "\$${prefix}/usr/share/info"