r2951 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest
Date: 2008-05-21 12:44:35 +0000 (Wed, 21 May 2008)
New Revision: 2951
Added:
glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* patches/hurd-i386/submitted-termios-ONLCR.diff: new patch to fix
compilation of jove.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2008-05-18 12:05:17 UTC (rev 2950)
+++ glibc-package/trunk/debian/changelog 2008-05-21 12:44:35 UTC (rev 2951)
@@ -10,6 +10,10 @@
* Add any/cvs-regex_anchor.diff to fix performance anomaly with ^$.
closes: #475474.
+ [ Samuel Thibault ]
+ * patches/hurd-i386/submitted-termios-ONLCR.diff: new patch to fix
+ compilation of jove.
+
-- Clint Adams <schizo@debian.org> Sun, 18 May 2008 07:42:57 -0400
glibc (2.7-11) unstable; urgency=low
Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff 2008-05-21 12:44:35 UTC (rev 2951)
@@ -0,0 +1,23 @@
+2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * bits/termios.h (ONLCR): Define on __USE_XOPEN too.
+
+Index: bits/termios.h
+===================================================================
+RCS file: /cvs/glibc/libc/bits/termios.h,v
+retrieving revision 1.8
+diff -u -p -r1.8 termios.h
+--- bits/termios.h 5 May 2008 23:06:01 -0000 1.8
++++ bits/termios.h 21 May 2008 10:35:51 -0000
+@@ -135,8 +135,10 @@ struct termios
+ /* Output modes. */
+ tcflag_t c_oflag;
+ #define OPOST (1 << 0) /* Perform output processing. */
+-#ifdef __USE_BSD
++#if defined __USE_BSD || defined __USE_XOPEN
+ # define ONLCR (1 << 1) /* Map NL to CR-NL on output. */
++#endif
++#ifdef __USE_BSD
+ # define OXTABS TAB3 /* Expand tabs to spaces. */
+ # define ONOEOT (1 << 3) /* Discard EOT (^D) on output. */
+ #endif
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2008-05-18 12:05:17 UTC (rev 2950)
+++ glibc-package/trunk/debian/patches/series 2008-05-21 12:44:35 UTC (rev 2951)
@@ -100,6 +100,7 @@
hurd-i386/cvs-df.diff
hurd-i386/cvs-blocked-exceptions.diff
hurd-i386/cvs-termios.diff
+hurd-i386/submitted-termios-ONLCR.diff -p0
i386/cvs-short-for-fnstsw.diff -p1
i386/local-biarch.diff
Reply to: