Compare commits
347 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 | ||
|
818917914a | ||
|
dad250ea82 | ||
|
6fde1a0dcd | ||
|
f4e5cfe294 | ||
|
cae7911500 | ||
|
024eb041c4 | ||
|
e1b39d0e4a | ||
|
d0887285da | ||
|
ee29b1a75e | ||
|
7a08bc08da | ||
|
dcabdd3746 | ||
|
0f2409b1c2 | ||
|
f6c4d07690 | ||
|
9db92e9942 | ||
|
a21c791561 | ||
|
b898a50cd2 | ||
|
434fe794ef | ||
|
e63e093f79 | ||
|
1d62580313 | ||
|
1b56f41a52 | ||
|
e67a387969 | ||
|
89d98760d9 | ||
|
cde20102a3 | ||
|
84e3cbc65e | ||
|
e6dbcb894a | ||
|
051696abff | ||
|
58d7c5a2b5 | ||
|
48f1a8bef9 | ||
|
dd1131e2ba | ||
|
7883fbd6a4 | ||
|
4feec9d3a7 | ||
|
d84fbc68e0 | ||
|
a880d4def6 | ||
|
42b83eface | ||
|
c93c432678 | ||
|
d9a505b01d | ||
|
42dc4ebbe9 | ||
|
02172dced2 | ||
|
b2423e500b | ||
|
b69868db4e | ||
|
07fac606e4 | ||
|
fdfbbebb14 | ||
|
62458ff110 | ||
|
c9b1f7ff53 | ||
|
681035265f | ||
|
17f4b54804 | ||
|
5b9b77d2d3 | ||
|
ee48b1de3a | ||
|
7706187bdf | ||
|
696fc13b8a | ||
|
bfd2a54760 | ||
|
90242f18c5 | ||
|
e832ac1d86 | ||
|
2ab725992f | ||
|
d015e844bb | ||
|
9155d7557e | ||
|
712378546f | ||
|
4792f3fdf6 | ||
|
30478c7a38 | ||
|
1a7a2b9a2c | ||
|
bbe923fd0f | ||
|
d3497415e0 | ||
|
6465c32666 | ||
|
6d196a5ae3 | ||
|
58d98de41a | ||
|
19ba41162d | ||
|
72144684ae | ||
|
2eee2b7b5a | ||
|
01b8d0ea20 | ||
|
33b4de2cb4 | ||
|
2b51a16f4d | ||
|
059a4b71b2 | ||
|
f6f0c9cab8 | ||
|
a9e3ad5c40 | ||
|
7aa07b4a7d | ||
|
a129f0ab4a | ||
|
553f25a694 | ||
|
c19e49c079 | ||
|
4d1f6b77fe | ||
|
4b917060b5 | ||
|
6de5cfaecb | ||
|
a49e005e09 | ||
|
75e2e75a7b | ||
|
c95572151f | ||
|
410b32003f | ||
|
21c9659674 | ||
|
59b20e8491 | ||
|
dbc11a218b | ||
|
8703c19fdd | ||
|
7120821ee5 | ||
|
5dd070567c | ||
|
e395fff4c4 | ||
|
cadbf8dfc2 | ||
|
7d8b3141e0 | ||
|
6a74d204a0 | ||
|
618164e38f | ||
|
cb9e622842 | ||
|
3d5b23baf8 | ||
|
8b1195fd8e | ||
|
237a73ad27 | ||
|
13d73cceb0 | ||
|
f3bd891464 | ||
|
4c4681e11c | ||
|
2584e95bca | ||
|
363527ef30 | ||
|
4c30ea5bef | ||
|
aecb205f18 | ||
|
a83a316576 | ||
|
0d3e2b8925 | ||
|
0653ba4ecd | ||
|
c1ad31fc54 | ||
|
80a21942ca | ||
|
f0519a4a49 | ||
|
59e07a1dba | ||
|
ea5471d7ce | ||
|
c8c2d280a8 | ||
|
47692b3b67 | ||
|
4ea483f392 | ||
|
0207d3fe52 | ||
|
c025d0732f | ||
|
ef5b8412cf | ||
|
dceed37d30 | ||
|
a5e1a9d698 | ||
|
4c6489b85e | ||
|
b78d665c77 | ||
|
589d7e0873 | ||
|
b285438f3a | ||
|
72b771423e | ||
|
c6b2c8e7c5 | ||
|
98300c8333 | ||
|
0672b69fcb | ||
|
f427384754 | ||
|
d6615bafd5 | ||
|
bc7734f61c | ||
|
52ac3e0efb | ||
|
9604248e93 | ||
|
4ac1a69ba2 | ||
|
9d6fa35501 | ||
|
bf8154d26e | ||
|
994f9f7125 | ||
|
c2f0695c1b | ||
|
bc7b262790 | ||
|
c38221dbed | ||
|
5344861baa | ||
|
a2830f38cb | ||
|
22f036a766 | ||
|
e1ff85f0e8 | ||
|
53c5674e2f | ||
|
402fbbf444 | ||
|
387ab92fbe | ||
|
13d6a0ee90 | ||
|
25e0ecad40 | ||
|
05ba0c124d | ||
|
251e22af0a | ||
|
dab0e1f93c | ||
|
5226c2c1e2 | ||
|
a4dc7f76f9 | ||
|
0a9c0de78a | ||
|
b814f2a7d7 | ||
|
181b874579 | ||
|
ebd23fce88 | ||
|
188fbfbd5e | ||
|
259a3520cb | ||
|
a807881f4b | ||
|
c84c10c82b | ||
|
e7a7eaa4bf | ||
|
b49a5a25ba | ||
|
a2a1845707 | ||
|
ac2dd2b6ae | ||
|
c2d0d7e77b | ||
|
11948727f2 | ||
|
4bffca9287 |
65
.gitignore
vendored
65
.gitignore
vendored
@ -1,22 +1,43 @@
|
||||
R-2.11.1.tar.gz
|
||||
/R-2.12.0.tar.gz
|
||||
/R-2.12.1.tar.gz
|
||||
/R-2.12.2.tar.gz
|
||||
/R-2.13.0.tar.gz
|
||||
/R-2.13.1.tar.gz
|
||||
/R-2.13.2.tar.gz
|
||||
/R-2.14.0.tar.gz
|
||||
/R-2.14.1.tar.gz
|
||||
/R-2.15.0.tar.gz
|
||||
/R-2.15.1.tar.gz
|
||||
/R-2.15.2.tar.gz
|
||||
/R-3.0.0.tar.gz
|
||||
/R-3.0.1.tar.gz
|
||||
/R-3.0.2.tar.gz
|
||||
/R-3.0.3.tar.gz
|
||||
/R-3.1.1.tar.gz
|
||||
/R-3.1.2.tar.gz
|
||||
/R-3.1.3.tar.gz
|
||||
/R-3.2.0.tar.gz
|
||||
/R-3.2.1.tar.gz
|
||||
/R-3.2.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
|
||||
|
@ -8,19 +8,15 @@ Xorg server will not generate Expose events if backing store is enabled. Since i
|
||||
src/modules/X11/devX11.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/src/modules/X11/devX11.c b/src/modules/X11/devX11.c
|
||||
index b714f1a..143441f 100644
|
||||
--- a/src/modules/X11/devX11.c
|
||||
+++ b/src/modules/X11/devX11.c
|
||||
@@ -1477,7 +1477,7 @@ X11_Open(pDevDesc dd, pX11Desc xd, const char *dsp,
|
||||
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
|
||||
| ButtonMotionMask
|
||||
| PointerMotionMask
|
||||
| PointerMotionHintMask
|
||||
--
|
||||
1.7.1
|
||||
|
||||
|
10076
R-2.4.0-patched-2006-11-03.patch
Normal file
10076
R-2.4.0-patched-2006-11-03.patch
Normal file
File diff suppressed because it is too large
Load Diff
149
R-2.5.0-pkgconfig.patch
Normal file
149
R-2.5.0-pkgconfig.patch
Normal file
@ -0,0 +1,149 @@
|
||||
diff -uNr R-2.5.0/src/nmath/standalone/Makefile.in R-2.5.0-patched/src/nmath/standalone/Makefile.in
|
||||
--- R-2.5.0/src/nmath/standalone/Makefile.in 2007-03-26 18:42:08.000000000 +0200
|
||||
+++ R-2.5.0-patched/src/nmath/standalone/Makefile.in 2007-04-29 14:50:55.000000000 +0200
|
||||
@@ -67,7 +67,7 @@
|
||||
libRmath_la_LDFLAGS =
|
||||
|
||||
CLEANFILES = Makedeps *.d *.o *.lo test $(SOURCES)
|
||||
-DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
|
||||
+DISTCLEANFILES = Makefile libRmath.pc $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
|
||||
|
||||
DEFS = -DHAVE_CONFIG_H -DMATHLIB_STANDALONE
|
||||
ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) -I$(srcdir)/.. $(CPPFLAGS) $(DEFS)
|
||||
@@ -78,7 +78,7 @@
|
||||
@r_cc_lo_rules_frag@
|
||||
|
||||
|
||||
-all: Makefile inc static shared
|
||||
+all: Makefile inc static shared build-pc
|
||||
|
||||
inc:
|
||||
(cd ../../include; $(MAKE) Rmath.h)
|
||||
@@ -100,6 +100,11 @@
|
||||
shared: Makefile ../../include/Rconfig.h Copy Makedeps
|
||||
@$(MAKE) $(Rexeclibdir_LTLIBRARIES)
|
||||
|
||||
+build-pc:
|
||||
+ @$(SED) -e "s:@libdir:$(libdir):" -e "s:@includedir:$(includedir):" \
|
||||
+ -e 's/@VERSION/$(VERSION)/' -e 's/@libm/$(LIBM)/' $(srcdir)/libRmath.pc.in \
|
||||
+ > "libRmath.pc"
|
||||
+
|
||||
../../include/Rconfig.h:
|
||||
(cd $(@D); $(MAKE) $(@F))
|
||||
|
||||
@@ -163,9 +168,7 @@
|
||||
|
||||
install-pc:
|
||||
@$(MKINSTALLDIRS) "$(libdir)/pkgconfig"
|
||||
- @$(SED) -e "s:@libdir:$(libdir):" -e "s:@includedir:$(includedir):" \
|
||||
- -e 's/@VERSION/$(VERSION)/' -e 's/@libm/$(LIBM)/' $(srcdir)/libRmath.pc.in \
|
||||
- > "$(libdir)/pkgconfig/libRmath.pc"
|
||||
+ @$(INSTALL_DATA) libRmath.pc "$(libdir)/pkgconfig/libRmath.pc"
|
||||
|
||||
uninstall:
|
||||
@rm -f $(includedir)/Rmath.h $(libdir)/$(libRmath_la) $(libdir)/libRmath.a "$(libdir)/pkgconfig/libRmath.pc"
|
||||
diff -uNr R-2.5.0/src/scripts/Makefile.in R-2.5.0-patched/src/scripts/Makefile.in
|
||||
--- R-2.5.0/src/scripts/Makefile.in 2007-03-26 18:42:09.000000000 +0200
|
||||
+++ R-2.5.0-patched/src/scripts/Makefile.in 2007-04-29 14:50:14.000000000 +0200
|
||||
@@ -23,17 +23,22 @@
|
||||
DISTFILES = Makefile.in Makefile.win $(SCRIPTS_S) $(SCRIPTS_B_IN) R.sh.in
|
||||
|
||||
CLEANFILES =
|
||||
-DISTCLEANFILES = Makefile R.fe R.sh $(SCRIPTS_B)
|
||||
+DISTCLEANFILES = Makefile R.fe R.fe2 R.sh $(SCRIPTS_B)
|
||||
|
||||
all: Makefile R
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
|
||||
-R: $(SCRIPTS_B) R.fe
|
||||
+R: $(SCRIPTS_B) R.fe R.fe2
|
||||
@$(MAKE) rhome=$(top_builddir) install-cmds
|
||||
@$(INSTALL_SCRIPT) R.fe $(top_builddir)/bin/R
|
||||
|
||||
+R.fe2:
|
||||
+ @(d=`echo '$(rhome)' | sed 's,/,\\\/,g';`; \
|
||||
+ sed -e "s/\\(R_HOME_DIR=\\).*/\\1$${d}/;" -e "s+\\(R_SHARE_DIR=\\).*+\\1$(rsharedir)+;" -e "s+\\(R_INCLUDE_DIR=\\).*+\\1$(rincludedir)+;" -e "s+\\(R_DOC_DIR=\\).*+\\1$(rdocdir)+;"\
|
||||
+ < R.fe > $@)
|
||||
+
|
||||
## <NOTE>
|
||||
## Seems we need target rules for creating FOO from FOO.in: pattern
|
||||
## rules ('%:%.in') are not portable, and some versions of Make do not
|
||||
@@ -95,10 +100,8 @@
|
||||
|
||||
install: installdirs install-cmds
|
||||
@rm -f $(bindir)/R
|
||||
- @(d=`echo '$(rhome)' | sed 's,/,\\\/,g';`; \
|
||||
- sed -e "s/\\(R_HOME_DIR=\\).*/\\1$${d}/;" -e "s+\\(R_SHARE_DIR=\\).*+\\1$(rsharedir)+;" -e "s+\\(R_INCLUDE_DIR=\\).*+\\1$(rincludedir)+;" -e "s+\\(R_DOC_DIR=\\).*+\\1$(rdocdir)+;"\
|
||||
- < R.fe > "$(Rexecbindir)/R")
|
||||
- @$(INSTALL_SCRIPT) "$(Rexecbindir)/R" "$(bindir)/R"
|
||||
+ @$(INSTALL_SCRIPT) R.fe2 "$(Rexecbindir)/R"
|
||||
+ @$(INSTALL_SCRIPT) R.fe2 "$(bindir)/R"
|
||||
@chmod 755 "$(bindir)/R" "$(Rexecbindir)/R"
|
||||
## why of all the scriots does this alone chmod just one copy?
|
||||
installdirs:
|
||||
diff -uNr R-2.5.0/src/unix/Makefile.in R-2.5.0-patched/src/unix/Makefile.in
|
||||
--- R-2.5.0/src/unix/Makefile.in 2007-03-26 18:41:33.000000000 +0200
|
||||
+++ R-2.5.0-patched/src/unix/Makefile.in 2007-04-29 14:51:55.000000000 +0200
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
@WANT_R_SHLIB_TRUE@ALL_CFLAGS = $(ALL_CFLAGS_LO)
|
||||
|
||||
-all: Makefile Makedeps R
|
||||
+all: Makefile Makedeps R
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in \
|
||||
$(top_builddir)/config.status \
|
||||
@@ -38,11 +38,23 @@
|
||||
@cat $(DEPENDS) >> Makefile
|
||||
@touch $@
|
||||
|
||||
-R: Makefile
|
||||
+R: Makefile
|
||||
@$(MAKE) Makedeps
|
||||
@WANT_R_SHLIB_FALSE@ @$(MAKE) libunix.a
|
||||
@WANT_R_SHLIB_TRUE@ @$(MAKE) stamp-lo
|
||||
+ @$(MAKE) rhome=$(abs_top_builddir) build-Rscript
|
||||
@$(MAKE) rhome=$(abs_top_builddir) install-Rscript
|
||||
+ @$(MAKE) build-Rscript
|
||||
+ @$(MAKE) build-pc
|
||||
+
|
||||
+build-pc:
|
||||
+ @$(SED) -e "s:@rhome:$(rhome):" -e "s:@rincludedir:$(rincludedir):" \
|
||||
+ -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
|
||||
+ > "libR.pc"
|
||||
+
|
||||
+build-Rscript:
|
||||
+ $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -DR_HOME='"$(rhome)"' -o Rscript \
|
||||
+ $(srcdir)/Rscript.c
|
||||
|
||||
## is this portable?
|
||||
../include/Rversion.h:
|
||||
@@ -60,22 +72,19 @@
|
||||
clean:
|
||||
@-rm -rf .libs _libs
|
||||
@-rm -f Makedeps *.d *.o *.a *.lo *.la stamp-lo
|
||||
+ @-rm -f Rscript libR.pc
|
||||
distclean: clean
|
||||
@-rm -f Makefile
|
||||
maintainer-clean: distclean
|
||||
|
||||
-## we need to build at install time to capture the correct 'rhome'
|
||||
+## install previously built Rscript
|
||||
install-Rscript:
|
||||
- $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -DR_HOME='"$(rhome)"' -o Rscript \
|
||||
- $(srcdir)/Rscript.c
|
||||
@$(MKINSTALLDIRS) "$(Rexecbindir)"
|
||||
@$(INSTALL_PROGRAM) Rscript "$(Rexecbindir)/Rscript"
|
||||
-## substitute at install time to allow 'prefix' to be overridden
|
||||
+## install previously built libR.pc
|
||||
install-pc:
|
||||
@$(MKINSTALLDIRS) "$(libdir)/pkgconfig"
|
||||
- @$(SED) -e "s:@rhome:$(rhome):" -e "s:@rincludedir:$(rincludedir):" \
|
||||
- -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
|
||||
- > "$(libdir)/pkgconfig/libR.pc"
|
||||
+ @$(INSTALL_DATA) libR.pc "$(libdir)/pkgconfig/libR.pc"
|
||||
install: install-Rscript @WANT_R_SHLIB_TRUE@ install-pc
|
||||
@$(MKINSTALLDIRS) "$(bindir)"
|
||||
@$(INSTALL_PROGRAM) Rscript "$(bindir)/Rscript"
|
18
R-2.7.0-bad-path.patch
Normal file
18
R-2.7.0-bad-path.patch
Normal file
@ -0,0 +1,18 @@
|
||||
Index: src/unix/Makefile.in
|
||||
===================================================================
|
||||
--- src/unix/Makefile.in (revision 45534)
|
||||
+++ src/unix/Makefile.in (revision 45535)
|
||||
@@ -78,11 +78,11 @@
|
||||
-e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
|
||||
> "$(DESTDIR)$(libdir)/pkgconfig/libR.pc"
|
||||
|
||||
-install: install-main install-Rscript
|
||||
+install: install-main
|
||||
install: @WANT_R_SHLIB_TRUE@ install-pc
|
||||
install: @WANT_R_STATIC_TRUE@ install-pc
|
||||
|
||||
-install-main:
|
||||
+install-main: install-Rscript
|
||||
@$(MKINSTALLDIRS) "$(DESTDIR)$(bindir)"
|
||||
@$(INSTALL_PROGRAM) Rscript "$(DESTDIR)$(bindir)/Rscript"
|
||||
|
27
R-2.7.1-javareconf-tmpfix.patch
Normal file
27
R-2.7.1-javareconf-tmpfix.patch
Normal file
@ -0,0 +1,27 @@
|
||||
diff -up R-2.7.1/src/scripts/javareconf.BAD R-2.7.1/src/scripts/javareconf
|
||||
--- R-2.7.1/src/scripts/javareconf.BAD 2008-08-29 11:04:21.000000000 -0400
|
||||
+++ R-2.7.1/src/scripts/javareconf 2008-08-29 11:05:34.000000000 -0400
|
||||
@@ -125,16 +125,17 @@ fi
|
||||
javac_works='not present'
|
||||
if test -n "$JAVAC"; then
|
||||
javac_works='not functional'
|
||||
- rm -rf /tmp/A.java /tmp/A.class
|
||||
- echo "public class A { }" > /tmp/A.java
|
||||
- if test -e /tmp/A.java; then
|
||||
- if "${JAVAC}" /tmp/A.java >/dev/null; then
|
||||
- if test -e /tmp/A.class; then
|
||||
+ tempdir=`mktemp -d`
|
||||
+ echo "public class A { }" > ${tempdir}/A.java
|
||||
+ if test -e ${tempdir}/A.java; then
|
||||
+ if "${JAVAC}" ${tempdir}/A.java >/dev/null; then
|
||||
+ if test -e ${tempdir}/A.class; then
|
||||
javac_works=yes
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
- rm -rf /tmp/A.java /tmp/A.class
|
||||
+ rm -rf ${tempdir}
|
||||
+
|
||||
fi
|
||||
if test "${javac_works}" = yes; then
|
||||
echo "Java compiler : ${JAVAC}"
|
11
R-2.7.2-filter_asoption.patch
Normal file
11
R-2.7.2-filter_asoption.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- R-2.7.2/configure.org 2008-09-25 15:00:20.000000000 +0900
|
||||
+++ R-2.7.2/configure 2008-09-25 15:00:35.000000000 +0900
|
||||
@@ -26995,7 +26995,7 @@
|
||||
|
||||
;;
|
||||
# Ignore these flags.
|
||||
- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
|
||||
+ -little | -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
|
||||
;;
|
||||
-lkernel32)
|
||||
test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
|
26
R-2.8.0-HAVE_BZLIB_H.patch
Normal file
26
R-2.8.0-HAVE_BZLIB_H.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff -up R-2.8.0/configure.BAD R-2.8.0/configure
|
||||
--- R-2.8.0/configure.BAD 2008-10-26 11:51:56.000000000 -0400
|
||||
+++ R-2.8.0/configure 2008-10-26 11:52:31.000000000 -0400
|
||||
@@ -44779,6 +44779,11 @@ else
|
||||
have_bzlib=no
|
||||
fi
|
||||
if test "x${have_bzlib}" = xyes; then
|
||||
+
|
||||
+cat >>confdefs.h <<\_ACEOF
|
||||
+#define HAVE_BZLIB_H 1
|
||||
+_ACEOF
|
||||
+
|
||||
{ echo "$as_me:$LINENO: checking if bzip2 version >= 1.0.5" >&5
|
||||
echo $ECHO_N "checking if bzip2 version >= 1.0.5... $ECHO_C" >&6; }
|
||||
if test "${r_cv_have_bzlib+set}" = set; then
|
||||
diff -up R-2.8.0/m4/R.m4.BAD R-2.8.0/m4/R.m4
|
||||
--- R-2.8.0/m4/R.m4.BAD 2008-09-21 18:05:06.000000000 -0400
|
||||
+++ R-2.8.0/m4/R.m4 2008-10-26 11:53:05.000000000 -0400
|
||||
@@ -3055,6 +3055,7 @@ else
|
||||
have_bzlib=no
|
||||
fi
|
||||
if test "x${have_bzlib}" = xyes; then
|
||||
+AC_DEFINE(HAVE_BZLIB_H, 1, [Define to 1 if you have bzlib.h.])
|
||||
AC_CACHE_CHECK([if bzip2 version >= 1.0.5], [r_cv_have_bzlib],
|
||||
[AC_LANG_PUSH(C)
|
||||
r_save_LIBS="${LIBS}"
|
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
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,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This script used to do something, now it doesn't.
|
||||
# Why are you reading this?
|
||||
|
||||
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 @@
|
||||
57cef5c2e210a5454da1979562a10e5b R-3.2.2.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