Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/pspp/files: pspp-0.6.0-disable-inline.patch
Date: Mon, 30 Jun 2008 13:28:51
Message-Id: E1KDJQz-0004TT-OK@stork.gentoo.org
1 markusle 08/06/30 13:28:45
2
3 Added: pspp-0.6.0-disable-inline.patch
4 Log:
5 Version bump including patch to allow compilation with gcc-4.3 #229905).
6 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-SENTINEL-3 i686)
7
8 Revision Changes Path
9 1.1 sci-mathematics/pspp/files/pspp-0.6.0-disable-inline.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/files/pspp-0.6.0-disable-inline.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/files/pspp-0.6.0-disable-inline.patch?rev=1.1&content-type=text/plain
13
14 Index: pspp-0.6.0-disable-inline.patch
15 ===================================================================
16 diff -Naur pspp-0.6.0/Makefile.in pspp-0.6.0.new/Makefile.in
17 --- pspp-0.6.0/Makefile.in 2008-06-05 00:28:32.000000000 -0400
18 +++ pspp-0.6.0.new/Makefile.in 2008-06-29 15:53:51.000000000 -0400
19 @@ -126,7 +126,7 @@
20 $(top_srcdir)/gl/m4/iconv_h.m4 \
21 $(top_srcdir)/gl/m4/iconv_open.m4 \
22 $(top_srcdir)/gl/m4/include_next.m4 \
23 - $(top_srcdir)/gl/m4/inline.m4 $(top_srcdir)/gl/m4/intmax_t.m4 \
24 + $(top_srcdir)/gl/m4/intmax_t.m4 \
25 $(top_srcdir)/gl/m4/inttostr.m4 \
26 $(top_srcdir)/gl/m4/isfinite.m4 $(top_srcdir)/gl/m4/isnand.m4 \
27 $(top_srcdir)/gl/m4/isnanf.m4 $(top_srcdir)/gl/m4/isnanl.m4 \
28 diff -Naur pspp-0.6.0/aclocal.m4 pspp-0.6.0.new/aclocal.m4
29 --- pspp-0.6.0/aclocal.m4 2008-06-05 00:28:16.000000000 -0400
30 +++ pspp-0.6.0.new/aclocal.m4 2008-06-29 15:53:51.000000000 -0400
31 @@ -7746,7 +7746,6 @@
32 m4_include([gl/m4/iconv_h.m4])
33 m4_include([gl/m4/iconv_open.m4])
34 m4_include([gl/m4/include_next.m4])
35 -m4_include([gl/m4/inline.m4])
36 m4_include([gl/m4/intmax_t.m4])
37 m4_include([gl/m4/inttostr.m4])
38 m4_include([gl/m4/isfinite.m4])
39 diff -Naur pspp-0.6.0/gl/Makefile.in pspp-0.6.0.new/gl/Makefile.in
40 --- pspp-0.6.0/gl/Makefile.in 2008-06-05 00:28:30.000000000 -0400
41 +++ pspp-0.6.0.new/gl/Makefile.in 2008-06-29 15:53:51.000000000 -0400
42 @@ -79,7 +79,7 @@
43 $(top_srcdir)/gl/m4/iconv_h.m4 \
44 $(top_srcdir)/gl/m4/iconv_open.m4 \
45 $(top_srcdir)/gl/m4/include_next.m4 \
46 - $(top_srcdir)/gl/m4/inline.m4 $(top_srcdir)/gl/m4/intmax_t.m4 \
47 + $(top_srcdir)/gl/m4/intmax_t.m4 \
48 $(top_srcdir)/gl/m4/inttostr.m4 \
49 $(top_srcdir)/gl/m4/isfinite.m4 $(top_srcdir)/gl/m4/isnand.m4 \
50 $(top_srcdir)/gl/m4/isnanf.m4 $(top_srcdir)/gl/m4/isnanl.m4 \
51 diff -Naur pspp-0.6.0/gl/m4/gnulib-comp.m4 pspp-0.6.0.new/gl/m4/gnulib-comp.m4
52 --- pspp-0.6.0/gl/m4/gnulib-comp.m4 2008-06-05 00:24:02.000000000 -0400
53 +++ pspp-0.6.0.new/gl/m4/gnulib-comp.m4 2008-06-29 16:01:31.000000000 -0400
54 @@ -95,7 +95,6 @@
55 AM_ICONV
56 gl_ICONV_H
57 gl_FUNC_ICONV_OPEN
58 - gl_INLINE
59 gl_INTTOSTR
60 gl_ISFINITE
61 gl_MATH_MODULE_INDICATOR([isfinite])
62 @@ -625,7 +624,6 @@
63 m4/iconv_h.m4
64 m4/iconv_open.m4
65 m4/include_next.m4
66 - m4/inline.m4
67 m4/intmax_t.m4
68 m4/inttostr.m4
69 m4/inttypes_h.m4
70 diff -Naur pspp-0.6.0/gl/m4/inline.m4 pspp-0.6.0.new/gl/m4/inline.m4
71 --- pspp-0.6.0/gl/m4/inline.m4 2008-05-13 12:20:04.000000000 -0400
72 +++ pspp-0.6.0.new/gl/m4/inline.m4 1969-12-31 19:00:00.000000000 -0500
73 @@ -1,40 +0,0 @@
74 -# inline.m4 serial 3
75 -dnl Copyright (C) 2006 Free Software Foundation, Inc.
76 -dnl This file is free software; the Free Software Foundation
77 -dnl gives unlimited permission to copy and/or distribute it,
78 -dnl with or without modifications, as long as this notice is preserved.
79 -
80 -dnl Test for the 'inline' keyword or equivalent.
81 -dnl Define 'inline' to a supported equivalent, or to nothing if not supported,
82 -dnl like AC_C_INLINE does. Also, define HAVE_INLINE if 'inline' or an
83 -dnl equivalent is effectively supported, i.e. if the compiler is likely to
84 -dnl drop unused 'static inline' functions.
85 -AC_DEFUN([gl_INLINE],
86 -[
87 - AC_REQUIRE([AC_C_INLINE])
88 - AC_CACHE_CHECK([whether the compiler generally respects inline],
89 - [gl_cv_c_inline_effective],
90 - [if test $ac_cv_c_inline = no; then
91 - gl_cv_c_inline_effective=no
92 - else
93 - dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is
94 - dnl specified.
95 - dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result
96 - dnl depends on optimization flags, which can be in CFLAGS.
97 - dnl (AC_EGREP_CPP looks only at the CPPFLAGS.)
98 - AC_COMPILE_IFELSE(
99 - [AC_LANG_PROGRAM([[]],
100 - [[#ifdef __NO_INLINE__
101 - #error "inline is not effective"
102 - #endif]])],
103 - [gl_cv_c_inline_effective=yes],
104 - [gl_cv_c_inline_effective=no])
105 - fi
106 - ])
107 - if test $gl_cv_c_inline_effective = yes; then
108 - AC_DEFINE([HAVE_INLINE], 1,
109 - [Define to 1 if the compiler supports one of the keywords
110 - 'inline', '__inline__', '__inline' and effectively inlines
111 - functions marked as such.])
112 - fi
113 -])
114 diff -Naur pspp-0.6.0/gl/m4/xalloc.m4 pspp-0.6.0.new/gl/m4/xalloc.m4
115 --- pspp-0.6.0/gl/m4/xalloc.m4 2008-05-13 12:20:04.000000000 -0400
116 +++ pspp-0.6.0.new/gl/m4/xalloc.m4 2008-06-29 16:01:17.000000000 -0400
117 @@ -14,7 +14,6 @@
118
119 # Prerequisites of lib/xalloc.h.
120 AC_DEFUN([gl_PREREQ_XALLOC], [
121 - AC_REQUIRE([gl_INLINE])
122 :
123 ])
124
125
126
127
128 --
129 gentoo-commits@l.g.o mailing list