r5559 - in glibc-package/trunk/debian: . patches/kfreebsd
Author: aurel32
Date: 2013-05-07 23:26:14 +0000 (Tue, 07 May 2013)
New Revision: 5559
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
* kfreebsd/local-sysdeps.diff: update to revision 4412 (from glibc-bsd).
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2013-05-07 23:04:23 UTC (rev 5558)
+++ glibc-package/trunk/debian/changelog 2013-05-07 23:26:14 UTC (rev 5559)
@@ -13,7 +13,7 @@
conditional defines on USE___THREAD and HAVE_TLS_SUPPORT.
* patches/kfreebsd/local-linuxthreads-mutex-initializer.diff: New patch to
define MUTEX_INITIALIZER.
- * kfreebsd/local-sysdeps.diff: update to revision 4410 (from glibc-bsd).
+ * kfreebsd/local-sysdeps.diff: update to revision 4412 (from glibc-bsd).
-- Adam Conrad <adconrad@0c3.net> Tue, 07 May 2013 13:58:05 -0600
Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff 2013-05-07 23:04:23 UTC (rev 5558)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff 2013-05-07 23:26:14 UTC (rev 5559)
@@ -13099,7 +13099,7 @@
+}
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/init-first.c
-@@ -0,0 +1,135 @@
+@@ -0,0 +1,139 @@
+/* Initialization code run first thing by the ELF startup code.
+ Copyright (C) 1995-2004, 2005, 2007 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
@@ -13119,6 +13119,7 @@
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
++#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <fcntl.h>
@@ -13217,6 +13218,9 @@
+ __getopt_clean_environment (envp);
+#endif
+
++ /* Initialize ctype data. */
++ __ctype_init ();
++
+#if defined SHARED && !defined NO_CTORS_DTORS_SECTIONS
+ __libc_global_ctors ();
+#endif
@@ -25145,7 +25149,7 @@
+
+ /* Now call sysctl using the binary encoded request. */
+ return __sysctl (request, requestlen,
-+ oldval, oldlenp, newval, newlen);
++ oldval, oldlenp, (void *)newval, newlen);
+}
+
+weak_alias (__sysctlbyname, sysctlbyname)
Reply to: