r5663 - in glibc-package/trunk/debian: . patches/kfreebsd

2013-07-10 Thread Petr Salinger
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 

Processed: old bug has stroke its ugly head again

2013-07-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 unarchive 536506
Bug #536506 {Done: Aurelien Jarno aure...@debian.org} [glibc-doc-reference] 
glibc-doc-reference: clutters up main info directory
Unarchived Bug 536506
 found 536506 2.17-1
Bug #536506 {Done: Aurelien Jarno aure...@debian.org} [glibc-doc-reference] 
glibc-doc-reference: clutters up main info directory
Marked as found in versions glibc-doc-reference/2.17-1 and reopened.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
536506: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536506
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.137348379624567.transcr...@bugs.debian.org



Bug#536506: glibc-doc-reference: clutters up main info directory

2013-07-10 Thread Sven Joachim
On 2009-07-11 08:02 +0200, Sven Joachim wrote:

 tags 536506 + patch
 thanks

 On 2009-07-11 02:06 +0200, Aurelien Jarno wrote:

 tag 536506 + help
 thanks

 On Fri, Jul 10, 2009 at 05:56:01PM +0200, Sven Joachim wrote:
 Package: glibc-doc-reference
 Version: 2.9-1
 Severity: normal
 
 Your package puts an entry for every libc function and macro into the
 main info directory, using up more than 1700 lines.  This has been
 triggered by the transition to GNU's install-info; apparently the dpkg
 implementation ignored secondary INFO-DIR-SECTION entries.
 

 Could you have more details about what should be changed to fix that?

 There should not be a direntry for every function (upstream includes
 them on purpose, but this is a big abuse, that is what indices are
 for).  The following minimal patch avoids this:

--8---cut here---start-8---
 --- glibc-doc-reference-2.9.orig/manual/libc.texinfo
 +++ glibc-doc-reference-2.9/manual/libc.texinfo
 @@ -9,7 +9,6 @@
  @direntry
  * Libc: (libc). C library.
  @end direntry
 -@include dir-add.texi
  
  @c This tells texinfo.tex to use the real section titles in xrefs in
  @c place of the node name, when no section title is explicitly given.
--8---cut here---end---8---

Alas, this patch got lost in the 2.17-1 upload although it still
applies.  Perhaps a patch system would have avoided this problem?

Cheers,
   Sven


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8761wib48m@turtle.gmx.de