1 |
bicatali 12/01/02 19:47:54 |
2 |
|
3 |
Modified: R-2.13.1-zlib_header_fix.patch |
4 |
R-2.12.1-ldflags.patch R-2.11.1-parallel.patch |
5 |
Added: R-2.14.1-rmath-shared.patch R-2.14.1-tiff.patch |
6 |
Log: |
7 |
Version bump. Fixed automagic dependencies on icu and tiff. Added required dependency on pango when cairo is set. Fixed as-needed on standalone math library. Added required use flags for graphics capabilities (bug #373649). Removed glibc hacks, applied on glibc package. Commented patches for another attempt to submit them upstream. Removed older unstable versions, fixing bugs #353545, bug #357077, bug #382687, bug #384493, bug #384723. |
8 |
|
9 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 dev-lang/R/files/R-2.13.1-zlib_header_fix.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.13.1-zlib_header_fix.patch?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.13.1-zlib_header_fix.patch?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.13.1-zlib_header_fix.patch?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: R-2.13.1-zlib_header_fix.patch |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/R/files/R-2.13.1-zlib_header_fix.patch,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- R-2.13.1-zlib_header_fix.patch 25 Sep 2011 06:23:59 -0000 1.1 |
25 |
+++ R-2.13.1-zlib_header_fix.patch 2 Jan 2012 19:47:54 -0000 1.2 |
26 |
@@ -1,3 +1,7 @@ |
27 |
+Update for zlib header changes |
28 |
+ |
29 |
+https://bugs.gentoo.org/show_bug.cgi?id=383431 |
30 |
+ |
31 |
--- src/main/unzip.h.orig 2011-09-24 19:35:53.000000000 -0700 |
32 |
+++ src/main/unzip.h 2011-09-24 19:37:06.000000000 -0700 |
33 |
@@ -58,6 +58,10 @@ |
34 |
|
35 |
|
36 |
|
37 |
1.2 dev-lang/R/files/R-2.12.1-ldflags.patch |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.12.1-ldflags.patch?rev=1.2&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.12.1-ldflags.patch?rev=1.2&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.12.1-ldflags.patch?r1=1.1&r2=1.2 |
42 |
|
43 |
Index: R-2.12.1-ldflags.patch |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/R/files/R-2.12.1-ldflags.patch,v |
46 |
retrieving revision 1.1 |
47 |
retrieving revision 1.2 |
48 |
diff -u -r1.1 -r1.2 |
49 |
--- R-2.12.1-ldflags.patch 22 Dec 2010 17:25:49 -0000 1.1 |
50 |
+++ R-2.12.1-ldflags.patch 2 Jan 2012 19:47:54 -0000 1.2 |
51 |
@@ -1,3 +1,7 @@ |
52 |
+Respect ldflags on rscript |
53 |
+Patch by Sebastien Fabbro |
54 |
+https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14506 |
55 |
+ |
56 |
--- src/unix/Makefile.in.orig 2010-12-22 16:58:19.000000000 +0000 |
57 |
+++ src/unix/Makefile.in 2010-12-22 16:54:16.000000000 +0000 |
58 |
@@ -66,7 +66,7 @@ |
59 |
|
60 |
|
61 |
|
62 |
1.2 dev-lang/R/files/R-2.11.1-parallel.patch |
63 |
|
64 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.11.1-parallel.patch?rev=1.2&view=markup |
65 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.11.1-parallel.patch?rev=1.2&content-type=text/plain |
66 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.11.1-parallel.patch?r1=1.1&r2=1.2 |
67 |
|
68 |
Index: R-2.11.1-parallel.patch |
69 |
=================================================================== |
70 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/R/files/R-2.11.1-parallel.patch,v |
71 |
retrieving revision 1.1 |
72 |
retrieving revision 1.2 |
73 |
diff -u -r1.1 -r1.2 |
74 |
--- R-2.11.1-parallel.patch 16 Jun 2010 15:36:14 -0000 1.1 |
75 |
+++ R-2.11.1-parallel.patch 2 Jan 2012 19:47:54 -0000 1.2 |
76 |
@@ -1,3 +1,8 @@ |
77 |
+Fix ocasional failure with parallel install (bug #322965) |
78 |
+Patch by Sebastien Fabbro |
79 |
+ |
80 |
+https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14505 |
81 |
+ |
82 |
--- src/include/Makefile.in.orig 2010-06-15 18:18:54.000000000 +0000 |
83 |
+++ src/include/Makefile.in 2010-06-15 18:19:48.000000000 +0000 |
84 |
@@ -81,7 +81,7 @@ |
85 |
|
86 |
|
87 |
|
88 |
1.1 dev-lang/R/files/R-2.14.1-rmath-shared.patch |
89 |
|
90 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.14.1-rmath-shared.patch?rev=1.1&view=markup |
91 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.14.1-rmath-shared.patch?rev=1.1&content-type=text/plain |
92 |
|
93 |
Index: R-2.14.1-rmath-shared.patch |
94 |
=================================================================== |
95 |
Link with libm to fix unresolved symbols when linked with as-needed |
96 |
and add a soname to the standalone math library |
97 |
Patch by Sebastien Fabbro |
98 |
--- src/nmath/standalone/Makefile.in.orig 2010-03-17 14:43:22.000000000 +0000 |
99 |
+++ src/nmath/standalone/Makefile.in 2012-01-02 17:40:13.000000000 +0000 |
100 |
@@ -64,7 +64,8 @@ |
101 |
Rexeclibdir_LTLIBRARIES = $(libRmath_la) |
102 |
libRmath_la_SOURCES = $(SOURCES) |
103 |
libRmath_la_OBJECTS = $(OBJECTS:.o=.lo) |
104 |
-libRmath_la_LDFLAGS = |
105 |
+libRmath_la_LDFLAGS = -Wl,-soname=libRmath.so |
106 |
+libRmath_la_LIBADD = $(LIBM) |
107 |
|
108 |
CLEANFILES = Makedeps *.d *.o *.lo test $(SOURCES) |
109 |
DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES) |
110 |
@@ -116,7 +117,7 @@ |
111 |
$(RANLIB) $@ |
112 |
|
113 |
$(libRmath_la): $(libRmath_la_OBJECTS) |
114 |
- $(DYLIB_LINK) -o $@ $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) |
115 |
+ $(DYLIB_LINK) $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(libRmath_la_LIBADD) -o $@ |
116 |
|
117 |
test: $(srcdir)/test.c |
118 |
$(CC) -o $@ $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(srcdir)/test.c \ |
119 |
|
120 |
|
121 |
|
122 |
1.1 dev-lang/R/files/R-2.14.1-tiff.patch |
123 |
|
124 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.14.1-tiff.patch?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-2.14.1-tiff.patch?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: R-2.14.1-tiff.patch |
128 |
=================================================================== |
129 |
Add a --with-tiff to avoid broken implicit dependencies |
130 |
Patch by Sebastien Fabbro |
131 |
|
132 |
--- configure.ac.orig 2012-01-02 17:01:24.000000000 +0000 |
133 |
+++ configure.ac 2012-01-02 17:04:21.000000000 +0000 |
134 |
@@ -396,6 +396,10 @@ |
135 |
[AS_HELP_STRING([--with-jpeglib],[use jpeglib library (if available) @<:@yes@:>@])], |
136 |
[R_ARG_USE(jpeglib)], |
137 |
[use_jpeglib=yes]) |
138 |
+AC_ARG_WITH([tiff], |
139 |
+[AS_HELP_STRING([--with-libtiff],[use libtiff library (if available) @<:@yes@:>@])], |
140 |
+[R_ARG_USE(libtiff)], |
141 |
+[use_libtiff=yes]) |
142 |
AC_ARG_WITH([system-zlib], |
143 |
[AS_HELP_STRING([--with-system-zlib],[use system zlib library (if available) @<:@no@:>@])], |
144 |
[R_ARG_USE_SYSTEM(zlib)], |
145 |
--- m4/R.m4.orig 2012-01-02 17:05:22.000000000 +0000 |
146 |
+++ m4/R.m4 2012-01-02 17:08:08.000000000 +0000 |
147 |
@@ -2005,16 +2005,18 @@ |
148 |
[Define if you have the PNG headers and libraries.]) |
149 |
fi |
150 |
fi |
151 |
-AC_CHECK_HEADERS(tiffio.h) |
152 |
-# may need to resolve jpeg routines |
153 |
-AC_CHECK_LIB(tiff, TIFFOpen, [have_tiff=yes], [have_tiff=no], [${BITMAP_LIBS}]) |
154 |
-if test "x${ac_cv_header_tiffio_h}" = xyes ; then |
155 |
- if test "x${have_tiff}" = xyes; then |
156 |
- AC_DEFINE(HAVE_TIFF, 1, [Define this if libtiff is available.]) |
157 |
- BITMAP_LIBS="-ltiff ${BITMAP_LIBS}" |
158 |
- else |
159 |
- have_tiff=no |
160 |
- fi |
161 |
+if test "${use_libtiff}" = yes; then |
162 |
+ AC_CHECK_HEADERS(tiffio.h) |
163 |
+ # may need to resolve jpeg routines |
164 |
+ AC_CHECK_LIB(tiff, TIFFOpen, [have_tiff=yes], [have_tiff=no], [${BITMAP_LIBS}]) |
165 |
+ if test "x${ac_cv_header_tiffio_h}" = xyes ; then |
166 |
+ if test "x${have_tiff}" = xyes; then |
167 |
+ AC_DEFINE(HAVE_TIFF, 1, [Define this if libtiff is available.]) |
168 |
+ BITMAP_LIBS="-ltiff ${BITMAP_LIBS}" |
169 |
+ else |
170 |
+ have_tiff=no |
171 |
+ fi |
172 |
+ fi |
173 |
fi |
174 |
AC_SUBST(BITMAP_LIBS) |
175 |
])# R_BITMAPS |