[fink:package-submissions] #4981 r-base-3.1.3-6 update for 10.13 compatibility
Hanspeter Niederstrasser via Fink-tracker <[email protected]> Sat, 16 Dec 2017 04:24:16 -0000
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/4981/18649790e084e12bcb5444d9d31ffa68b7a75814.package-submissions@fink.p.sourceforge.net> |
- **labels**: --> sci, Updated Revision of Existing - **status**: open --> closed-out-of-date - **Group**: Undergoing_Validation --> Supplanted - **Comment**: Moved to github https://github.com/fink/fink-distributions/pull/12 --- ** [package-submissions:#4981] r-base-3.1.3-6 update for 10.13 compatibility** **Status:** closed-out-of-date **Group:** Supplanted **Labels:** sci Updated Revision of Existing **Created:** Fri Aug 25, 2017 10:50 AM UTC by Jack Howarth **Last Updated:** Fri Aug 25, 2017 10:51 AM UTC **Owner:** BABA Yoshihiko The attached info file and patch file for r-base-3.1.3-6 introduces the following fixes for building and use on 10.13... 1) Patch src/extra/intl/vasnprintf.c to handle the new format string strictness regarrding %n and dynamic format strings 2) pass 'ac_cv_have_decl_utimensat=no ac_cv_have_decl_clock_gettime=no' to avoid detection of new system call support which breaks the datetime.Rout testcase in the testsuite. Also to avoid failure in the reg-tests-1d.Rout testcase pass r_cv_working_mktime=no to confiigure. 3) Set and export TZ in the InfoTest to avoid https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17307 4) Replace broken zlib version test in configure with that from R 3.4. The info file changes are... ~~~ Index: r-base31.info =================================================================== RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/sci/r-base31.info,v retrieving revision 1.3 diff -u -r1.3 r-base31.info --- r-base31.info 10 Aug 2017 11:15:04 -0000 1.3 +++ r-base31.info 25 Aug 2017 10:48:56 -0000 @@ -1,7 +1,7 @@ Info2: << Package: r-base31 Version: 3.1.3 -Revision: 5 +Revision: 6 Description: R Framework Maintainer: BABA Yoshihiko <[email protected]> Depends: << @@ -39,7 +39,7 @@ Source: http://cran.r-project.org/src/base/R-3/R-%v.tar.gz Source-MD5: 53a85b884925aa6b5811dfc361d73fc4 PatchFile: %n.patch -PatchFile-MD5: fb34a2df74dba4c813abd04b85255af1 +PatchFile-MD5: 960e33df8515dce00fa54aa682f0022e PatchScript: << #!/bin/sh -ev #sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 @@ -74,7 +74,7 @@ --with-system-bzlib --with-system-pcre --with-system-zlib \ --with-x --x-includes=$X11_BASE_DIR/include --x-libraries=$X11_BASE_DIR/lib \ --with-tcl-config=%p/lib/tclConfig.sh --with-tk-config=%p/lib/tkConfig.sh \ - --without-internal-tzcode \ + --without-internal-tzcode r_cv_working_mktime=no ac_cv_have_decl_utimensat=no ac_cv_have_decl_clock_gettime=no \ CFLAGS="-g -O3" CXXFLAGS="-g -O3" FFLAGS="-g -O3" \ SED=/usr/bin/sed AWK=/usr/bin/awk GREP=/usr/bin/grep << @@ -99,7 +99,8 @@ #!/bin/sh -efv # don't leak from already-installed package unset R_HOME - + # set TZ to avoid https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17307 + export TZ=`date +%%Z` make -j1 -k check << << @@ -329,6 +330,14 @@ https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15989 Prevent configure script from confusing 10.10 (Yosemite) with 10.1 (Puma). + +With format string strictness, High Sierra also enforces that +%n isn't used in dynamic format strings, but we should just +disable its use on darwin in general. + +Prevent configure script from detecting new support for utimensat and +clock_gettime to avoid datetime.Rout failing in testsuite. Likewise avoid +detecting working mktime to prevent failure in reg-tests-1d.Rout. << License: GPL Homepage: http://cran.R-project.org/ ~~~ Tested on 10.13 with 'fink -m'. --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fink-tracker mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.tracker