pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/R Update to 3.3.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/c74d690bc181
branches: trunk
changeset: 350326:c74d690bc181
user: wen <wen%pkgsrc.org@localhost>
date: Tue Jul 26 04:53:33 2016 +0000
description:
Update to 3.3.1
Upstream changes:
CHANGES IN R 3.3.1:
BUG FIXES:
* R CMD INSTALL and hence install.packages() gave an internal error
installing a package called description from a tarball on a
case-insensitive file system.
* match(x, t) (and hence x %in% t) failed when x was of length one,
and either character and x and t only differed in their Encoding
or when x and t where complex with NAs or NaNs. (PR#16885.)
* unloadNamespace(ns) also works again when ns is a 'namespace', as
from getNamespace().
* rgamma(1,Inf) or rgamma(1, 0,0) no longer give NaN but the
correct limit.
* length(baseenv()) is correct now.
* pretty(d, ..) for date-time d rarely failed when "halfmonth" time
steps were tried (PR#16923) and on 'inaccurate' platforms such as
32-bit windows or a configuration with --disable-long-double; see
comment #15 of PR#16761.
* In text.default(x, y, labels), the rarely(?) used default for
labels is now correct also for the case of a 2-column matrix x
and missing y.
* as.factor(c(a = 1L)) preserves names() again as in R < 3.1.0.
* strtrim(""[0], 0[0]) now works.
* Use of Ctrl-C to terminate a reverse incremental search started
by Ctrl-R in the readline-based Unix terminal interface is now
supported for readline >= 6.3 (Ctrl-G always worked). (PR#16603)
* diff(<difftime>) now keeps the "units" attribute, as subtraction
already did, PR#16940.
CHANGES IN R 3.3.0:
SIGNIFICANT USER-VISIBLE CHANGES:
* nchar(x, *)'s argument keepNA governing how the result for NAs in
x is determined, gets a new default keepNA = NA which returns NA
where x is NA, except for type = "width" which still returns 2,
the formatting / printing width of NA.
* All builds have support for https: URLs in the default methods
for download.file(), url() and code making use of them.
Unfortunately that cannot guarantee that any particular https:
URL can be accessed. For example, server and client have to
successfully negotiate a cryptographic protocol (TLS/SSL, ...)
and the server's identity has to be verifiable _via_ the
available certificates. Different access methods may allow
different protocols or use private certificate bundles: we
encountered a https: CRAN mirror which could be accessed by one
browser but not by another nor by download.file() on the same
Linux machine.
NEW FEATURES:
* The print method for methods() gains a byclass argument.
* New functions validEnc() and validUTF8() to give access to the
validity checks for inputs used by grep() and friends.
* Experimental new functionality for S3 method checking, notably
isS3method().
Also, the names of the R 'language elements' are exported as
character vector tools::langElts.
* str(x) now displays "Time-Series" also for matrix (multivariate)
time-series, i.e. when is.ts(x) is true.
* (Windows only) The GUI menu item to install local packages now
accepts *.tar.gz files as well as *.zip files (but defaults to
the latter).
* New programmeR's utility function chkDots().
* D() now signals an error when given invalid input, rather than
silently returning NA. (Request of John Nash.)
* formula objects are slightly more "first class": e.g., formula()
or new("formula", y ~ x) are now valid. Similarly, for "table",
"ordered" and "summary.table". Packages defining S4 classes with
the above S3/S4 classes as slots should be reinstalled.
* New function strrep() for repeating the elements of a character
vector.
* rapply() preserves attributes on the list when how = "replace".
* New S3 generic function sigma() with methods for extracting the
estimated standard deviation aka "residual standard deviation"
from a fitted model.
* news() now displays R and package news files within the HTML help
system if it is available. If no news file is found, a visible
NULL is returned to the console.
* as.raster(x) now also accepts raw arrays x assuming values in
0:255.
* Subscripting of matrix/array objects of type "expression" is now
supported.
* type.convert("i") now returns a factor instead of a complex value
with zero real part and missing imaginary part.
* Graphics devices cairo_pdf() and cairo_ps() now allow non-default
values of the cairographics 'fallback resolution' to be set.
This now defaults to 300 on all platforms: that is the default
documented by cairographics, but apparently was not used by all
system installations.
* file() gains an explicit method argument rather than implicitly
using getOption("url.method", "default").
* Thanks to a patch from Tomas Kalibera, x[x != 0] is now typically
faster than x[which(x != 0)] (in the case where x has no NAs, the
two are equivalent).
* read.table() now always uses the names for a named colClasses
argument (previously names were only used when colClasses was too
short). (In part, wish of PR#16478.)
* (Windows only) download.file() with default method = "auto" and a
ftps:// URL chooses "libcurl" if that is available.
* The out-of-the box Bioconductor mirror has been changed to one
using https://: use chooseBioCmirror() to choose a http:// mirror
if required.
* The data frame and formula methods for aggregate() gain a drop
argument.
* available.packages() gains a repos argument.
* The undocumented switching of methods for url() on https: and
ftps: URLs is confined to method = "default" (and documented).
* smoothScatter() gains a ret.selection argument.
* qr() no longer has a ... argument to pass additional arguments to
methods.
* [ has a method for class "table".
* It is now possible (again) to replayPlot() a display list
snapshot that was created by recordPlot() in a different R
session.
It is still not a good idea to use snapshots as a persistent
storage format for R plots, but it is now not completely silly to
use a snapshot as a format for transferring an R plot between two
R sessions.
The underlying changes mean that packages providing graphics
devices (e.g., Cairo, RSvgDevice, cairoDevice, tikzDevice) will
need to be reinstalled.
Code for restoring snapshots was contributed by Jeroen Ooms and
JJ Allaire.
Some testing code is available at <URL:
https://github.com/pmur002/R-display-list>.
* tools::undoc(dir = D) and codoc(dir = D) now also work when D is
a directory whose normalizePath()ed version does not end in the
package name, e.g. from a symlink.
* abbreviate() has more support for multi-byte character sets - it
no longer removes bytes within characters and knows about Latin
vowels with accents. It is still only really suitable for (most)
European languages, and still warns on non-ASCII input.
abbreviate(use.classes = FALSE) is now implemented, and that is
more suitable for non-European languages.
* match(x, table) is faster (sometimes by an order of magnitude)
when x is of length one and incomparables is unchanged, thanks to
Peter Haverty (PR#16491).
* More consistent, partly not back-compatible behavior of NA and
NaN coercion to complex numbers, operations less often resulting
in complex NA (NA_complex_).
* lengths() considers methods for length and [[ on x, so it should
work automatically on any objects for which appropriate methods
on those generics are defined.
* The logic for selecting the default screen device on OS X has
been simplified: it is now quartz() if that is available even if
environment variable DISPLAY has been set by the user.
The choice can easily be overridden _via_ environment variable
R_INTERACTIVE_DEVICE.
* On Unix-like platforms which support the getline C library
function, system(*,intern = TRUE) no longer truncates (output)
lines longer than 8192 characters, thanks to Karl Millar.
(PR#16544)
* rank() gains a ties.method = "last" option, for convenience (and
symmetry).
* regmatches(invert = NA) can now be used to extract both
non-matched and matched substrings.
* data.frame() gains argument fix.empty.names; as.data.frame.list()
gets new cut.names, col.names and fix.empty.names.
* plot(x ~ x, *) now warns that it is the same as plot(x ~ 1, *).
* recordPlot() has new arguments load and attach to allow package
names to be stored as part of a recorded plot. replayPlot() has
new argument reloadPkgs to load/attach any package names that
were stored as part of a recorded plot.
* S4 dispatch works within calls to .Internal(). This means
explicit S4 generics are no longer needed for unlist() and
as.vector().
* Only font family names starting with "Hershey" (and not "Her" as
before) are given special treatment by the graphics engine.
* S4 values are automatically coerced to vector (via as.vector)
when subassigned into atomic vectors.
* findInterval() gets a left.open option.
* The version of LAPACK included in the sources has been updated to
3.6.0, including those 'deprecated' routines which were
previously included. _Ca_ 40 double-complex routines have been
added at the request of a package maintainer.
As before, the details of what is included are in
src/modules/lapack/README and this now gives information on
earlier additions.
* tapply() has been made considerably more efficient without
changing functionality, thanks to proposals from Peter Haverty
and Suharto Anggono. (PR#16640)
* match.arg(arg) (the one-argument case) is faster; so is
sort.int(). (PR#16640)
* The format method for object_size objects now also accepts
"binary" units such as "KiB" and e.g., "Tb". (Partly from
PR#16649.)
* Profiling now records calls of the form foo::bar and some similar
cases directly rather than as calls to <Anonymous>. Contributed
by Winston Chang.
* New string utilities startsWith(x, prefix) and endsWith(x,
suffix). Also provide speedups for some grepl("^...",*) uses
(related to proposals in PR#16490).
* Reference class finalizers run at exit, as well as on garbage
collection.
* Avoid parallel dependency on stats for port choice and random
number seeds. (PR#16668)
* The radix sort algorithm and implementation from data.table
(forder) replaces the previous radix (counting) sort and adds a
new method for order(). Contributed by Matt Dowle and Arun
Srinivasan, the new algorithm supports logical, integer (even
with large values), real, and character vectors. It outperforms
all other methods, but there are some caveats (see ?sort).
* The order() function gains a method argument for choosing between
"shell" and "radix".
* New function grouping() returns a permutation that stably
rearranges data so that identical values are adjacent. The
return value includes extra partitioning information on the
groups. The implementation came included with the new radix
sort.
* rhyper(nn, m, n, k) no longer returns NA when one of the three
parameters exceeds the maximal integer.
* switch() now warns when no alternatives are provided.
* parallel::detectCores() now has default logical = TRUE on all
platforms - as this was the default on Windows, this change only
affects Sparc Solaris.
Option logical = FALSE is now supported on Linux and recent
versions of OS X (for the latter, thanks to a suggestion of Kyaw
Sint).
* hist() for "Date" or "POSIXt" objects would sometimes give
misleading labels on the breaks, as they were set to the day
before the start of the period being displayed. The display
format has been changed, and the shift of the start day has been
made conditional on right = TRUE (the default). (PR#16679)
* R now uses a new version of the logo (donated to the R Foundation
by RStudio). It is defined in .svg format, so will resize
without unnecessary degradation when displayed on HTML
pages-there is also a vector PDF version. Thanks to Dirk
Eddelbuettel for producing the corresponding X11 icon.
* New function .traceback() returns the stack trace which
traceback() prints.
* lengths() dispatches internally.
* dotchart() gains a pt.cex argument to control the size of points
separately from the size of plot labels. Thanks to Michael
Friendly and Milan Bouchet-Valat for ideas and patches.
* as.roman(ch) now correctly deals with more diverse character
vectors ch; also arithmetic with the resulting roman numbers
works in more cases. (PR#16779)
* prcomp() gains a new option rank. allowing to directly aim for
less than min(n,p) PC's. The summary() and its print() method
have been amended, notably for this case.
* gzcon() gains a new option text, which marks the connection as
text-oriented (so e.g. pushBack() works). It is still always
opened in binary mode.
* The import() namespace directive now accepts an argument except
which names symbols to exclude from the imports. The except
expression should evaluate to a character vector (after
substituting symbols for strings). See Writing R Extensions.
* New convenience function Rcmd() in package tools for invoking R
CMD tools from within R.
* New functions makevars_user() and makevars_site() in package
tools to determine the location of the user and site specific
Makevars files for customizing package compilation.
UTILITIES:
* R CMD check has a new option --ignore-vignettes for use with
non-Sweave vignettes whose VignetteBuilder package is not
available.
* R CMD check now by default checks code usage (_via_ codetools)
with only the base package attached. Functions from default
packages other than base which are used in the package code but
not imported are reported as undefined globals, with a suggested
addition to the NAMESPACE file.
* R CMD check --as-cran now also checks DOIs in package CITATION
and Rd files.
* R CMD Rdconv and R CMD Rd2pdf each have a new option
--RdMacros=pkglist which allows Rd macros to be specified before
processing.
DEPRECATED AND DEFUNCT:
* The previously included versions of zlib, bzip2, xz and PCRE have
been removed, so suitable external (usually system) versions are
required (see the 'R Installation and Administration' manual).
* The unexported and undocumented Windows-only devices cairo_bmp(),
cairo_png() and cairo_tiff() have been removed. (These devices
should be used as e.g. bmp(type = "cairo").)
* (Windows only) Function setInternet2() has no effect and will be
removed in due course. The choice between methods "internal" and
"wininet" is now made by the method arguments of url() and
download.file() and their defaults can be set _via_ options. The
out-of-the-box default remains "wininet" (as it has been since R
3.2.2).
* [<- with an S4 value into a list currently embeds the S4 object
into its own list such that the end result is roughly equivalent
to using [[<-. That behavior is deprecated. In the future, the
S4 value will be coerced to a list with as.list().
* Package tools' functions package.dependencies(), pkgDepends(),
etc are deprecated now, mostly in favor of package_dependencies()
which is both more flexible and efficient.
INSTALLATION and INCLUDED SOFTWARE:
* Support for very old versions of valgrind (e.g., 3.3.0) has been
removed.
* The included libtool script (generated by configure) has been
updated to version 2.4.6 (from 2.2.6a).
* libcurl version 7.28.0 or later with support for the https
protocol is required for installation (except on Windows).
* BSD networking is now required (except on Windows) and so
capabilities("http/ftp") is always true.
* configure uses pkg-config for PNG, TIFF and JPEG where this is
available. This should work better with multiple installs and
with those using static libraries.
* The minimum supported version of OS X is 10.6 ('Snow Leopard'):
even that has been unsupported by Apple since 2012.
* The configure default on OS X is --disable-R-framework: enable
this if you intend to install under /Library/Frameworks and use
with R.app.
* The minimum preferred version of PCRE has since R 3.0.0 been 8.32
(released in Nov 2012). Versions 8.10 to 8.31 are now deprecated
(with warnings from configure), but will still be accepted until
R 3.4.0.
* configure looks for C functions __cospi, __sinpi and __tanpi and
uses these if cospi _etc_ are not found. (OS X is the main
instance.)
* (Windows) R is now built using gcc 4.9.3. This build will
require recompilation of at least those packages that include C++
code, and possibly others. A build of R-devel using the older
toolchain will be temporarily available for comparison purposes.
During the transition, the environment variable R_COMPILED_BY has
been defined to indicate which toolchain was used to compile R
(and hence, which should be used to compile code in packages).
The COMPILED_BY variable described below will be a permanent
replacement for this.
* (Windows) A make and R CMD config variable named COMPILED_BY has
been added. This indicates which toolchain was used to compile R
(and hence, which should be used to compile code in packages).
PACKAGE INSTALLATION:
* The make macro AWK which used to be made available to files such
as src/Makefile is no longer set.
C-LEVEL FACILITIES:
* The API call logspace_sum introduced in R 3.2.0 is now remapped
as an entry point to Rf_logspace_sum, and its first argument has
gained a const qualifier. (PR#16470)
Code using it will need to be reinstalled.
Similarly, entry point log1pexp also defined in Rmath.h is
remapped there to Rf_log1pexp
* R_GE_version has been increased to 11.
* New API call R_orderVector1, a faster one-argument version of
R_orderVector.
* When R headers such as R.h and Rmath.h are called from C++ code
in packages they include the C++ versions of system headers such
as <cmath> rather than the legacy headers such as <math.h>.
(Headers Rinternals.h and Rinterface.h already did, and inclusion
of system headers can still be circumvented by defining
NO_C_HEADERS, including as from this version for those two
headers.)
The manual has long said that R headers should *not* be included
within an extern "C" block, and almost all the packages affected
by this change were doing so.
* Including header S.h from C++ code would fail on some platforms,
and so gives a compilation error on all.
* The deprecated header Rdefines.h is now compatible with defining
R_NO_REMAP.
* The connections API now includes a function R_GetConnection()
which allows packages implementing connections to convert R
connection objects to Rconnection handles used in the API. Code
which previously used the low-level R-internal getConnection()
entry point should switch to the official API.
BUG FIXES:
* C-level asChar(x) is fixed for when x is not a vector, and it
returns "TRUE"/"FALSE" instead of "T"/"F" for logical vectors.
* The first arguments of .colSums() etc (with an initial dot) are
now named x rather than X (matching colSums()): thus error
messages are corrected.
* A coef() method for class "maov" has been added to allow vcov()
to work with multivariate results. (PR#16380)
* method = "libcurl" connections signal errors rather than
retrieving HTTP error pages (where the ISP reports the error).
* xpdrows.data.frame() was not checking for unique row names; in
particular, this affected assignment to non-existing rows via
numerical indexing. (PR#16570)
* tail.matrix() did not work for zero rows matrices, and could
produce row "labels" such as "[1e+05,]".
* Data frames with a column named "stringsAsFactors" now format and
print correctly. (PR#16580)
* cor() is now guaranteed to return a value with absolute value
less than or equal to 1. (PR#16638)
* Array subsetting now keeps names(dim(.)).
* Blocking socket connection selection recovers more gracefully on
signal interrupts.
* The data.frame method of rbind() construction row.names works
better in borderline integer cases, but may change the names
assigned. (PR#16666)
* (X11 only) getGraphicsEvent() miscoded buttons and missed mouse
motion events. (PR#16700)
* methods(round) now also lists round.POSIXt.
* tar() now works with the default files = NULL. (PR#16716)
* Jumps to outer contexts, for example in error recovery, now make
intermediate jumps to contexts where on.exit() actions are
established instead of trying to run all on.exit() actions before
jumping to the final target. This unwinds the stack gradually,
releases resources held on the stack, and significantly reduces
the chance of a segfault when running out of C stack space. Error
handlers established using withCallingHandlers() and
options("error") specifications are ignored when handling a C
stack overflow error as attempting one of these would trigger a
cascade of C stack overflow errors. (These changes resolve
PR#16753.)
* The spacing could be wrong when printing a complex array.
(Report and patch by Lukas Stadler.)
* pretty(d, n, min.n, *) for date-time objects d works again in
border cases with large min.n, returns a labels attribute also
for small-range dates and in such cases its returned length is
closer to the desired n. (PR#16761) Additionally, it finally
does cover the range of d, as it always claimed.
* tsp(x) <- NULL did not handle correctly objects inheriting from
both "ts" and "mts". (PR#16769)
* install.packages() could give false errors when
options("pkgType") was "binary". (Reported by Jose Claudio
Faria.)
* A bug fix in R 3.0.2 fixed problems with locator() in X11, but
introduced problems in Windows. Now both should be fixed.
(PR#15700)
* download.file() with method = "wininet" incorrectly warned of
download file length difference when reported length was unknown.
(PR#16805)
* diag(NULL, 1) crashed because of missed type checking.
(PR#16853)
diffstat:
math/R/Makefile | 10 +-
math/R/PLIST | 12 ++-
math/R/distinfo | 20 ++--
math/R/patches/patch-ac | 75 +++++++----------
math/R/patches/patch-ad | 9 +-
math/R/patches/patch-src_include_GraphicsBase.h | 4 +-
math/R/patches/patch-src_library_stats_src_Makefile.in | 6 +-
math/R/patches/patch-src_main_character.c | 8 +-
8 files changed, 71 insertions(+), 73 deletions(-)
diffs (truncated from 405 to 300 lines):
diff -r d7909b05dd82 -r c74d690bc181 math/R/Makefile
--- a/math/R/Makefile Tue Jul 26 04:26:47 2016 +0000
+++ b/math/R/Makefile Tue Jul 26 04:53:33 2016 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.166 2016/07/09 06:38:32 wiz Exp $
+# $NetBSD: Makefile,v 1.167 2016/07/26 04:53:33 wen Exp $
-DISTNAME= R-3.2.4
-PKGREVISION= 1
+DISTNAME= R-3.3.1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-3/}
@@ -129,8 +128,8 @@
SUBST_FILES.fixwrap= libtool
SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/libtool,${PKG_LIBTOOL},g"
-BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
-BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5
+BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.5
+BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*)
CONFIGURE_ARGS+= --enable-mbcs=no
@@ -161,6 +160,7 @@
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/blas/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
diff -r d7909b05dd82 -r c74d690bc181 math/R/PLIST
--- a/math/R/PLIST Tue Jul 26 04:26:47 2016 +0000
+++ b/math/R/PLIST Tue Jul 26 04:53:33 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2016/04/13 21:04:04 markd Exp $
+@comment $NetBSD: PLIST,v 1.25 2016/07/26 04:53:33 wen Exp $
bin/R
bin/Rscript
info/R-FAQ.info.gz
@@ -54,6 +54,8 @@
lib/R/doc/html/NEWS.2.html
lib/R/doc/html/NEWS.html
lib/R/doc/html/R.css
+lib/R/doc/html/Rlogo.pdf
+lib/R/doc/html/Rlogo.svg
lib/R/doc/html/Search.html
lib/R/doc/html/SearchOn.html
lib/R/doc/html/about.html
@@ -61,7 +63,6 @@
lib/R/doc/html/index.html
lib/R/doc/html/left.jpg
lib/R/doc/html/logo.jpg
-lib/R/doc/html/logosm.jpg
lib/R/doc/html/packages-head-utf8.html
lib/R/doc/html/resources.html
lib/R/doc/html/right.jpg
@@ -768,6 +769,7 @@
lib/R/library/nlme/CITATION
lib/R/library/nlme/DESCRIPTION
lib/R/library/nlme/INDEX
+lib/R/library/nlme/LICENCE
lib/R/library/nlme/Meta/Rd.rds
lib/R/library/nlme/Meta/data.rds
lib/R/library/nlme/Meta/hsearch.rds
@@ -809,6 +811,7 @@
lib/R/library/nlme/scripts/ch05.R
lib/R/library/nlme/scripts/ch06.R
lib/R/library/nlme/scripts/ch08.R
+lib/R/library/nlme/scripts/runme.R
lib/R/library/nlme/scripts/sims.rda
lib/R/library/nnet/CITATION
lib/R/library/nnet/DESCRIPTION
@@ -1027,7 +1030,6 @@
lib/R/library/survival/Meta/vignette.rds
lib/R/library/survival/NAMESPACE
lib/R/library/survival/NEWS.Rd
-lib/R/library/survival/NEWS.Rd.orig
lib/R/library/survival/R/survival
lib/R/library/survival/R/survival.rdb
lib/R/library/survival/R/survival.rdx
@@ -1051,6 +1053,8 @@
lib/R/library/survival/doc/timedep.R
lib/R/library/survival/doc/timedep.Rnw
lib/R/library/survival/doc/timedep.pdf
+lib/R/library/survival/doc/validate.R
+lib/R/library/survival/doc/validate.Rnw
lib/R/library/survival/doc/validate.pdf
lib/R/library/survival/help/AnIndex
lib/R/library/survival/help/aliases.rds
@@ -1405,6 +1409,8 @@
lib/R/library/utils/Meta/nsInfo.rds
lib/R/library/utils/Meta/package.rds
lib/R/library/utils/NAMESPACE
+lib/R/library/utils/R/sysdata.rdb
+lib/R/library/utils/R/sysdata.rdx
lib/R/library/utils/R/utils
lib/R/library/utils/R/utils.rdb
lib/R/library/utils/R/utils.rdx
diff -r d7909b05dd82 -r c74d690bc181 math/R/distinfo
--- a/math/R/distinfo Tue Jul 26 04:26:47 2016 +0000
+++ b/math/R/distinfo Tue Jul 26 04:53:33 2016 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.72 2016/04/13 21:04:04 markd Exp $
+$NetBSD: distinfo,v 1.73 2016/07/26 04:53:33 wen Exp $
-SHA1 (R-3.2.4.tar.gz) = 632664b3caa8d39f5fe6ac2ee9611b0f89ad6ed9
-RMD160 (R-3.2.4.tar.gz) = 1bf1a6cd2974a543914d06e7914510fef9c5690d
-SHA512 (R-3.2.4.tar.gz) = a74f01a9b47437feb81520c10936a6f2bc7700900730ec87b7f1442ee90bcf1d7aac9ef3345aa046c0566f1920f114da0a616c5f355b1e8480dc01e311476cbf
-Size (R-3.2.4.tar.gz) = 29879523 bytes
-SHA1 (patch-ac) = 4ef1aa72f338d769ff2fbad36a1337e2947a4d18
-SHA1 (patch-ad) = 2f1ef086bfb4213ed2911830419714903038e8a3
-SHA1 (patch-src_include_GraphicsBase.h) = 5f999e4d124afd38d5c7e18d936942f2c6f27c86
-SHA1 (patch-src_library_stats_src_Makefile.in) = b468becd011fa4828e50f5d13d700825655c89e8
-SHA1 (patch-src_main_character.c) = bd6e9b5b633d86c913c98d9d87c66f982d1ca258
+SHA1 (R-3.3.1.tar.gz) = df853188d3e2b1c2d32393016401c432a5192c4d
+RMD160 (R-3.3.1.tar.gz) = 200071bfb126195f7bbc56ad7678227274d72f5b
+SHA512 (R-3.3.1.tar.gz) = d0ff85e99b9ec9cac672aa30d7d1a854778c6a610bcc5336e8c60c8c74f20856f2bfeae085af793fad646ff45cb4677d9d6dcbaa18212591f72f00a02339f4cd
+Size (R-3.3.1.tar.gz) = 29848329 bytes
+SHA1 (patch-ac) = 68c1943a352e6f8b2842331578ed746b1ac27bea
+SHA1 (patch-ad) = a43b4875a2ee4677b5f762abf3f9a623fd12cbb5
+SHA1 (patch-src_include_GraphicsBase.h) = eed25eaca982ca76bf75d199dd8bf48be2a99ac5
+SHA1 (patch-src_library_stats_src_Makefile.in) = 4eb93292858392792c37a706399e2cef91821bbe
+SHA1 (patch-src_main_character.c) = 1271cbd68ec57e28cf6a394398d21d6a18b6760b
diff -r d7909b05dd82 -r c74d690bc181 math/R/patches/patch-ac
--- a/math/R/patches/patch-ac Tue Jul 26 04:26:47 2016 +0000
+++ b/math/R/patches/patch-ac Tue Jul 26 04:53:33 2016 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-ac,v 1.38 2016/04/13 21:04:04 markd Exp $
+$NetBSD: patch-ac,v 1.39 2016/07/26 04:53:33 wen Exp $
Do not include system paths in R_LD_LIBRARY_PATH.
FreeBSD 10 is not FreeBSD 1.
Fix texi2any version check.
---- configure.orig 2016-03-02 23:16:44.000000000 +0000
+--- configure.orig 2016-07-26 00:32:06.000000000 +0000
+++ configure
-@@ -4023,7 +4023,7 @@ fi
+@@ -3896,7 +3896,7 @@ fi
## As from R 3.2.0 split up -L... and -lR
if test "${want_R_shlib}" = yes; then
@@ -15,16 +15,7 @@
LIBR1=-lR
else
LIBR0=
-@@ -4088,7 +4088,7 @@ fi
- if test "x${want_lto}" != xno; then
- LTO=-flto
- fi
--if test "x${want_lto}" == xyes; then
-+if test "x${want_lto}" = xyes; then
- LTOALL=-flto
- fi
-
-@@ -5297,7 +5297,7 @@ if test -z "${texi2any_version_maj}" \
+@@ -5076,7 +5076,7 @@ if test -z "${texi2any_version_maj}" \
elif test ${texi2any_version_maj} -gt 5; then
r_cv_prog_texi2any_v5=yes
elif test ${texi2any_version_maj} -lt 5 \
@@ -33,7 +24,7 @@
r_cv_prog_texi2any_v5=no
else
r_cv_prog_texi2any_v5=yes
-@@ -20523,7 +20523,7 @@ case "${host_os}" in
+@@ -22376,7 +22376,7 @@ case "${host_os}" in
## Not so bad in later versions of Darwin,
## where DYLD_FALLBACK_LIBRARY_PATH is used (see below).
;;
@@ -42,19 +33,19 @@
for arg in ${LDFLAGS}; do
case "${arg}" in
-L*)
-@@ -23200,6 +23200,11 @@ fi
+@@ -24958,6 +24958,11 @@ fi
done
;;
-[lLR]*)
-+ case $ac_arg in
-+ -R*)
-+ ac_arg="${wl}$ac_arg"
-+ ;;
-+ esac
++ case $ac_arg in
++ -R*)
++ ac_arg="${wl}$ac_arg"
++ ;;
++ esac
ac_exists=false
for ac_i in $ac_cv_f77_libs; do
if test x"$ac_arg" = x"$ac_i"; then
-@@ -24165,6 +24170,9 @@ cat > conftest.c <<EOF
+@@ -25923,6 +25928,9 @@ cat > conftest.c <<EOF
extern void F77_SYMBOL(cftest)(int *a, int *b, double *x, double *y);
@@ -64,7 +55,7 @@
int main () {
int a[3] = {17, 237, 2000000000}, b[2], res = 0;
double x[3] = {3.14159265, 123.456789, 2.3e34}, z[3];
-@@ -24260,6 +24268,9 @@ typedef struct {
+@@ -26018,6 +26026,9 @@ typedef struct {
extern void F77_SYMBOL(cftest)(Rcomplex *x);
@@ -74,20 +65,20 @@
int main () {
Rcomplex z[3];
-@@ -26468,7 +26479,7 @@ $as_echo "$as_me: WARNING: Use of flat n
- SHLIB_LIBADD="-lcc_dynamic"
- fi
+@@ -28175,7 +28186,7 @@ $as_echo "$as_me: WARNING: Use of flat n
+ fpicflags="${darwin_pic}"
+ shlib_cxxldflags="${shlib_ldflags}"
;;
- freebsd*)
+ freebsd*|dragonfly*)
## maybe this needs to depend on the compiler:
## -export-dynamic used to work, but does not with clang.
## Seems FreeBSD has used the GNU linker since at least 3.0 (Oct 1998)
-@@ -26563,6 +26574,12 @@ $as_echo "$as_me: WARNING: Use of flat n
+@@ -28271,6 +28282,12 @@ $as_echo "$as_me: WARNING: Use of flat n
;;
netbsd*)
## See the comments about FreeBSD
-+ fpicflags="-fPIC"
++ fpicflags="-fPIC"
+ case "${host_cpu}" in
+ powerpc*)
+ cpicflags="-fPIC"
@@ -96,7 +87,7 @@
if ${CPP} - -dM < /dev/null | grep __ELF__ >/dev/null ; then
main_ldflags="-Wl,--export-dynamic"
shlib_ldflags="-shared"
-@@ -26589,22 +26606,22 @@ $as_echo "$as_me: WARNING: Use of flat n
+@@ -28313,22 +28330,22 @@ $as_echo "$as_me: WARNING: Use of flat n
solaris*)
## SPARC has only an 8k global object table, 1024 entries on 64-bit,
## so need PIC not pic. They are the same on other Solaris platforms.
@@ -123,16 +114,16 @@
cpicflags="-KPIC"
if test "`basename ${CXX}`" = "CC" ; then
## Forte version 7 needs -lCstd: Forte 6 does not.
-@@ -26665,7 +26682,7 @@ fi
+@@ -28389,7 +28406,7 @@ fi
: ${CPICFLAGS="${cpicflags}"}
if test -z "${CPICFLAGS}"; then
case "${host_os}" in
-- aix*|cygwin*|irix*|mingw*|osf*)
-+ aix*|cygwin*|irix*|mingw*|osf*|darwin*)
+- aix*|irix*|mingw*|osf*)
++ aix*|irix*|mingw*|osf*|darwin*)
;;
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I could not determine CPICFLAGS." >&5
-@@ -26765,10 +26782,10 @@ case "${host_os}" in
+@@ -28489,10 +28506,10 @@ case "${host_os}" in
DYLIB_EXT=".dylib"
dylib_ldflags="${darwin_dylib_ldflags}"
MAJR_VERSION=`echo "${PACKAGE_VERSION}" | sed -e "s/[\.][1-9]$/.0/"`
@@ -146,7 +137,7 @@
;;
hpux*)
## Needs to avoid embedding a relative path ../../../bin.
-@@ -27390,6 +27407,14 @@ _ACEOF
+@@ -29106,6 +29123,14 @@ _ACEOF
## Cygwin had rintl but not nearbyintl
for ac_func in expm1 hypot log1p log1pl log2 log10 nearbyint nearbyintl powl rint rintl
do
@@ -161,7 +152,7 @@
as_ac_Symbol=`$as_echo "ac_cv_have_decl_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_func exists and is declared" >&5
$as_echo_n "checking whether $ac_func exists and is declared... " >&6; }
-@@ -27399,24 +27424,12 @@ else
+@@ -29115,24 +29140,12 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <math.h>
@@ -184,15 +175,15 @@
-
- ;
- return 0;
-+ return $ac_func($args);;
++ return $ac_func($args);;;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
-@@ -30326,6 +30339,15 @@ cat > conftest.c <<EOF
+@@ -32092,6 +32105,14 @@ cat > conftest.c <<EOF
+ # define F77_SYMBOL(x) x
#endif
extern void F77_SYMBOL(test1)(int *iflag);
-
-+#ifdef F77_DUMMY_MAIN
++ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
Home |
Main Index |
Thread Index |
Old Index