From ebb48cb369db08de37cc7bf0f51be541b3c0f3c7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Jun 2006 04:21:44 +0000 Subject: fix from upstream #133992 --- ..._all_arm-glibc-2.3.6-socket-no-weak-alias.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch (limited to 'src/patchsets/glibc/2.3.6') diff --git a/src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch b/src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch new file mode 100644 index 0000000000..7c73647c4f --- /dev/null +++ b/src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch @@ -0,0 +1,26 @@ +2005-10-27 Daniel Jacobowitz + + * sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS. + +--- ports/sysdeps/unix/sysv/linux/arm/socket.S ++++ ports/sysdeps/unix/sysv/linux/arm/socket.S +@@ -32,7 +34,11 @@ + The .S files for the other calls just #define socket and #include this. */ + + #ifndef __socket +-#define __socket P(__,socket) ++# ifndef NO_WEAK_ALIAS ++# define __socket P(__,socket) ++# else ++# define __socket socket ++# endif + #endif + + #define PUSHARGS_1 str a1, [sp, $-4]! +@@ -120,4 +122,6 @@ + + PSEUDO_END (__socket) + ++#ifndef NO_WEAK_ALIAS + weak_alias (__socket, socket) ++#endif -- cgit v1.2.3-65-gdbad