Author: ps-guest
Date: 2013-07-10 05:52:02 + (Wed, 10 Jul 2013)
New Revision: 5663
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
kfreebsd/local-sysdeps.diff: update to revision 4727 (from glibc-bsd).
Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-07-09 20:07:42 UTC (rev
5662)
+++ glibc-package/trunk/debian/changelog2013-07-10 05:52:02 UTC (rev
5663)
@@ -10,11 +10,11 @@
* hurd-i386/tg-tls.diff: Move some hooks to tg-tls-threadvar.diff.
[ Petr Salinger ]
- * kfreebsd/local-sysdeps.diff: update to revision 4717 (from glibc-bsd).
* split some parts of kfreebsd/local-linuxthreads29.diff
into kfreebsd/local-nscd-no-sockcloexec.diff and
kfreebsd/local-linuxthreads-tlsdesc.diff
* add kfreebsd/local-fbtl.diff and kfreebsd/local-fbtl-depends.diff
+ * kfreebsd/local-sysdeps.diff: update to revision 4727 (from glibc-bsd).
-- Aurelien Jarno aure...@debian.org Sun, 30 Jun 2013 01:45:35 +0200
Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
2013-07-09 20:07:42 UTC (rev 5662)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
2013-07-10 05:52:02 UTC (rev 5663)
@@ -545,7 +545,7 @@
+weak_alias (__access, access)
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/aio_sigqueue.c
-@@ -0,0 +1,36 @@
+@@ -0,0 +1,40 @@
+/* Copyright (C) 2013 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
@@ -580,7 +580,11 @@
+ const union sigval val;
+ pid_t caller_pid;
+{
++#ifdef NOT_IN_libc
+return sigqueue(caller_pid, sig, val);
++#else
++return __sigqueue(caller_pid, sig, val);
++#endif
+}
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bind.c
@@ -6939,7 +6943,7 @@
+pthread
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/fbtl/Makefile
-@@ -0,0 +1,59 @@
+@@ -0,0 +1,62 @@
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+# Contributed by Ulrich Drepper drep...@redhat.com, 2002.
@@ -6985,6 +6989,9 @@
+libpthread-routines += ptw-sys_thr_self
+libpthread-routines += ptw-sys_thr_set_name
+libpthread-routines += ptw-sys_thr_exit
++libpthread-routines += ptw-exit-thread
++libpthread-routines += ptw-sigprocmask
++libpthread-routines += ptw-ioctl
+endif
+
+ifeq ($(subdir),posix)
@@ -7001,7 +7008,7 @@
+CFLAGS-sigaction.c = -DWRAPPER_INCLUDE='fbtl/sigaction.c'
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/fbtl/Versions
-@@ -0,0 +1,19 @@
+@@ -0,0 +1,16 @@
+libc {
+ GLIBC_2.3.2 {
+__register_atfork;
@@ -7011,12 +7018,9 @@
+__libc_current_sigrtmin_private; __libc_current_sigrtmax_private;
+__libc_allocate_rtsig_private;
+# needed by pthread library
-+__exit_thread;
+__syscall_sigprocmask;
+__syscall_sigwaitinfo;
-+__sigprocmask;
+__syscall_sigsuspend;
-+__ioctl;
+__syscall_sigaction;
+__syscall__umtx_op;
+ }
@@ -11552,7 +11556,7 @@
+libc_hidden_def (__fxstatat64)
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/gai_sigqueue.c
-@@ -0,0 +1,36 @@
+@@ -0,0 +1,40 @@
+/* Copyright (C) 2013 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
@@ -11587,7 +11591,11 @@
+ const union sigval val;
+ pid_t caller_pid;
+{
++#ifdef NOT_IN_libc
+return sigqueue(caller_pid, sig, val);
++#else
++return __sigqueue(caller_pid, sig, val);
++#endif
+}
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/getcwd.c
@@ -12889,7 +12897,7 @@
+#include sysdeps/gnu/glob64.c
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/grantpt.c
-@@ -0,0 +1,34 @@
+@@ -0,0 +1,36 @@
+#include assert.h
+#include ctype.h
+#include dirent.h
@@ -12903,6 +12911,8 @@
+
+#include pty-private.h
+
++int __syscall_closefrom(int fd);
++libc_hidden_proto (__syscall_closefrom)
+
+/* Close all file descriptors except the one specified. */
+static void
@@ -12913,7 +12923,7 @@
+for (i = 0 ; i PTY_FILENO; i++)
+close_not_cancel_no_status (i);
+
-+syscall(SYS_closefrom, PTY_FILENO + 1L);
++INLINE_SYSCALL(closefrom, 1, PTY_FILENO + 1L);
+
+int nullfd = open_not_cancel_2 (_PATH_DEVNULL, O_RDONLY);
+assert (nullfd == STDIN_FILENO);
@@ -19949,7 +19959,7 @@
+#endif/* net/ethernet.h */
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/net/if.h
-@@ -0,0 +1,451 @@
+@@ -0,0 +1,458 @@
+/*-
+ * Copyright (c) 1982, 1986, 1989, 1993
+ *The Regents of the University of California. All rights reserved.
@@ -20162,12 +20172,19 @@
+#define IFCAP_POLLING_NOCOUNT 0x2 /* polling ticks cannot be fragmented