Gentoo Archives: gentoo-commits

From: "Keri Harris (keri)" <keri@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/mozart/files: mozart-1.3.2-ri-fpe.patch
Date: Sat, 29 Sep 2007 05:58:42
Message-Id: E1IbVD9-0006Pg-6R@stork.gentoo.org
1 keri 07/09/29 05:49:55
2
3 Added: mozart-1.3.2-ri-fpe.patch
4 Log:
5 Handle fpe in ri contrib package. Closes #193683
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.1 dev-lang/mozart/files/mozart-1.3.2-ri-fpe.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mozart/files/mozart-1.3.2-ri-fpe.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mozart/files/mozart-1.3.2-ri-fpe.patch?rev=1.1&content-type=text/plain
13
14 Index: mozart-1.3.2-ri-fpe.patch
15 ===================================================================
16 diff -ur mozart-1.3.2.20060615.orig/contrib/ri/Makefile.in mozart-1.3.2.20060615/contrib/ri/Makefile.in
17 --- mozart-1.3.2.20060615.orig/contrib/ri/Makefile.in 2002-07-07 01:05:36.000000000 +1200
18 +++ mozart-1.3.2.20060615/contrib/ri/Makefile.in 2007-09-29 17:41:45.000000000 +1200
19 @@ -60,8 +60,8 @@
20 modRI.spec
21
22 ifeq ($(PLATFORM), linux-i486)
23 -CSRCS = fpgetset.c sigfpe.c
24 -CFLAGS += -DLINUX_IEEE
25 +CSRCS =
26 +CFLAGS +=
27 endif
28
29 OZSRCS = RI.oz
30 diff -ur mozart-1.3.2.20060615.orig/contrib/ri/sigfpe.h mozart-1.3.2.20060615/contrib/ri/sigfpe.h
31 --- mozart-1.3.2.20060615.orig/contrib/ri/sigfpe.h 2006-03-21 20:36:08.000000000 +1200
32 +++ mozart-1.3.2.20060615/contrib/ri/sigfpe.h 2007-09-29 17:33:04.000000000 +1200
33 @@ -6,7 +6,6 @@
34 #include <fpu_control.h>
35 #include <signal.h>
36 #include <unistd.h>
37 -#include <linux/user.h> /* for user_i387_struct */
38
39 #ifdef __cplusplus
40 extern "C" {
41 @@ -19,7 +18,7 @@
42 };
43 typedef struct siginfo siginfo_t;
44 */
45 -typedef struct user_i387_struct ucontext_mozart_t;
46 +typedef void ucontext_mozart_t;
47 typedef int sigfpe_code_type;
48 typedef void (*sigfpe_handler_type)(int, siginfo_t * , ucontext_mozart_t *);
49
50
51
52
53 --
54 gentoo-commits@g.o mailing list