[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 13/30: Fix build against glibc 2.21
From: |
Samuel Thibault |
Subject: |
[hurd] 13/30: Fix build against glibc 2.21 |
Date: |
Tue, 22 Sep 2015 21:51:58 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 918a8c2ce462cea65e3e7a614f19b4f5ae4ff1e1
Author: Samuel Thibault <address@hidden>
Date: Mon Aug 31 01:02:57 2015 +0200
Fix build against glibc 2.21
* Makeconf (CPPFLAGS): Remove -D_IO_MTSAFE_IO.
* libthreads/lockfile.c (_IO_MTSAFE_IO): Define macro.
(IS_IN): Define macro to 0.
---
Makeconf | 2 +-
libthreads/lockfile.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makeconf b/Makeconf
index ed2f6d0..b42e4c7 100644
--- a/Makeconf
+++ b/Makeconf
@@ -77,7 +77,7 @@ INCLUDES += -I.. $(top_srcdirinc)
endif
INCLUDES += -I$(..)include -I$(top_srcdir)/include
CPPFLAGS += $(INCLUDES) \
- -D_GNU_SOURCE -D_IO_MTSAFE_IO -D_FILE_OFFSET_BITS=64 \
+ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
$($*-CPPFLAGS)
CFLAGS += -std=gnu99 $(gnu89-inline-CFLAGS) -Wall -g -O3 \
$($*-CFLAGS)
diff --git a/libthreads/lockfile.c b/libthreads/lockfile.c
index eeb1a2f..dbb7c6c 100644
--- a/libthreads/lockfile.c
+++ b/libthreads/lockfile.c
@@ -17,6 +17,9 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define _IO_MTSAFE_IO
+#define IS_IN(lib) 0
+
#include <cthreads.h> /* Must come before <stdio.h>! */
#include <stdio.h>
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 05/30: Make fakeroot return file types from underly fs, (continued)
- [hurd] 05/30: Make fakeroot return file types from underly fs, Samuel Thibault, 2015/09/22
- [hurd] 07/30: ext2fs: improve ext2fs debugging, Samuel Thibault, 2015/09/22
- [hurd] 10/30: libdiskfs: fix typo, Samuel Thibault, 2015/09/22
- [hurd] 02/30: Print which path init tried to execv, Samuel Thibault, 2015/09/22
- [hurd] 11/30: libdiskfs: add missing declarations, Samuel Thibault, 2015/09/22
- [hurd] 08/30: ext2fs: provide unconditional debug macro, Samuel Thibault, 2015/09/22
- [hurd] 16/30: Make procfs accept none or proc as "device", Samuel Thibault, 2015/09/22
- [hurd] 15/30: Fix opening a fifo with O_RDWR, Samuel Thibault, 2015/09/22
- [hurd] 09/30: libdiskfs: fix parent lookup in the name cache, Samuel Thibault, 2015/09/22
- [hurd] 17/30: Also do not realpath "proc" pseudo-device, Samuel Thibault, 2015/09/22
- [hurd] 13/30: Fix build against glibc 2.21,
Samuel Thibault <=
- [hurd] 18/30: umount: Do not report errors on making the device go away, Samuel Thibault, 2015/09/22
- [hurd] 20/30: libshouldbeinlibc/maptime: use memory fences, Samuel Thibault, 2015/09/22
- [hurd] 21/30: Do not install libtrivfs mig stub headers, Samuel Thibault, 2015/09/22
- [hurd] 22/30: Install port-deref-deferred.h header for ports.h, Samuel Thibault, 2015/09/22
- [hurd] 19/30: pflocal: avoid nested function, Samuel Thibault, 2015/09/22
- [hurd] 24/30: Fix closure of local server sockets, Samuel Thibault, 2015/09/22
- [hurd] 23/30: Fix sock_bind(sock,NULL) support, Samuel Thibault, 2015/09/22
- [hurd] 29/30: Define TIME_VALUE_TO_TIMESPEC only when not defined already, Samuel Thibault, 2015/09/22
- [hurd] 25/30: Fix detection of terminated dgram pflocal server, Samuel Thibault, 2015/09/22
- [hurd] 01/30: exec: fix setting the name of early servers, Samuel Thibault, 2015/09/22