patches/uClibc/0.9.30.2/180-Unbreak-build-for-sparc-on-some-config-s.patch
changeset 1819 66fcfb3d6745
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/uClibc/0.9.30.2/180-Unbreak-build-for-sparc-on-some-config-s.patch	Sun Feb 28 11:50:15 2010 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +From 7b964170536951a260f7d552db99b428d1ea5026 Mon Sep 17 00:00:00 2001
     1.5 +From: Austin Foxley <austinf@cetoncorp.com>
     1.6 +Date: Wed, 3 Feb 2010 12:12:10 -0800
     1.7 +Subject: [PATCH 08/15] Unbreak build for sparc on some config's
     1.8 +
     1.9 +Thanks to rob@landley.net
    1.10 +
    1.11 +Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
    1.12 +---
    1.13 + libc/sysdeps/linux/sparc/sigaction.c |    9 ++++-----
    1.14 + 1 files changed, 4 insertions(+), 5 deletions(-)
    1.15 +
    1.16 +diff --git a/libc/sysdeps/linux/sparc/sigaction.c b/libc/sysdeps/linux/sparc/sigaction.c
    1.17 +index a22ac40..7140fd3 100644
    1.18 +--- a/libc/sysdeps/linux/sparc/sigaction.c
    1.19 ++++ b/libc/sysdeps/linux/sparc/sigaction.c
    1.20 +@@ -34,7 +34,8 @@ _syscall5(int, rt_sigaction, int, a, int, b, int, c, int, d, int, e);
    1.21 + static void __rt_sigreturn_stub(void);
    1.22 + static void __sigreturn_stub(void);
    1.23 + 
    1.24 +-int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
    1.25 ++libc_hidden_proto(sigaction)
    1.26 ++int sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
    1.27 + {
    1.28 + 	int ret;
    1.29 + 	struct sigaction kact, koact;
    1.30 +@@ -65,10 +66,8 @@ int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oac
    1.31 + 	return ret;
    1.32 + }
    1.33 + 
    1.34 +-#ifndef LIBC_SIGACTION
    1.35 +-weak_alias(__libc_sigaction,sigaction)
    1.36 +-libc_hidden_weak(sigaction)
    1.37 +-#endif
    1.38 ++libc_hidden_def(sigaction)
    1.39 ++weak_alias(sigaction,__libc_sigaction)
    1.40 + 
    1.41 + static void
    1.42 + __rt_sigreturn_stub(void)
    1.43 +-- 
    1.44 +1.6.6.1
    1.45 +