[Glibc-bsd-commits] r2367 - in trunk/glibc-ports: . kfreebsd

ps-guest at alioth.debian.org ps-guest at alioth.debian.org
Thu Feb 19 08:18:55 UTC 2009


Author: ps-guest
Date: 2009-02-19 08:18:55 +0000 (Thu, 19 Feb 2009)
New Revision: 2367

Added:
   trunk/glibc-ports/kfreebsd/check_native.c
   trunk/glibc-ports/kfreebsd/dl-sysdep.c
Modified:
   trunk/glibc-ports/gen_sysdep_patch.sh
Log:
* integrate glibc-2.8+ specific sysdeps
  


Modified: trunk/glibc-ports/gen_sysdep_patch.sh
===================================================================
--- trunk/glibc-ports/gen_sysdep_patch.sh	2009-02-09 21:12:59 UTC (rev 2366)
+++ trunk/glibc-ports/gen_sysdep_patch.sh	2009-02-19 08:18:55 UTC (rev 2367)
@@ -4,8 +4,12 @@
 
 # sysdeps dir
 tmp=`mktemp -d`
-mkdir -p ${tmp}/ports/sysdeps/unix/bsd/bsd4.4
-cp -a kfreebsd ${tmp}/ports/sysdeps/unix/bsd/bsd4.4/
-(cd ${tmp} && diff -x .svn -Nurd null ports/ ) > sysdeps.diff
+mkdir -p ${tmp}/b/ports/sysdeps/unix/bsd/bsd4.4
+cp -a kfreebsd ${tmp}/b/ports/sysdeps/unix/bsd/bsd4.4/
+(cd ${tmp} && diff -x .svn -Nurd null b/ports ) | \
+   sed -e "sz^--- null/sysdeps/unix/bsd/bsd4.4/kfreebsd/.*z--- /dev/nullz" \
+       -e "\z^diff -x .svn -Nurd null/sysdeps/unix/bsd/bsd4.4/kfreebsd/.*zd" \
+       -e "\z^+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/zsz\t20[0-9][0-9].*zz" \
+   > sysdeps.diff
 rm -rf ${tmp}
 

Added: trunk/glibc-ports/kfreebsd/check_native.c
===================================================================
--- trunk/glibc-ports/kfreebsd/check_native.c	                        (rev 0)
+++ trunk/glibc-ports/kfreebsd/check_native.c	2009-02-19 08:18:55 UTC (rev 2367)
@@ -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;
+}

Added: trunk/glibc-ports/kfreebsd/dl-sysdep.c
===================================================================
--- trunk/glibc-ports/kfreebsd/dl-sysdep.c	                        (rev 0)
+++ trunk/glibc-ports/kfreebsd/dl-sysdep.c	2009-02-19 08:18:55 UTC (rev 2367)
@@ -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




More information about the Glibc-bsd-commits mailing list