r3107 - in glibc-package/branches/glibc-2.8/debian: . patches patches/any patches/kfreebsd
Author: ps-guest
Date: 2008-08-26 08:54:48 +0000 (Tue, 26 Aug 2008)
New Revision: 3107
Added:
glibc-package/branches/glibc-2.8/debian/patches/any/local-linuxthreads-ptw.diff
glibc-package/branches/glibc-2.8/debian/patches/kfreebsd/local-sysdeps28.diff
Modified:
glibc-package/branches/glibc-2.8/debian/changelog
glibc-package/branches/glibc-2.8/debian/patches/series
glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-amd64
glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-i386
Log:
* add any/local-linuxthreads-ptw.diff. Closes #494908.
* add kfreebsd/local-sysdeps28.diff, glibc 2.8 specific kfreebsd sysdeps
Modified: glibc-package/branches/glibc-2.8/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.8/debian/changelog 2008-08-15 21:57:37 UTC (rev 3106)
+++ glibc-package/branches/glibc-2.8/debian/changelog 2008-08-26 08:54:48 UTC (rev 3107)
@@ -109,6 +109,10 @@
* debian/sysdeps/mipsel.mk: use the correct triplet for mipsn32 and mips64
builds.
+ [ Petr Salinger ]
+ * add any/local-linuxthreads-ptw.diff. Closes #494908.
+ * add kfreebsd/local-sysdeps28.diff, glibc 2.8 specific kfreebsd sysdeps
+
-- Aurelien Jarno <aurel32@debian.org> Sat, 09 Aug 2008 21:04:41 +0200
glibc (2.7-14) unstable; urgency=low
Added: glibc-package/branches/glibc-2.8/debian/patches/any/local-linuxthreads-ptw.diff
===================================================================
--- glibc-package/branches/glibc-2.8/debian/patches/any/local-linuxthreads-ptw.diff (rev 0)
+++ glibc-package/branches/glibc-2.8/debian/patches/any/local-linuxthreads-ptw.diff 2008-08-26 08:54:48 UTC (rev 3107)
@@ -0,0 +1,11 @@
+--- a/linuxthreads/Makeconfig
++++ b/linuxthreads/Makeconfig
+@@ -9,3 +9,8 @@
+ bounded-thread-library = $(common-objpfx)linuxthreads/libpthread_b.a
+
+ rpath-dirs += linuxthreads
++
++# This makes for ptw-*.? object rules in sysd-rules.
++ptw-CPPFLAGS := -DPTW
++sysd-rules-patterns += ptw-%:%
++
Added: glibc-package/branches/glibc-2.8/debian/patches/kfreebsd/local-sysdeps28.diff
===================================================================
--- glibc-package/branches/glibc-2.8/debian/patches/kfreebsd/local-sysdeps28.diff (rev 0)
+++ glibc-package/branches/glibc-2.8/debian/patches/kfreebsd/local-sysdeps28.diff 2008-08-26 08:54:48 UTC (rev 3107)
@@ -0,0 +1,79 @@
+--- /dev/null
++++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/check_native.c
+@@ -0,0 +1,42 @@
++/* Determine whether interfaces use native transport. Dummy version.
++ Copyright (C) 2008 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. */
++
++#include <assert.h>
++#include <errno.h>
++#include <ifaddrs.h>
++#include <stddef.h>
++#include <stdint.h>
++#include <stdlib.h>
++#include <time.h>
++#include <unistd.h>
++#include <net/if.h>
++#include <net/if_arp.h>
++#include <sys/ioctl.h>
++
++#include <not-cancel.h>
++
++
++void
++__check_native (uint32_t a1_index, int *a1_native,
++ uint32_t a2_index, int *a2_native)
++{
++
++#warning __check_native() not yet implemented
++ return;
++}
+--- /dev/null
++++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/dl-sysdep.c
+@@ -0,0 +1,31 @@
++/* Dynamic linker system dependencies for GNU/kFreeBSD.
++ Copyright (C) 2008 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. */
++
++/* For SHARED, use the generic dynamic linker system interface code. */
++/* otherwise the code is in dl-support.c */
++
++#include <string.h>
++#include <fcntl.h>
++#include <unistd.h>
++#include <ldsodefs.h>
++#include <kernel-features.h>
++
++#ifdef SHARED
++# include <elf/dl-sysdep.c>
++#endif
Modified: glibc-package/branches/glibc-2.8/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.8/debian/patches/series 2008-08-15 21:57:37 UTC (rev 3106)
+++ glibc-package/branches/glibc-2.8/debian/patches/series 2008-08-26 08:54:48 UTC (rev 3107)
@@ -148,6 +148,7 @@
any/local-linuxthreads-gscope.diff
any/local-linuxthreads-lowlevellock.diff
any/local-linuxthreads-fatalprepare.diff
+any/local-linuxthreads-ptw.diff
any/local-linuxthreads-semaphore_h.diff
any/local-linuxthreads-signals.diff
any/local-linuxthreads-tst-sighandler.diff
Modified: glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-amd64
===================================================================
--- glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-amd64 2008-08-15 21:57:37 UTC (rev 3106)
+++ glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-amd64 2008-08-26 08:54:48 UTC (rev 3107)
@@ -5,4 +5,5 @@
kfreebsd/local-scripts.diff
kfreebsd/local-sys_queue_h.diff
kfreebsd/local-sysdeps.diff
+kfreebsd/local-sysdeps28.diff
kfreebsd/local-undef-glibc.diff
Modified: glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-i386
===================================================================
--- glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-i386 2008-08-15 21:57:37 UTC (rev 3106)
+++ glibc-package/branches/glibc-2.8/debian/patches/series.kfreebsd-i386 2008-08-26 08:54:48 UTC (rev 3107)
@@ -5,4 +5,5 @@
kfreebsd/local-scripts.diff
kfreebsd/local-sys_queue_h.diff
kfreebsd/local-sysdeps.diff
+kfreebsd/local-sysdeps28.diff
kfreebsd/local-undef-glibc.diff
Reply to: