From ea76b80108b4c292379e37e01cdbb9d984d74759 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 18 Jul 2012 22:48:50 +0200 Subject: classpath: update to version 0.99 * switch to INC_PR for native and initial * clean up dependencies * inherit gettext class instead of depeding directly on the package * clean up patches --- .../classpath/classpath-0.98/javanet-local.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 recipes-core/classpath/classpath-0.98/javanet-local.patch (limited to 'recipes-core/classpath/classpath-0.98/javanet-local.patch') diff --git a/recipes-core/classpath/classpath-0.98/javanet-local.patch b/recipes-core/classpath/classpath-0.98/javanet-local.patch deleted file mode 100644 index b8d1584..0000000 --- a/recipes-core/classpath/classpath-0.98/javanet-local.patch +++ /dev/null @@ -1,37 +0,0 @@ -Index: native/jni/java-net/local.c -=================================================================== -RCS file: /sources/classpath/classpath/native/jni/java-net/local.c,v -retrieving revision 1.4 -diff -u -r1.4 local.c ---- native/jni/java-net/local.c 17 Apr 2007 21:46:27 -0000 1.4 -+++ native/jni/java-net/local.c 27 Jun 2008 13:14:40 -0000 -@@ -73,27 +73,18 @@ - return socket (PF_UNIX, stream ? SOCK_STREAM : SOCK_DGRAM, 0); - } - --static int gcc_sucks = 0; -- - int - local_bind (int fd, const char *addr) - { - struct sockaddr_un saddr; - -- /* For some reason, GCC 4.0.1 on Darwin/x86 MODIFIES the `addr' -- pointer in the CALLER's STACK FRAME after calling this function, -- but if we add this statement below, it doesn't! */ -- if (gcc_sucks) -- fprintf (stderr, "bind %p\n", addr); -- -- if (strlen (addr) > sizeof (saddr.sun_path)) -+ if (strlen (addr) >= sizeof (saddr.sun_path)) - { - errno = ENAMETOOLONG; - return -1; - } - -- strncpy (saddr.sun_path, addr, sizeof (saddr.sun_path)); -- saddr.sun_path[sizeof (saddr.sun_path)] = '\0'; -+ strcpy (saddr.sun_path, addr); - saddr.sun_family = AF_LOCAL; - - return bind (fd, (struct sockaddr *) &saddr, SUN_LEN (&saddr)); -- cgit v1.2.3-54-g00ecf