Compare commits
448 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
cf5f05d4a4 | ||
|
5496d01312 | ||
|
ba64e1993e | ||
|
9344422d47 | ||
|
07d744324a | ||
|
694c9856f0 | ||
|
e1d61d8c08 | ||
|
c157b16a55 | ||
|
92d90f3656 | ||
|
8a1584b8c4 | ||
|
ac049188bd | ||
|
0a70cd5f99 | ||
|
2d600e0a99 | ||
|
85586e3bcf | ||
|
901e950465 | ||
|
a1d6c05f34 | ||
|
0468c23822 | ||
|
42bfa27a28 | ||
|
86fb95abbe | ||
|
4ed4310296 | ||
|
063aebf861 | ||
|
0a1dce5e75 | ||
|
d5f66af54f | ||
|
97642563e2 | ||
|
56020a5336 | ||
|
0cd0e7c5c8 | ||
|
02916c034f | ||
|
ba5b61083c | ||
|
24f038ef09 | ||
|
7ec3f35afe | ||
|
290075c5e9 | ||
|
574e9df2fb | ||
|
3800a7b74d | ||
|
a044a8c82c | ||
|
f763ce3736 | ||
|
e47ead3d3d | ||
|
d282865eb3 | ||
|
965eeebf52 | ||
|
8c56758224 | ||
|
08e356d401 | ||
|
fa246e33b9 | ||
|
6da0a1c375 | ||
|
95242cc027 | ||
|
fe4112801a | ||
|
1c85207d57 | ||
|
b1642c6f86 | ||
|
5ef3252c3f | ||
|
7b8d8f53b9 | ||
|
87ea299ce2 | ||
|
4c0f19319c | ||
|
82bfa96fd5 | ||
|
5ecc806256 | ||
|
f545d3ff8f | ||
|
50017ab031 | ||
|
688cb060e9 | ||
|
39d2e0196a | ||
|
d43a21592c | ||
|
8fb85e9ec0 | ||
|
8fa799641a | ||
|
1233edf3ca | ||
|
7b26566f3b | ||
|
b15f93a977 | ||
|
3e092c5020 | ||
|
dcb29cbf18 | ||
|
df3d6c758f | ||
|
f77e91ad39 | ||
|
12970dca15 | ||
|
2448cd09fa | ||
|
2e9c2bca04 | ||
|
9da193f6eb | ||
|
74fd3b0da3 | ||
|
bf25b036dc | ||
|
5507b16739 | ||
|
379a1f6a0a | ||
|
4b2e1d3bcc | ||
|
5ee9a236d6 | ||
|
71425fcd37 | ||
|
76905aa185 | ||
|
1ff9f1f1e1 | ||
|
09dfc2f363 | ||
|
ea4683b1e7 | ||
|
e97e9e597a | ||
|
b97a9aeddb | ||
|
f796bb34e0 | ||
|
0eafbf5d94 | ||
|
28b40e2023 | ||
|
77fa70302f | ||
|
830b72721f | ||
|
b00c20f958 | ||
|
c57ca6f04e | ||
|
08e989e18d | ||
|
3ebcc0426c | ||
|
dd4a8a8dad | ||
|
2141d05560 | ||
|
1c02a40672 | ||
|
c2a1c00487 | ||
|
178c1ffbe2 | ||
|
dc80525941 | ||
|
f7261e45b9 | ||
|
932f3fcc5e | ||
|
32c73d700c | ||
|
da330de90e | ||
|
433f619b3b | ||
|
d3dd0280a9 | ||
|
99580ae69a | ||
|
ecab635435 | ||
|
599b74ee77 | ||
|
0a2d99f9a7 | ||
|
84208267f8 | ||
|
5620684dde | ||
|
8c75510570 | ||
|
386d1c819a | ||
|
8adb08bb6e | ||
|
8265ec36c8 | ||
|
61a7f48bb5 | ||
|
b9225cea91 | ||
|
2bf67fd29d | ||
|
9a07360ca7 | ||
|
2b16cd30cb | ||
|
d6ca269449 | ||
|
979102c99e | ||
|
3dbb6edfe5 | ||
|
1d83b20290 | ||
|
ce433395bb | ||
|
1b7c545c83 | ||
|
c8657f3a52 | ||
|
2745d0b728 | ||
|
e513a156ad | ||
|
3c7e9186b6 | ||
|
e1fee7a8d0 | ||
|
56a301c58d | ||
|
04c5e6732a | ||
|
db13324ce8 | ||
|
afa36f0075 | ||
|
85014d24f1 | ||
|
3b49b69b36 | ||
|
f38c233891 | ||
|
f741383769 | ||
|
7d0ea5b2ec | ||
|
43d07dca72 | ||
|
3a6e7679d0 | ||
|
ffd451ce1c | ||
|
053687965b | ||
|
7f7c911c3d | ||
|
a6cb1e214c | ||
|
12667d763e | ||
|
3998e87b55 | ||
|
edc36d2c71 | ||
|
4982471e77 | ||
|
6848961498 | ||
|
edc3e465ce | ||
|
7a47c61741 | ||
|
8a1eb3240d | ||
|
47e152fab2 | ||
|
d283d9f317 | ||
|
e6d36024a0 | ||
|
0d37da678c | ||
|
eb4e799dbd | ||
|
9aa7451008 | ||
|
1cf6017953 | ||
|
2e261259d7 | ||
|
2c8ed1f4a0 | ||
|
4f44baed2b | ||
|
c0849c6e09 | ||
|
916063b3b1 | ||
|
7890c8ff08 | ||
|
61ab120199 | ||
|
bf16df588a | ||
|
b05f2a7906 | ||
|
cc92bae065 | ||
|
1520827a04 | ||
|
72cf0bcca3 | ||
|
3794a9fcdd | ||
|
13349fe885 | ||
|
5db1b11da5 | ||
|
c45c586b4e | ||
|
818917914a | ||
|
dad250ea82 | ||
|
033bdfd865 | ||
|
6fde1a0dcd | ||
|
8e0735c416 | ||
|
f4e5cfe294 | ||
|
cae7911500 | ||
|
5b8ce897d5 | ||
|
770a520e35 | ||
|
024eb041c4 | ||
|
e1b39d0e4a | ||
|
d0500bb7a9 | ||
|
d0887285da | ||
|
262bff46b2 | ||
|
9c187a8b46 | ||
|
a6bef8ca8a | ||
|
ed68ac68fd | ||
|
89c2e308a1 | ||
|
ee29b1a75e | ||
|
7a08bc08da | ||
|
dcabdd3746 | ||
|
0f2409b1c2 | ||
|
f6c4d07690 | ||
|
9c5f2755d6 | ||
|
9db92e9942 | ||
|
a21c791561 | ||
|
158ce3ae49 | ||
|
cb9f5d69f0 | ||
|
86e5628e85 | ||
|
b898a50cd2 | ||
|
434fe794ef | ||
|
e9fc0d65ad | ||
|
519dcde137 | ||
|
e63e093f79 | ||
|
1d62580313 | ||
|
4ed76e4bc4 | ||
|
2617f03d5b | ||
|
fddb0e34ac | ||
|
a50996dbff | ||
|
71895a1c3b | ||
|
1b56f41a52 | ||
|
e67a387969 | ||
|
a143bca500 | ||
|
89d98760d9 | ||
|
cde20102a3 | ||
|
84e3cbc65e | ||
|
e6dbcb894a | ||
|
b186eb8bfd | ||
|
b5859e4ffe | ||
|
fc668e2658 | ||
|
c6288948fa | ||
|
23b1542f66 | ||
|
27b0ee079d | ||
|
051696abff | ||
|
58d7c5a2b5 | ||
|
93421a2803 | ||
|
8f3b3be599 | ||
|
48f1a8bef9 | ||
|
dd1131e2ba | ||
|
7883fbd6a4 | ||
|
4feec9d3a7 | ||
|
d84fbc68e0 | ||
|
a880d4def6 | ||
|
42b83eface | ||
|
c93c432678 | ||
|
d9a505b01d | ||
|
42dc4ebbe9 | ||
|
02172dced2 | ||
|
b2423e500b | ||
|
b69868db4e | ||
|
07fac606e4 | ||
|
fdfbbebb14 | ||
|
2f11541a76 | ||
|
d61083bdcf | ||
|
9b89a726a3 | ||
|
5a18da3b4e | ||
|
7874a589c0 | ||
|
5fbc1f7267 | ||
|
fb316f1fdf | ||
|
a2282945e2 | ||
|
1a814660a9 | ||
|
086df36f1c | ||
|
03a7b7638f | ||
|
62458ff110 | ||
|
c9b1f7ff53 | ||
|
681035265f | ||
|
05b6df2ccf | ||
|
0720c11135 | ||
|
17f4b54804 | ||
|
5b9b77d2d3 | ||
|
ee48b1de3a | ||
|
cba6a5a7ca | ||
|
000ade5862 | ||
|
afba3d3431 | ||
|
9e55cc6164 | ||
|
7706187bdf | ||
|
696fc13b8a | ||
|
bfd2a54760 | ||
|
d517778c65 | ||
|
90242f18c5 | ||
|
e832ac1d86 | ||
|
f127b62956 | ||
|
d8c113f7cc | ||
|
e059871376 | ||
|
6cf6e4bc9f | ||
|
b8dbdbb732 | ||
|
ae31d8e8fe | ||
|
d2a033b2da | ||
|
35a99caec1 | ||
|
3dd771227f | ||
|
27536d7833 | ||
|
5409f76653 | ||
|
2ab725992f | ||
|
d015e844bb | ||
|
9be53440b4 | ||
|
a93904b8e2 | ||
|
9155d7557e | ||
|
712378546f | ||
|
9241f35365 | ||
|
f14b461e67 | ||
|
0043d407ec | ||
|
e41632ab85 | ||
|
4792f3fdf6 | ||
|
30478c7a38 | ||
|
47dd3517eb | ||
|
5360e43397 | ||
|
211834daea | ||
|
1153042330 | ||
|
342ac54895 | ||
|
bf6bf48e66 | ||
|
1a7a2b9a2c | ||
|
bbe923fd0f | ||
|
5a538a2acd | ||
|
d3497415e0 | ||
|
6465c32666 | ||
|
6d196a5ae3 | ||
|
58d98de41a | ||
|
44029ef6ac | ||
|
ffe0b91f69 | ||
|
77e3ed660a | ||
|
19ba41162d | ||
|
72144684ae | ||
|
2eee2b7b5a | ||
|
01b8d0ea20 | ||
|
4fa3677ff2 | ||
|
33b4de2cb4 | ||
|
2b51a16f4d | ||
|
22a091df05 | ||
|
059a4b71b2 | ||
|
f6f0c9cab8 | ||
|
db32d813c8 | ||
|
a9e3ad5c40 | ||
|
89573dec36 | ||
|
7aa07b4a7d | ||
|
a129f0ab4a | ||
|
adbc9cb80a | ||
|
553f25a694 | ||
|
c19e49c079 | ||
|
05bd1c69e5 | ||
|
59449e47e3 | ||
|
0d9671ba85 | ||
|
4117e8be27 | ||
|
4d1f6b77fe | ||
|
4b917060b5 | ||
|
a97f2d88c5 | ||
|
6fdbcafbba | ||
|
6de5cfaecb | ||
|
a49e005e09 | ||
|
75e2e75a7b | ||
|
c95572151f | ||
|
2950324f9c | ||
|
950231dd7f | ||
|
d244c2c428 | ||
|
410b32003f | ||
|
048ee358ac | ||
|
21c9659674 | ||
|
078c08070c | ||
|
59b20e8491 | ||
|
dbc11a218b | ||
|
aab72bde62 | ||
|
8703c19fdd | ||
|
7120821ee5 | ||
|
03bab44a07 | ||
|
5dd070567c | ||
|
e395fff4c4 | ||
|
36e39e36d0 | ||
|
cadbf8dfc2 | ||
|
7d8b3141e0 | ||
|
21eaf582af | ||
|
6a74d204a0 | ||
|
618164e38f | ||
|
f0ba9c92c9 | ||
|
cb9e622842 | ||
|
3d5b23baf8 | ||
|
fbcb20dd0c | ||
|
8b1195fd8e | ||
|
25bd2519ef | ||
|
237a73ad27 | ||
|
13d73cceb0 | ||
|
61f93d6a1d | ||
|
f3bd891464 | ||
|
4c4681e11c | ||
|
8e50c872ed | ||
|
3ca371daa1 | ||
|
363527ef30 | ||
|
08db8b2481 | ||
|
5028d4611d | ||
|
905f035261 | ||
|
0d3e2b8925 | ||
|
0653ba4ecd | ||
|
5a2a68f56d | ||
|
9ef7391fb2 | ||
|
f0519a4a49 | ||
|
ff599be526 | ||
|
7e19a25c14 | ||
|
d9d6a29d63 | ||
|
d89f4f31f6 | ||
|
939d66353d | ||
|
0207d3fe52 | ||
|
db8634ee89 | ||
|
c3755c7380 | ||
|
2a749d6b3b | ||
|
a5e1a9d698 | ||
|
8af5eb6a8a | ||
|
b78d665c77 | ||
|
2477a6cda3 | ||
|
b285438f3a | ||
|
72b771423e | ||
|
996d644910 | ||
|
2b7d358a65 | ||
|
9eac38e674 | ||
|
f427384754 | ||
|
bee8c4fb2e | ||
|
554dd4ae57 | ||
|
03dd618f9c | ||
|
0ff54a0b12 | ||
|
bf18c14b8d | ||
|
8ba0f1d329 | ||
|
b04f2fb84c | ||
|
e746a7380d | ||
|
c2f0695c1b | ||
|
5d6891e608 | ||
|
4c23afd294 | ||
|
9d3afb7a45 | ||
|
ec44e690c5 | ||
|
55ee559f4a | ||
|
96653ef2af | ||
|
08f1df8149 | ||
|
4c1b6e4e78 | ||
|
a161ac51e3 | ||
|
5a8f50dde5 | ||
|
25e0ecad40 | ||
|
61977dcadb | ||
|
251e22af0a | ||
|
dab0e1f93c | ||
|
d4a3202b93 | ||
|
a4dc7f76f9 | ||
|
0a9c0de78a | ||
|
b814f2a7d7 | ||
|
4a2c3629c0 | ||
|
ebd23fce88 | ||
|
d22e2f674b | ||
|
259a3520cb | ||
|
65fbf219ec | ||
|
c84c10c82b | ||
|
ef9bb84f68 | ||
|
dc31f94278 | ||
|
a2a1845707 | ||
|
12f4fe991d | ||
|
7628fbe911 | ||
|
11948727f2 | ||
|
4bffca9287 |
44
.gitignore
vendored
44
.gitignore
vendored
@ -1 +1,43 @@
|
||||
R-2.9.2.tar.gz
|
||||
/xz-5.2.2.tar.bz2
|
||||
/zlib-1.2.8.tar.gz
|
||||
/bzip2-1.0.6.tar.gz
|
||||
/curl-7.48.0.tar.bz2
|
||||
/pcre-8.38.tar.bz2
|
||||
/R-3.3.1.tar.gz
|
||||
/R-3.3.2.tar.gz
|
||||
/R-3.3.3.tar.gz
|
||||
/zlib-1.2.11.tar.gz
|
||||
/bzip2-1.0.6.tar.gz
|
||||
/xz-5.2.3.tar.bz2
|
||||
/pcre-8.40.tar.bz2
|
||||
/curl-7.53.1.tar.bz2
|
||||
/R-3.4.0.tar.gz
|
||||
/R-3.4.1.tar.gz
|
||||
/R-3.4.2.tar.gz
|
||||
/pcre-8.41.tar.bz2
|
||||
/curl-7.56.1.tar.bz2
|
||||
/R-3.4.3.tar.gz
|
||||
/R-3.4.4.tar.gz
|
||||
/pcre-8.42.tar.bz2
|
||||
/curl-7.59.0.tar.bz2
|
||||
/xz-5.2.4.tar.bz2
|
||||
/R-3.5.0.tar.gz
|
||||
/R-3.5.1.tar.gz
|
||||
/curl-7.61.1.tar.bz2
|
||||
/curl-7.63.0.tar.bz2
|
||||
/R-3.5.2.tar.gz
|
||||
/R-3.5.3.tar.gz
|
||||
/R-3.6.0.tar.gz
|
||||
/R-3.6.1.tar.gz
|
||||
/R-3.6.2.tar.gz
|
||||
/bzip2-1.0.8.tar.gz
|
||||
/pcre-8.43.tar.bz2
|
||||
/curl-7.67.0.tar.bz2
|
||||
/R-3.6.3.tar.gz
|
||||
/R-4.0.0.tar.gz
|
||||
/R-4.0.1.tar.gz
|
||||
/R-4.0.2.tar.gz
|
||||
/xz-5.2.5.tar.bz2
|
||||
/R-4.0.3.tar.gz
|
||||
/pcre-8.44.tar.bz2
|
||||
/curl-7.72.0.tar.bz2
|
||||
|
22
0001-Disable-backing-store-in-X11-window.patch
Normal file
22
0001-Disable-backing-store-in-X11-window.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From bf674ad00579d76d5ade415ee08c62fa4a652f96 Mon Sep 17 00:00:00 2001
|
||||
From: Siteshwar Vashisht <svashisht@redhat.com>
|
||||
Date: Thu, 17 Sep 2015 10:13:24 -0400
|
||||
Subject: [PATCH] Disable backing store in X11 window
|
||||
|
||||
Xorg server will not generate Expose events if backing store is enabled. Since implementation of this X11 module relies on Expose events, we should explicitly disable backing store in X11 window.
|
||||
---
|
||||
src/modules/X11/devX11.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff -up R-3.3.0/src/modules/X11/devX11.c.disable-backing-store R-3.3.0/src/modules/X11/devX11.c
|
||||
--- R-3.3.0/src/modules/X11/devX11.c.disable-backing-store 2016-05-10 09:54:12.440997353 -0400
|
||||
+++ R-3.3.0/src/modules/X11/devX11.c 2016-05-10 09:54:48.560701316 -0400
|
||||
@@ -1479,7 +1479,7 @@ X11_Open(pDevDesc dd, pX11Desc xd, const
|
||||
memset(&attributes, 0, sizeof(attributes));
|
||||
attributes.background_pixel = whitepixel;
|
||||
attributes.border_pixel = blackpixel;
|
||||
- attributes.backing_store = Always;
|
||||
+ attributes.backing_store = NotUseful;
|
||||
attributes.event_mask = ButtonPressMask
|
||||
| PointerMotionMask
|
||||
| PointerMotionHintMask
|
29
0001-Wait-for-MapNotify-event-while-intializing-window.patch
Normal file
29
0001-Wait-for-MapNotify-event-while-intializing-window.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 1d2f8f70375b5d34ec7485833e20f5b78ed135ed Mon Sep 17 00:00:00 2001
|
||||
From: Siteshwar Vashisht <svashisht@redhat.com>
|
||||
Date: Thu, 17 Sep 2015 08:55:55 -0400
|
||||
Subject: [PATCH] Wait for MapNotify event while intializing window
|
||||
|
||||
---
|
||||
src/modules/X11/devX11.c | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/modules/X11/devX11.c b/src/modules/X11/devX11.c
|
||||
index c2eab80..b714f1a 100644
|
||||
--- a/src/modules/X11/devX11.c
|
||||
+++ b/src/modules/X11/devX11.c
|
||||
@@ -1698,10 +1698,10 @@ X11_Open(pDevDesc dd, pX11Desc xd, const char *dsp,
|
||||
XMapWindow(display, xd->window);
|
||||
XSync(display, 0);
|
||||
|
||||
- /* Gobble expose events */
|
||||
+ /* Gobble MapNotify events */
|
||||
|
||||
while ( XPeekEvent(display, &event),
|
||||
- !XCheckTypedEvent(display, Expose, &event))
|
||||
+ !XCheckTypedEvent(display, MapNotify, &event))
|
||||
;
|
||||
/* XNextEvent(display, &event);
|
||||
if (event.xany.type == Expose) {
|
||||
--
|
||||
1.7.1
|
||||
|
@ -1,64 +0,0 @@
|
||||
--- R-2.0.1/src/main/connections.c.BAD 2005-03-24 16:59:46.000000000 -0600
|
||||
+++ R-2.0.1/src/main/connections.c 2005-03-24 16:56:22.000000000 -0600
|
||||
@@ -2194,7 +2194,7 @@
|
||||
va_list(ap);
|
||||
|
||||
va_start(ap, format);
|
||||
- res = con->vfprintf(con, format, ap);
|
||||
+ res = (con->vfprintf)(con, format, ap);
|
||||
va_end(ap);
|
||||
return res;
|
||||
}
|
||||
@@ -2292,7 +2292,7 @@
|
||||
{
|
||||
va_list(ap);
|
||||
va_start(ap, format);
|
||||
- con->vfprintf(con, format, ap);
|
||||
+ (con->vfprintf)(con, format, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
--- R-2.0.1/src/main/printutils.c.BAD 2005-03-24 16:58:59.000000000 -0600
|
||||
+++ R-2.0.1/src/main/printutils.c 2005-03-24 16:59:12.000000000 -0600
|
||||
@@ -427,7 +427,7 @@
|
||||
|
||||
do{
|
||||
con = getConnection(con_num);
|
||||
- con->vfprintf(con, format, arg);
|
||||
+ (con->vfprintf)(con, format, arg);
|
||||
con->fflush(con);
|
||||
con_num = getActiveSink(i++);
|
||||
} while(con_num>0);
|
||||
@@ -452,7 +452,7 @@
|
||||
/* should never happen, but in case of corruption... */
|
||||
R_ErrorCon = 2;
|
||||
} else {
|
||||
- con->vfprintf(con, format, arg);
|
||||
+ (con->vfprintf)(con, format, arg);
|
||||
con->fflush(con);
|
||||
return;
|
||||
}
|
||||
--- R-2.0.1/src/include/R_ext/RS.h.BAD 2005-03-25 07:59:09.000000000 -0600
|
||||
+++ R-2.0.1/src/include/R_ext/RS.h 2005-03-25 07:59:26.000000000 -0600
|
||||
@@ -34,8 +34,8 @@
|
||||
#ifndef STRICT_R_HEADERS
|
||||
|
||||
#define R_PROBLEM_BUFSIZE 4096
|
||||
-#define PROBLEM {char R_problem_buf[R_PROBLEM_BUFSIZE];sprintf(R_problem_buf,
|
||||
-#define MESSAGE {char R_problem_buf[R_PROBLEM_BUFSIZE];sprintf(R_problem_buf,
|
||||
+#define PROBLEM {char R_problem_buf[R_PROBLEM_BUFSIZE];(sprintf)(R_problem_buf,
|
||||
+#define MESSAGE {char R_problem_buf[R_PROBLEM_BUFSIZE];(sprintf)(R_problem_buf,
|
||||
#define ERROR ),error(R_problem_buf);}
|
||||
#define RECOVER(x) ),error(R_problem_buf);}
|
||||
#define WARNING(x) ),warning(R_problem_buf);}
|
||||
--- R-2.1.0/src/main/scan.c.BAD 2005-04-18 09:00:40.000000000 -0500
|
||||
+++ R-2.1.0/src/main/scan.c 2005-04-18 09:00:56.000000000 -0500
|
||||
@@ -1638,7 +1638,7 @@
|
||||
{
|
||||
va_list(ap);
|
||||
va_start(ap, format);
|
||||
- con->vfprintf(con, format, ap);
|
||||
+ (con->vfprintf)(con, format, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
32
R-3.0.1-arm-compile-fix.patch
Normal file
32
R-3.0.1-arm-compile-fix.patch
Normal file
@ -0,0 +1,32 @@
|
||||
diff -up R-3.0.1/src/library/tools/R/install.R.armfix R-3.0.1/src/library/tools/R/install.R
|
||||
--- R-3.0.1/src/library/tools/R/install.R.armfix 2013-08-12 13:57:17.956790673 -0400
|
||||
+++ R-3.0.1/src/library/tools/R/install.R 2013-08-12 13:59:51.230800752 -0400
|
||||
@@ -108,7 +108,11 @@
|
||||
SHLIB_EXT <- if (WINDOWS) ".dll" else {
|
||||
## can we do better?
|
||||
mconf <- file.path(R.home(), paste0("etc", rarch), "Makeconf")
|
||||
- sub(".*= ", "", grep("^SHLIB_EXT", readLines(mconf), value = TRUE))
|
||||
+ if (substr( Sys.info()["machine"], 1, 3) == "arm") { # arm has broken regexps in libc
|
||||
+ sub(".*= ", "", grep("^SHLIB_EXT", readLines(mconf), value = TRUE), perl = TRUE)
|
||||
+ } else {
|
||||
+ sub(".*= ", "", grep("^SHLIB_EXT", readLines(mconf), value = TRUE))
|
||||
+ }
|
||||
}
|
||||
|
||||
options(warn = 1)
|
||||
@@ -1627,8 +1631,13 @@
|
||||
mconf <- readLines(file.path(R.home(),
|
||||
paste0("etc", Sys.getenv("R_ARCH")),
|
||||
"Makeconf"))
|
||||
- SHLIB_EXT <- sub(".*= ", "", grep("^SHLIB_EXT", mconf, value = TRUE))
|
||||
- SHLIB_LIBADD <- sub(".*= ", "", grep("^SHLIB_LIBADD", mconf, value = TRUE))
|
||||
+ if (substr( Sys.info()["machine"], 1, 3) == "arm") { # arm has broken regexps in libc
|
||||
+ SHLIB_EXT <- sub(".*= ", "", grep("^SHLIB_EXT", mconf, value = TRUE), perl = TRUE)
|
||||
+ SHLIB_LIBADD <- sub(".*= ", "", grep("^SHLIB_LIBADD", mconf, value = TRUE), perl = TRUE)
|
||||
+ } else {
|
||||
+ SHLIB_EXT <- sub(".*= ", "", grep("^SHLIB_EXT", mconf, value = TRUE))
|
||||
+ SHLIB_LIBADD <- sub(".*= ", "", grep("^SHLIB_LIBADD", mconf, value = TRUE))
|
||||
+ }
|
||||
MAKE <- Sys.getenv("MAKE")
|
||||
rarch <- Sys.getenv("R_ARCH")
|
||||
} else {
|
12
R-3.3.0-fix-java_path-in-javareconf.patch
Normal file
12
R-3.3.0-fix-java_path-in-javareconf.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up R-3.3.0/src/scripts/javareconf.in.fixpath R-3.3.0/src/scripts/javareconf.in
|
||||
--- R-3.3.0/src/scripts/javareconf.in.fixpath 2016-05-10 11:13:49.539844250 -0400
|
||||
+++ R-3.3.0/src/scripts/javareconf.in 2016-05-10 11:15:10.475180907 -0400
|
||||
@@ -78,7 +78,7 @@ else
|
||||
JAVA_PATH=${PATH}
|
||||
else
|
||||
## try jre/bin first just in case we don't have full JDK
|
||||
- JAVA_PATH=${JAVA_HOME}:${JAVA_HOME}/jre/bin:${JAVA_HOME}/bin:${JAVA_HOME}/../bin:${PATH}
|
||||
+ JAVA_PATH=${JAVA_HOME}:${JAVA_HOME}/jre/bin:${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/../bin
|
||||
fi
|
||||
fi
|
||||
## if 'java' is not on the PATH or JAVA_HOME, add some guesses as of
|
571
R-3.3.2-fix-zlib-detection.patch
Normal file
571
R-3.3.2-fix-zlib-detection.patch
Normal file
@ -0,0 +1,571 @@
|
||||
From a0fe05ce9d0937ad2334bb370785cb22c71e592b Mon Sep 17 00:00:00 2001
|
||||
From: lawrence <lawrence@00db46b3-68df-0310-9c12-caf00c1e9a41>
|
||||
Date: Wed, 4 Jan 2017 03:57:31 +0000
|
||||
Subject: [PATCH] R_ZLIB macro tests ZLIB_VERNUM to handle zlib 1.2.10 (6
|
||||
chars)
|
||||
|
||||
Thanks to George Hartzell for the fix.
|
||||
|
||||
|
||||
git-svn-id: https://svn.r-project.org/R/trunk@71889 00db46b3-68df-0310-9c12-caf00c1e9a41
|
||||
---
|
||||
m4/R.m4 | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: R-3.3.2/m4/R.m4
|
||||
===================================================================
|
||||
--- R-3.3.2.orig/m4/R.m4
|
||||
+++ R-3.3.2/m4/R.m4
|
||||
@@ -3113,10 +3113,11 @@ AC_DEFUN([_R_HEADER_ZLIB],
|
||||
#include <string.h>
|
||||
#include <zlib.h>
|
||||
int main() {
|
||||
-#ifdef ZLIB_VERSION
|
||||
-/* Work around Debian bug: it uses 1.2.3.4 even though there was no such
|
||||
- version on the master site zlib.net */
|
||||
- exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0);
|
||||
+#ifdef ZLIB_VERNUM
|
||||
+ if (ZLIB_VERNUM < 0x1250) {
|
||||
+ exit(1);
|
||||
+ }
|
||||
+ exit(0);
|
||||
#else
|
||||
exit(1);
|
||||
#endif
|
||||
Index: R-3.3.2/configure
|
||||
===================================================================
|
||||
--- R-3.3.2.orig/configure
|
||||
+++ R-3.3.2/configure
|
||||
@@ -1767,11 +1767,10 @@ Optional Features:
|
||||
--enable-java enable Java [yes]
|
||||
--enable-byte-compiled-packages
|
||||
byte-compile base and recommended packages [yes]
|
||||
- --enable-static[=PKGS] (libtool) build static libraries [default=no]
|
||||
- --enable-shared[=PKGS] (libtool) build shared libraries [default=yes]
|
||||
+ --enable-static[=PKGS] build static libraries [default=no]
|
||||
+ --enable-shared[=PKGS] build shared libraries [default=yes]
|
||||
--enable-fast-install[=PKGS]
|
||||
- (libtool) optimize for fast installation
|
||||
- [default=yes]
|
||||
+ optimize for fast installation [default=yes]
|
||||
--disable-libtool-lock avoid locking (might break parallel builds)
|
||||
--enable-long-double use long double type [yes]
|
||||
--disable-openmp do not use OpenMP
|
||||
@@ -1809,11 +1808,11 @@ Optional Packages:
|
||||
--with-recommended-packages
|
||||
use/install recommended R packages [yes]
|
||||
--with-ICU use ICU library (if available) [yes]
|
||||
- --with-pic[=PKGS] (libtool) try to use only PIC/non-PIC objects
|
||||
- [default=use both]
|
||||
+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
||||
+ both]
|
||||
--with-aix-soname=aix|svr4|both
|
||||
- (libtool( shared library versioning (aka "SONAME")
|
||||
- variant to provide on AIX, [default=aix].
|
||||
+ shared library versioning (aka "SONAME") variant to
|
||||
+ provide on AIX, [default=aix].
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the
|
||||
compiler's sysroot if not specified).
|
||||
@@ -3525,6 +3524,7 @@ ac_configure="$SHELL $ac_aux_dir/configu
|
||||
|
||||
|
||||
|
||||
+
|
||||
### * Information on the package.
|
||||
|
||||
PACKAGE=${PACKAGE_NAME}
|
||||
@@ -15038,6 +15038,9 @@ fi
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # Add ABI-specific directories to the system library path.
|
||||
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
||||
+
|
||||
# Ideally, we could use ldconfig to report *all* directores which are
|
||||
# searched for libraries, however this is still not possible. Aside from not
|
||||
# being certain /sbin/ldconfig is available, command
|
||||
@@ -15046,7 +15049,7 @@ fi
|
||||
# appending ld.so.conf contents (and includes) to the search path.
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
@@ -19000,6 +19003,9 @@ fi
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # Add ABI-specific directories to the system library path.
|
||||
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
||||
+
|
||||
# Ideally, we could use ldconfig to report *all* directores which are
|
||||
# searched for libraries, however this is still not possible. Aside from not
|
||||
# being certain /sbin/ldconfig is available, command
|
||||
@@ -19008,7 +19014,7 @@ fi
|
||||
# appending ld.so.conf contents (and includes) to the search path.
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
@@ -21950,6 +21956,9 @@ fi
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # Add ABI-specific directories to the system library path.
|
||||
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
||||
+
|
||||
# Ideally, we could use ldconfig to report *all* directores which are
|
||||
# searched for libraries, however this is still not possible. Aside from not
|
||||
# being certain /sbin/ldconfig is available, command
|
||||
@@ -21958,7 +21967,7 @@ fi
|
||||
# appending ld.so.conf contents (and includes) to the search path.
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
@@ -25065,7 +25074,7 @@ _ACEOF
|
||||
# flags.
|
||||
r_save_CFLAGS=$CFLAGS
|
||||
CFLAGS="$CFLAGS $r_verb"
|
||||
-(eval echo $as_me:25068: \"$ac_link\") >&5
|
||||
+(eval echo $as_me:25077: \"$ac_link\") >&5
|
||||
r_c_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
|
||||
echo "$r_c_v_output" >&5
|
||||
CFLAGS=$r_save_CFLAGS
|
||||
@@ -25140,7 +25149,7 @@ _ACEOF
|
||||
# flags.
|
||||
r_save_CFLAGS=$CFLAGS
|
||||
CFLAGS="$CFLAGS $r_cv_prog_c_v"
|
||||
-(eval echo $as_me:25143: \"$ac_link\") >&5
|
||||
+(eval echo $as_me:25152: \"$ac_link\") >&5
|
||||
r_c_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
|
||||
echo "$r_c_v_output" >&5
|
||||
CFLAGS=$r_save_CFLAGS
|
||||
@@ -35507,10 +35516,11 @@ else
|
||||
#include <string.h>
|
||||
#include <zlib.h>
|
||||
int main() {
|
||||
-#ifdef ZLIB_VERSION
|
||||
-/* Work around Debian bug: it uses 1.2.3.4 even though there was no such
|
||||
- version on the master site zlib.net */
|
||||
- exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0);
|
||||
+#ifdef ZLIB_VERNUM
|
||||
+ if (ZLIB_VERNUM < 0x1250) {
|
||||
+ exit(1);
|
||||
+ }
|
||||
+ exit(0);
|
||||
#else
|
||||
exit(1);
|
||||
#endif
|
||||
@@ -40840,6 +40850,9 @@ fi
|
||||
# before this can be enabled.
|
||||
hardcode_into_libs=yes
|
||||
|
||||
+ # Add ABI-specific directories to the system library path.
|
||||
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
||||
+
|
||||
# Ideally, we could use ldconfig to report *all* directores which are
|
||||
# searched for libraries, however this is still not possible. Aside from not
|
||||
# being certain /sbin/ldconfig is available, command
|
||||
@@ -40848,7 +40861,7 @@ fi
|
||||
# appending ld.so.conf contents (and includes) to the search path.
|
||||
if test -f /etc/ld.so.conf; then
|
||||
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
||||
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
||||
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
||||
fi
|
||||
|
||||
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
||||
Index: R-3.3.2/tools/missing
|
||||
===================================================================
|
||||
--- R-3.3.2.orig/tools/missing
|
||||
+++ /dev/null
|
||||
@@ -1,367 +0,0 @@
|
||||
-#! /bin/sh
|
||||
-# Common stub for a few missing GNU programs while installing.
|
||||
-
|
||||
-scriptversion=2006-05-10.23
|
||||
-
|
||||
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
|
||||
-# Free Software Foundation, Inc.
|
||||
-# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
-
|
||||
-# This program is free software; you can redistribute it and/or modify
|
||||
-# it under the terms of the GNU General Public License as published by
|
||||
-# the Free Software Foundation; either version 2, or (at your option)
|
||||
-# any later version.
|
||||
-
|
||||
-# This program is distributed in the hope that it will be useful,
|
||||
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-# GNU General Public License for more details.
|
||||
-
|
||||
-# You should have received a copy of the GNU General Public License
|
||||
-# along with this program; if not, write to the Free Software
|
||||
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
-# 02110-1301, USA.
|
||||
-
|
||||
-# As a special exception to the GNU General Public License, if you
|
||||
-# distribute this file as part of a program that contains a
|
||||
-# configuration script generated by Autoconf, you may include it under
|
||||
-# the same distribution terms that you use for the rest of that program.
|
||||
-
|
||||
-if test $# -eq 0; then
|
||||
- echo 1>&2 "Try \`$0 --help' for more information"
|
||||
- exit 1
|
||||
-fi
|
||||
-
|
||||
-run=:
|
||||
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
|
||||
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
|
||||
-
|
||||
-# In the cases where this matters, `missing' is being run in the
|
||||
-# srcdir already.
|
||||
-if test -f configure.ac; then
|
||||
- configure_ac=configure.ac
|
||||
-else
|
||||
- configure_ac=configure.in
|
||||
-fi
|
||||
-
|
||||
-msg="missing on your system"
|
||||
-
|
||||
-case $1 in
|
||||
---run)
|
||||
- # Try to run requested program, and just exit if it succeeds.
|
||||
- run=
|
||||
- shift
|
||||
- "$@" && exit 0
|
||||
- # Exit code 63 means version mismatch. This often happens
|
||||
- # when the user try to use an ancient version of a tool on
|
||||
- # a file that requires a minimum version. In this case we
|
||||
- # we should proceed has if the program had been absent, or
|
||||
- # if --run hadn't been passed.
|
||||
- if test $? = 63; then
|
||||
- run=:
|
||||
- msg="probably too old"
|
||||
- fi
|
||||
- ;;
|
||||
-
|
||||
- -h|--h|--he|--hel|--help)
|
||||
- echo "\
|
||||
-$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
-
|
||||
-Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
-error status if there is no known handling for PROGRAM.
|
||||
-
|
||||
-Options:
|
||||
- -h, --help display this help and exit
|
||||
- -v, --version output version information and exit
|
||||
- --run try to run the given command, and emulate it if it fails
|
||||
-
|
||||
-Supported PROGRAM values:
|
||||
- aclocal touch file \`aclocal.m4'
|
||||
- autoconf touch file \`configure'
|
||||
- autoheader touch file \`config.h.in'
|
||||
- autom4te touch the output file, or create a stub one
|
||||
- automake touch all \`Makefile.in' files
|
||||
- bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
- flex create \`lex.yy.c', if possible, from existing .c
|
||||
- help2man touch the output file
|
||||
- lex create \`lex.yy.c', if possible, from existing .c
|
||||
- makeinfo touch the output file
|
||||
- tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
- yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
-
|
||||
-Send bug reports to <bug-automake@gnu.org>."
|
||||
- exit $?
|
||||
- ;;
|
||||
-
|
||||
- -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
- echo "missing $scriptversion (GNU Automake)"
|
||||
- exit $?
|
||||
- ;;
|
||||
-
|
||||
- -*)
|
||||
- echo 1>&2 "$0: Unknown \`$1' option"
|
||||
- echo 1>&2 "Try \`$0 --help' for more information"
|
||||
- exit 1
|
||||
- ;;
|
||||
-
|
||||
-esac
|
||||
-
|
||||
-# Now exit if we have it, but it failed. Also exit now if we
|
||||
-# don't have it and --version was passed (most likely to detect
|
||||
-# the program).
|
||||
-case $1 in
|
||||
- lex|yacc)
|
||||
- # Not GNU programs, they don't have --version.
|
||||
- ;;
|
||||
-
|
||||
- tar)
|
||||
- if test -n "$run"; then
|
||||
- echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
- exit 1
|
||||
- elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
- exit 1
|
||||
- fi
|
||||
- ;;
|
||||
-
|
||||
- *)
|
||||
- if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
- # We have it, but it failed.
|
||||
- exit 1
|
||||
- elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
- # Could not run --version or --help. This is probably someone
|
||||
- # running `$TOOL --version' or `$TOOL --help' to check whether
|
||||
- # $TOOL exists and not knowing $TOOL uses missing.
|
||||
- exit 1
|
||||
- fi
|
||||
- ;;
|
||||
-esac
|
||||
-
|
||||
-# If it does not exist, or fails to run (possibly an outdated version),
|
||||
-# try to emulate it.
|
||||
-case $1 in
|
||||
- aclocal*)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is $msg. You should only need it if
|
||||
- you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
- to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
- any GNU archive site."
|
||||
- touch aclocal.m4
|
||||
- ;;
|
||||
-
|
||||
- autoconf)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is $msg. You should only need it if
|
||||
- you modified \`${configure_ac}'. You might want to install the
|
||||
- \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
- archive site."
|
||||
- touch configure
|
||||
- ;;
|
||||
-
|
||||
- autoheader)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is $msg. You should only need it if
|
||||
- you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
- to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
- from any GNU archive site."
|
||||
- files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
- test -z "$files" && files="config.h"
|
||||
- touch_files=
|
||||
- for f in $files; do
|
||||
- case $f in
|
||||
- *:*) touch_files="$touch_files "`echo "$f" |
|
||||
- sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
- *) touch_files="$touch_files $f.in";;
|
||||
- esac
|
||||
- done
|
||||
- touch $touch_files
|
||||
- ;;
|
||||
-
|
||||
- automake*)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is $msg. You should only need it if
|
||||
- you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
- You might want to install the \`Automake' and \`Perl' packages.
|
||||
- Grab them from any GNU archive site."
|
||||
- find . -type f -name Makefile.am -print |
|
||||
- sed 's/\.am$/.in/' |
|
||||
- while read f; do touch "$f"; done
|
||||
- ;;
|
||||
-
|
||||
- autom4te)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is needed, but is $msg.
|
||||
- You might have modified some files without having the
|
||||
- proper tools for further handling them.
|
||||
- You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
- archive site."
|
||||
-
|
||||
- file=`echo "$*" | sed -n "$sed_output"`
|
||||
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
- if test -f "$file"; then
|
||||
- touch $file
|
||||
- else
|
||||
- test -z "$file" || exec >$file
|
||||
- echo "#! /bin/sh"
|
||||
- echo "# Created by GNU Automake missing as a replacement of"
|
||||
- echo "# $ $@"
|
||||
- echo "exit 0"
|
||||
- chmod +x $file
|
||||
- exit 1
|
||||
- fi
|
||||
- ;;
|
||||
-
|
||||
- bison|yacc)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' $msg. You should only need it if
|
||||
- you modified a \`.y' file. You may need the \`Bison' package
|
||||
- in order for those modifications to take effect. You can get
|
||||
- \`Bison' from any GNU archive site."
|
||||
- rm -f y.tab.c y.tab.h
|
||||
- if test $# -ne 1; then
|
||||
- eval LASTARG="\${$#}"
|
||||
- case $LASTARG in
|
||||
- *.y)
|
||||
- SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
- if test -f "$SRCFILE"; then
|
||||
- cp "$SRCFILE" y.tab.c
|
||||
- fi
|
||||
- SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
- if test -f "$SRCFILE"; then
|
||||
- cp "$SRCFILE" y.tab.h
|
||||
- fi
|
||||
- ;;
|
||||
- esac
|
||||
- fi
|
||||
- if test ! -f y.tab.h; then
|
||||
- echo >y.tab.h
|
||||
- fi
|
||||
- if test ! -f y.tab.c; then
|
||||
- echo 'main() { return 0; }' >y.tab.c
|
||||
- fi
|
||||
- ;;
|
||||
-
|
||||
- lex|flex)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is $msg. You should only need it if
|
||||
- you modified a \`.l' file. You may need the \`Flex' package
|
||||
- in order for those modifications to take effect. You can get
|
||||
- \`Flex' from any GNU archive site."
|
||||
- rm -f lex.yy.c
|
||||
- if test $# -ne 1; then
|
||||
- eval LASTARG="\${$#}"
|
||||
- case $LASTARG in
|
||||
- *.l)
|
||||
- SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
- if test -f "$SRCFILE"; then
|
||||
- cp "$SRCFILE" lex.yy.c
|
||||
- fi
|
||||
- ;;
|
||||
- esac
|
||||
- fi
|
||||
- if test ! -f lex.yy.c; then
|
||||
- echo 'main() { return 0; }' >lex.yy.c
|
||||
- fi
|
||||
- ;;
|
||||
-
|
||||
- help2man)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is $msg. You should only need it if
|
||||
- you modified a dependency of a manual page. You may need the
|
||||
- \`Help2man' package in order for those modifications to take
|
||||
- effect. You can get \`Help2man' from any GNU archive site."
|
||||
-
|
||||
- file=`echo "$*" | sed -n "$sed_output"`
|
||||
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
- if test -f "$file"; then
|
||||
- touch $file
|
||||
- else
|
||||
- test -z "$file" || exec >$file
|
||||
- echo ".ab help2man is required to generate this page"
|
||||
- exit 1
|
||||
- fi
|
||||
- ;;
|
||||
-
|
||||
- makeinfo)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is $msg. You should only need it if
|
||||
- you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
- indirectly affecting the aspect of the manual. The spurious
|
||||
- call might also be the consequence of using a buggy \`make' (AIX,
|
||||
- DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
- the \`GNU make' package. Grab either from any GNU archive site."
|
||||
- # The file to touch is that specified with -o ...
|
||||
- file=`echo "$*" | sed -n "$sed_output"`
|
||||
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
- if test -z "$file"; then
|
||||
- # ... or it is the one specified with @setfilename ...
|
||||
- infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
- file=`sed -n '
|
||||
- /^@setfilename/{
|
||||
- s/.* \([^ ]*\) *$/\1/
|
||||
- p
|
||||
- q
|
||||
- }' $infile`
|
||||
- # ... or it is derived from the source name (dir/f.texi becomes f.info)
|
||||
- test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
||||
- fi
|
||||
- # If the file does not exist, the user really needs makeinfo;
|
||||
- # let's fail without touching anything.
|
||||
- test -f $file || exit 1
|
||||
- touch $file
|
||||
- ;;
|
||||
-
|
||||
- tar)
|
||||
- shift
|
||||
-
|
||||
- # We have already tried tar in the generic part.
|
||||
- # Look for gnutar/gtar before invocation to avoid ugly error
|
||||
- # messages.
|
||||
- if (gnutar --version > /dev/null 2>&1); then
|
||||
- gnutar "$@" && exit 0
|
||||
- fi
|
||||
- if (gtar --version > /dev/null 2>&1); then
|
||||
- gtar "$@" && exit 0
|
||||
- fi
|
||||
- firstarg="$1"
|
||||
- if shift; then
|
||||
- case $firstarg in
|
||||
- *o*)
|
||||
- firstarg=`echo "$firstarg" | sed s/o//`
|
||||
- tar "$firstarg" "$@" && exit 0
|
||||
- ;;
|
||||
- esac
|
||||
- case $firstarg in
|
||||
- *h*)
|
||||
- firstarg=`echo "$firstarg" | sed s/h//`
|
||||
- tar "$firstarg" "$@" && exit 0
|
||||
- ;;
|
||||
- esac
|
||||
- fi
|
||||
-
|
||||
- echo 1>&2 "\
|
||||
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
- You may want to install GNU tar or Free paxutils, or check the
|
||||
- command line arguments."
|
||||
- exit 1
|
||||
- ;;
|
||||
-
|
||||
- *)
|
||||
- echo 1>&2 "\
|
||||
-WARNING: \`$1' is needed, and is $msg.
|
||||
- You might have modified some files without having the
|
||||
- proper tools for further handling them. Check the \`README' file,
|
||||
- it often tells you about the needed prerequisites for installing
|
||||
- this package. You may also peek at any GNU archive site, in case
|
||||
- some other package would contain this missing \`$1' program."
|
||||
- exit 1
|
||||
- ;;
|
||||
-esac
|
||||
-
|
||||
-exit 0
|
||||
-
|
||||
-# Local variables:
|
||||
-# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
-# time-stamp-start: "scriptversion="
|
||||
-# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
-# time-stamp-end: "$"
|
||||
-# End:
|
||||
Index: R-3.3.2/configure.ac
|
||||
===================================================================
|
||||
--- R-3.3.2.orig/configure.ac
|
||||
+++ R-3.3.2/configure.ac
|
||||
@@ -33,6 +33,7 @@ m4_define([R_VERSION],
|
||||
AC_INIT([R],[R_VERSION],[https://bugs.r-project.org],[R],[https://www.r-project.org])
|
||||
AC_CONFIG_SRCDIR([src/include/Defn.h])
|
||||
AC_CONFIG_AUX_DIR([tools])
|
||||
+AC_CONFIG_MACRO_DIRS([m4])
|
||||
|
||||
### * Information on the package.
|
||||
|
16
R-3.6.2-ppc64-no-const-long-double.patch
Normal file
16
R-3.6.2-ppc64-no-const-long-double.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff -up R-3.6.2/src/main/arithmetic.c.ppc64 R-3.6.2/src/main/arithmetic.c
|
||||
--- R-3.6.2/src/main/arithmetic.c.ppc64 2019-10-18 18:15:02.000000000 -0400
|
||||
+++ R-3.6.2/src/main/arithmetic.c 2019-12-18 09:05:50.363220122 -0500
|
||||
@@ -177,7 +177,12 @@ void attribute_hidden InitArithmetic()
|
||||
}
|
||||
|
||||
#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
|
||||
+# ifdef __PPC64__
|
||||
+ // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
|
||||
+# define q_1_eps (1 / LDBL_EPSILON)
|
||||
+# else
|
||||
static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
|
||||
+# endif
|
||||
#else
|
||||
static double q_1_eps = 1 / DBL_EPSILON;
|
||||
#endif
|
50
R-4.0.0-ppc64-infinite-loop-fix.patch
Normal file
50
R-4.0.0-ppc64-infinite-loop-fix.patch
Normal file
@ -0,0 +1,50 @@
|
||||
diff -up R-4.0.0/src/main/machar.c.ppc64 R-4.0.0/src/main/machar.c
|
||||
--- R-4.0.0/src/main/machar.c.ppc64 2020-06-02 14:42:18.741222048 -0400
|
||||
+++ R-4.0.0/src/main/machar.c 2020-06-02 14:44:26.523106368 -0400
|
||||
@@ -98,21 +98,22 @@ MACH_NAME(int *ibeta, int *it, int *irnd
|
||||
{
|
||||
volatile DTYPE a, b, beta, betain, betah, one,
|
||||
t, temp, tempa, temp1, two, y, z, zero;
|
||||
- int i, itemp, iz, j, k, mx, nxres;
|
||||
+ int i, iz, j, k, mx, nxres;
|
||||
|
||||
one = 1;
|
||||
two = one+one;
|
||||
zero = one-one;
|
||||
|
||||
/* determine ibeta, beta ala malcolm. */
|
||||
-
|
||||
- a = one;
|
||||
+ a = one; // a = <large> = 9.0072e+15 for 'double' is used later
|
||||
do {
|
||||
a = a + a;
|
||||
temp = a + one;
|
||||
temp1 = temp - a;
|
||||
}
|
||||
while(temp1 - one == zero);
|
||||
+#ifdef _no_longer___did_overflow_ // on IBM PowerPPC ('Power 8')
|
||||
+ int itemp;
|
||||
b = one;
|
||||
do {
|
||||
b = b + b;
|
||||
@@ -121,6 +122,9 @@ MACH_NAME(int *ibeta, int *it, int *irnd
|
||||
}
|
||||
while (itemp == 0);
|
||||
*ibeta = itemp;
|
||||
+#else
|
||||
+ *ibeta = (int) FLT_RADIX;
|
||||
+#endif
|
||||
beta = *ibeta;
|
||||
|
||||
/* determine it, irnd */
|
||||
diff -up R-4.0.0/src/main/platform.c.ppc64 R-4.0.0/src/main/platform.c
|
||||
--- R-4.0.0/src/main/platform.c.ppc64 2020-06-02 14:44:40.940754817 -0400
|
||||
+++ R-4.0.0/src/main/platform.c 2020-06-02 14:45:08.940072121 -0400
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <Rinterface.h>
|
||||
#include <Fileio.h>
|
||||
#include <ctype.h> /* toupper */
|
||||
+#include <float.h> // -> FLT_RADIX
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h> /* for realpath */
|
4274
R-FAQ.html
Normal file
4274
R-FAQ.html
Normal file
File diff suppressed because it is too large
Load Diff
10
R-LANG.patch
10
R-LANG.patch
@ -1,10 +0,0 @@
|
||||
--- R-1.9.0/src/scripts/R.sh.in 2004-03-07 12:15:11.000000000 +0100
|
||||
+++ R-1.9.0-fixed/src/scripts/R.sh.in 2004-04-01 18:43:49.000000000 +0200
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Shell wrapper for R executable.
|
||||
|
||||
+LANG=C
|
||||
R_HOME_DIR=
|
||||
if test -n "${R_HOME}" && \
|
||||
test "${R_HOME}" != "${R_HOME_DIR}"; then
|
7180
R-admin.html
Normal file
7180
R-admin.html
Normal file
File diff suppressed because it is too large
Load Diff
3181
R-data.html
Normal file
3181
R-data.html
Normal file
File diff suppressed because it is too large
Load Diff
16101
R-exts.html
Normal file
16101
R-exts.html
Normal file
File diff suppressed because it is too large
Load Diff
9612
R-intro.html
Normal file
9612
R-intro.html
Normal file
File diff suppressed because it is too large
Load Diff
5805
R-ints.html
Normal file
5805
R-ints.html
Normal file
File diff suppressed because it is too large
Load Diff
6225
R-lang.html
Normal file
6225
R-lang.html
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,34 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Determine R versions
|
||||
R_SUPER_VERSION=`R --version | grep "R version" | cut -d " " -f 3 | cut -d "." -f 1`
|
||||
R_MAJOR_VERSION=`R --version | grep "R version" | cut -d " " -f 3 | cut -d "." -f 2`
|
||||
|
||||
# If R 3.0.* ever comes out, we'll need to revisit this logic.
|
||||
# Or, just nuke this script and the macros entirely.
|
||||
if [ "$R_SUPER_VERSION" -ge "2" -a "$R_MAJOR_VERSION" -ge "10" ]; then
|
||||
# echo "R is new enough to not need this anymore."
|
||||
exit 0
|
||||
else
|
||||
|
||||
# Figure out what RHOME is set to
|
||||
TMP_R_HOME=`R RHOME`
|
||||
|
||||
# Figure out what R_DOC_DIR is set to
|
||||
# Ideally, we could ask R just like we do for RHOME, but we can't yet.
|
||||
TMP_R_DOC_DIR=`grep "R_DOC_DIR=" /usr/bin/R | cut -d "=" -f 2`
|
||||
|
||||
# Write out all the contents in arch library locations
|
||||
cat $TMP_R_HOME/library/*/CONTENTS > $TMP_R_DOC_DIR/html/search/index.txt 2>/dev/null
|
||||
# Don't use .. based paths, substitute TMP_R_HOME
|
||||
sed -i "s!../../..!$TMP_R_HOME!g" $TMP_R_DOC_DIR/html/search/index.txt
|
||||
|
||||
# Write out all the contents in noarch library locations
|
||||
cat /usr/share/R/library/*/CONTENTS >> $TMP_R_DOC_DIR/html/search/index.txt 2>/dev/null
|
||||
# Don't use .. based paths, substitute /usr/share/R
|
||||
sed -i "s!../../..!/usr/share/R!g" $TMP_R_DOC_DIR/html/search/index.txt
|
||||
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
9
macros.R
9
macros.R
@ -1,9 +0,0 @@
|
||||
#
|
||||
# RPM macros for R packaging
|
||||
#
|
||||
|
||||
#
|
||||
# Make R search index.txt
|
||||
#
|
||||
%_R_make_search_index /usr/lib/rpm/R-make-search-index.sh
|
||||
|
2
package.cfg
Normal file
2
package.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
[koji]
|
||||
targets = epel8 epel8-playground
|
7
sources
7
sources
@ -1 +1,6 @@
|
||||
7421108ade3e9223263394b9bbe277ce R-2.11.1.tar.gz
|
||||
SHA512 (zlib-1.2.11.tar.gz) = 73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae
|
||||
SHA512 (bzip2-1.0.8.tar.gz) = 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3
|
||||
SHA512 (xz-5.2.5.tar.bz2) = 89e25ddf72427ee9608cbf2e9dbc24d592cb67a27f44ccf7d47e4d9405774444e9cfcd02ac4bcb92064860371ed31d3cfbecd5fe063f296ead607714c0a664a1
|
||||
SHA512 (R-4.0.3.tar.gz) = 2493295f3052d077a4820c0f84ca1c37df262b8b357f62f2ea99dbfffea065861735a08fa2098421078e58e917c540e680a668546d450af734722b421669e058
|
||||
SHA512 (pcre-8.44.tar.bz2) = f26d850aab5228799e58ac8c2306fb313889332c39e29b118ef1de57677c5c90f970d68d3f475cabc64f8b982a77f04eca990ff1057f3ccf5e19bd137997c4ac
|
||||
SHA512 (curl-7.72.0.tar.bz2) = ca787b8890c485f3176b9d51b024d217d69f28c34ab84c4091a2fcbbe5f13346efd559e9bb507971aec0ecb6ec4ed5975d2722773015728b72d3f26a3574c312
|
||||
|
Loading…
Reference in New Issue
Block a user