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

2009-12-21 Thread Petr Salinger
Author: ps-guest
Date: 2009-12-21 10:17:39 + (Mon, 21 Dec 2009)
New Revision: 4029

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
* kfreebsd/local-sysdeps.diff: update to revision 2904 (from glibc-bsd), needed 
for gdb



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-12-20 21:06:48 UTC (rev 
4028)
+++ glibc-package/trunk/debian/changelog2009-12-21 10:17:39 UTC (rev 
4029)
@@ -7,7 +7,6 @@
 them and then starting them again.  Closes: #211784.
   * Use gcc/g++-4.4 on hppa, hurd-i386, mips and mipsel.
   * Mention EGLIBC in packages description.  Closes: #559121.
-  * kfreebsd/local-sysdeps.diff: update to revision 2977 (from glibc-bsd).
   * Add support for sparc64 architecture. 
   * debian/sysdeps/mips.mk, debian/sysdeps/mipsel.mk: remove hack to support
 buildds kernels now that they have been upgraded.
@@ -19,6 +18,9 @@
   * patches/hurd-i386/submitted-getcwd.diff: Add patch to fix spurious port
 deallocation.
 
+  [ Petr Salinger]
+  * kfreebsd/local-sysdeps.diff: update to revision 2904 (from glibc-bsd).
+
  -- Aurelien Jarno aure...@debian.org  Wed, 16 Dec 2009 18:15:41 +0100
 
 eglibc (2.10.2-2) unstable; urgency=low

Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2009-12-20 21:06:48 UTC (rev 4028)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2009-12-21 10:17:39 UTC (rev 4029)
@@ -5907,7 +5907,7 @@
 +
 +__dev_t st_rdev;  /* Device number, if device.  */
 +
-+#ifdef __USE_MISC
++#if defined __USE_MISC || defined __USE_XOPEN2K8
 +/* Nanosecond resolution timestamps are stored in a format
 +   equivalent to 'struct timespec'.  This is the type used
 +   whenever possible but the Unix namespace rules do not allow the
@@ -5957,7 +5957,7 @@
 +
 +__dev_t st_rdev;  /* Device number, if device.  */
 +
-+#ifdef __USE_MISC
++#if defined __USE_MISC || defined __USE_XOPEN2K8
 +/* Nanosecond resolution timestamps are stored in a format
 +   equivalent to 'struct timespec'.  This is the type used
 +   whenever possible but the Unix namespace rules do not allow the
@@ -22055,136 +22055,117 @@
 +
 --- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/sys/ptrace.h
-@@ -0,0 +1,132 @@
-+/* `ptrace' debugger support interface.  FreeBSD version.
-+   Copyright (C) 1996-1999, 2000, 2002 Free Software Foundation, Inc.
-+   This file is part of the GNU C Library.
-+
-+   The GNU C Library is free software; you can redistribute it and/or
-+   modify it under the terms of the GNU Lesser General Public
-+   License as published by the Free Software Foundation; either
-+   version 2.1 of the License, or (at your option) any later version.
-+
-+   The GNU C Library is distributed in the hope that it will be useful,
-+   but WITHOUT ANY WARRANTY; without even the implied warranty of
-+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-+   Lesser General Public License for more details.
-+
-+   You should have received a copy of the GNU Lesser General Public
-+   License along with the GNU C Library; if not, write to the Free
-+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-+   02111-1307 USA.  */
-+
+@@ -0,0 +1,113 @@
++/*-
++ * Copyright (c) 1984, 1993
++ *The Regents of the University of California.  All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *notice, this list of conditions and the following disclaimer in the
++ *documentation and/or other materials provided with the distribution.
++ * 4. Neither the name of the University nor the names of its contributors
++ *may be used to endorse or promote products derived from this software
++ *without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF 

r4030 - in glibc-package/trunk/debian: . patches patches/hurd-i386

2009-12-21 Thread Samuel Thibault
Author: sthibault
Date: 2009-12-22 03:27:53 + (Tue, 22 Dec 2009)
New Revision: 4030

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-setsid.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/hurd-i386/submitted-setsid.diff: Add patch to fix bogus port
deallocation.


Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-12-21 10:17:39 UTC (rev 
4029)
+++ glibc-package/trunk/debian/changelog2009-12-22 03:27:53 UTC (rev 
4030)
@@ -15,8 +15,10 @@
   * testsuite-checking/expected-results-i486-linux-gnu-libc: Add hurd-i386
 testsuite results.
   * sysdeps/hurd.mk: Enable testsuite.
-  * patches/hurd-i386/submitted-getcwd.diff: Add patch to fix spurious port
+  * patches/hurd-i386/submitted-getcwd.diff: Add patch to fix duplicate port
 deallocation.
+  * patches/hurd-i386/submitted-setsid.diff: Add patch to fix bogus port
+deallocation.
 
   [ Petr Salinger]
   * kfreebsd/local-sysdeps.diff: update to revision 2904 (from glibc-bsd).

Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-setsid.diff
===
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-setsid.diff  
(rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-setsid.diff  
2009-12-22 03:27:53 UTC (rev 4030)
@@ -0,0 +1,17 @@
+Fix bogus port deallocation due to uninitialized variable
+
+---
+ hurdioctl.c |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- eglibc-2.10.2-orig/hurd/hurdioctl.c2006-08-17 02:18:26.0 
+0100
 eglibc-2.10.2/hurd/hurdioctl.c 2009-12-22 03:13:05.0 +
+@@ -169,7 +169,7 @@
+   for (i = 0; i  _hurd_dtablesize; ++i)
+ {
+   struct hurd_fd *const d = _hurd_dtable[i];
+-  mach_port_t newctty;
++  mach_port_t newctty = MACH_PORT_NULL;
+ 
+   if (d == NULL)
+   /* Nothing to do for an unused descriptor cell.  */

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2009-12-21 10:17:39 UTC (rev 
4029)
+++ glibc-package/trunk/debian/patches/series   2009-12-22 03:27:53 UTC (rev 
4030)
@@ -110,6 +110,7 @@
 hurd-i386/local-bigmem.diff
 hurd-i386/local-disable-ioctls.diff
 hurd-i386/submitted-getcwd.diff
+hurd-i386/submitted-setsid.diff
 
 ia64/submitted-sysconf.diff
 ia64/submitted-libm.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org