patches/uClibc/0.9.30.2/180-Unbreak-build-for-sparc-on-some-config-s.patch
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:51 2010 +0200 (2010-08-05)
changeset 2069 366bd2b22675
permissions -rw-r--r--
complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0

This is the change introduced by revision 734 of MPC repository.

Author: Paul Zimmermann <Paul.Zimmermann@loria.fr>
Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
     1 From 7b964170536951a260f7d552db99b428d1ea5026 Mon Sep 17 00:00:00 2001
     2 From: Austin Foxley <austinf@cetoncorp.com>
     3 Date: Wed, 3 Feb 2010 12:12:10 -0800
     4 Subject: [PATCH 08/15] Unbreak build for sparc on some config's
     5 
     6 Thanks to rob@landley.net
     7 
     8 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
     9 ---
    10  libc/sysdeps/linux/sparc/sigaction.c |    9 ++++-----
    11  1 files changed, 4 insertions(+), 5 deletions(-)
    12 
    13 diff --git a/libc/sysdeps/linux/sparc/sigaction.c b/libc/sysdeps/linux/sparc/sigaction.c
    14 index a22ac40..7140fd3 100644
    15 --- a/libc/sysdeps/linux/sparc/sigaction.c
    16 +++ b/libc/sysdeps/linux/sparc/sigaction.c
    17 @@ -34,7 +34,8 @@ _syscall5(int, rt_sigaction, int, a, int, b, int, c, int, d, int, e);
    18  static void __rt_sigreturn_stub(void);
    19  static void __sigreturn_stub(void);
    20  
    21 -int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
    22 +libc_hidden_proto(sigaction)
    23 +int sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
    24  {
    25  	int ret;
    26  	struct sigaction kact, koact;
    27 @@ -65,10 +66,8 @@ int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oac
    28  	return ret;
    29  }
    30  
    31 -#ifndef LIBC_SIGACTION
    32 -weak_alias(__libc_sigaction,sigaction)
    33 -libc_hidden_weak(sigaction)
    34 -#endif
    35 +libc_hidden_def(sigaction)
    36 +weak_alias(sigaction,__libc_sigaction)
    37  
    38  static void
    39  __rt_sigreturn_stub(void)
    40 -- 
    41 1.6.6.1
    42