Commit graph

441 commits

Author SHA1 Message Date
jperkin
31a4aee45f Ensure -lssp is added to $lddlflags on SunOS when using -fstack-protector,
fixing a number of packages with __stack_chk_* symbol failures.

Bump PKGREVISION.
2013-09-11 14:31:31 +00:00
adam
498438e3b7 Changes 5.18.1:
* B has been upgraded from 1.42 to 1.42_01, fixing bugs related to lexical subroutines.
* Digest::SHA has been upgraded from 5.84 to 5.84_01, fixing a crashing bug.
* Module::CoreList has been upgraded from 2.89 to 2.96.
* Starting in v5.18.0, a construct like /[#](?{})/x would have its # incorrectly interpreted as a comment. The code block would be skipped, unparsed. This has been corrected.
* A number of memory leaks related to the new, experimental regexp bracketed character class feature have been plugged.
* The OP allocation code now returns correctly aligned memory in all cases for struct pmop. Previously it could return memory only aligned to a 4-byte boundary, which is not correct for an ithreads build with 64 bit IVs on some 32 bit platforms. Notably, this caused the build to fail completely on sparc GNU/Linux.
* The debugger's man command been fixed. It was broken in the v5.18.0 release. The man command is aliased to the names doc and perldoc - all now work again.
* @_ is now correctly visible in the debugger, fixing a regression introduced in v5.18.0's debugger.
* Fixed a small number of regexp constructions that could either fail to match or crash perl when the string being matched against was allocated above the 2GB line on 32-bit systems.
* Perl v5.16 inadvertently introduced a bug whereby calls to XSUBs that were not visible at compile time were treated as lvalues and could be assigned to, even when the subroutine was not an lvalue sub. This has been fixed.
* Perl v5.18 inadvertently introduced a bug whereby dual-vars (i.e. variables with both string and numeric values, such as $! ) where the truthness of the variable was determined by the numeric value rather than the string value.
* Perl v5.18 inadvertently introduced a bug whereby interpolating mixed up- and down-graded UTF-8 strings in a regex could result in malformed UTF-8 in the pattern: specifically if a downgraded character in the range \x80..\xff followed a UTF-8 string
* Lexical constants (my sub a() { 42 }) no longer crash when inlined.
* Parameter prototypes attached to lexical subroutines are now respected when compiling sub calls without parentheses. Previously, the prototypes were honoured only for calls with parentheses.
* Syntax errors in lexical subroutines in combination with calls to the same subroutines no longer cause crashes at compile time.
* The dtrace sub-entry probe now works with lexical subs, instead of crashing
* Undefining an inlinable lexical subroutine (my sub foo() { 42 } undef &foo) would result in a crash if warnings were turned on.
* Deep recursion warnings no longer crash lexical subroutines.
2013-08-31 15:28:32 +00:00
christos
efb1a8c670 Update function invisibility list. This time for host releated reentrant
functions, recently introduced.
2013-08-19 12:31:11 +00:00
martin
4d9bb2a6c6 Revert previous - I am unable to fix it for real and give up. 2013-08-19 08:22:09 +00:00
martin
039357c319 Try to fix building perl on NetBSD/current - but not quite good enough,
somebody please fix the remaining fallout!
2013-08-18 19:42:30 +00:00
ryoon
6ce0a8659f Fix build under GNU/kFreeBSD.
* Add variable for GNU/kFreeBSD.
2013-07-26 10:59:53 +00:00
wiz
336127f444 Fix netbsd hints:
--whole-archive is a linker flag, not a compiler flag.
Bump PKGREVISION.

Hopefully improves p5-gettext with clang from pkgsrc.
2013-07-18 22:17:33 +00:00
adam
397d1e1d89 patch-hints_darwin.sh again 2013-07-18 07:21:02 +00:00
adam
04e0dd2d69 Don't set MACOSX_DEPLOYMENT_TARGET on Darwin 2013-07-17 20:06:05 +00:00
ryoon
379b13b38d Revert unintentional change to Makefile. 2013-07-15 09:27:00 +00:00
ryoon
3bca862a3d Fix build on FreeBSD/amd64 9.1-RELEASE.
* FreeBSD 9.1's dtrace support has -h flag but "dtrace -h -s ../perldtrace.d"
  filed with following syntax error.
  "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
  Adding dtrace support for perl5 on FreeBSD is hasty, I feel.
  dtrace support for FreeBSD perl5 is disabled.
2013-07-15 09:24:57 +00:00
sno
cde80c8def Adding support for Module::Build::Tiny and fix --installdirs flag for
Module::Build and Module::Build::Tiny (Module::Build expects flags
instead of VAR=VALUE keychains).
2013-07-03 07:16:39 +00:00
wiz
5861c75fc5 Add patch from upstream git to try fixing test failures on 32bit NetBSD.
From
http://perl5.git.perl.org/perl.git/commitdiff/4149c7198d9b78d861df289cce40dd865cab57e7

Bump PKGREVISION.
2013-06-17 06:54:13 +00:00
obache
6ed2a51395 No reason to mark as CONFLICTS with p5-Locale-Maketext-1.[0-9]*{,nb*},
core one is 1.22 whereas misc/p5-Locale-Maketext is 1.23.
2013-06-17 05:21:45 +00:00
schmonz
5c02fa6920 Soon enough I'll learn to remember to update the patch checksum. 2013-06-08 21:39:23 +00:00
schmonz
f99e2ccefc Remove extraneous trailing parenthesis so this test can run. 2013-06-08 21:32:25 +00:00
jperkin
e0eee6cb37 Change the way we fix up $rm_try to avoid a tools directory reference.
Fixes errors seen on SmartOS with PKG_DEVELOPER=yes when the fixed file was
regenerated after the fixup, and appears to have the added benefit of removing
the warnings about out of date builds during install.
2013-06-06 14:20:14 +00:00
jperkin
6217fb31ed Add optional DTrace support. 2013-06-05 22:00:35 +00:00
adam
405684b167 We are excited to announce perl v5.18.0, the first stable release of version
18 of Perl 5.

You can find a full list of changes in the file "perldelta.pod" located in
the "pod" directory inside the release and on the web.

Perl v5.18.0 represents approximately 12 months of development since Perl
v5.16.0 and contains approximately 400,000 lines of changes across 2,100
files from 113 authors.
2013-05-31 10:55:15 +00:00
obache
ab2462d96d prevent to use C++ as default linker for Cygwin. 2013-04-23 12:22:35 +00:00
dholland
a6abf2be53 Not MAKE_JOBS_SAFE. 2013-04-06 01:16:50 +00:00
obache
c8b1a23df2 from KNOWN PROBLEMS in README.haiku
Perl cannot be compiled with threading support ATM.
2013-04-03 11:57:46 +00:00
adam
c2b591ea7b Changes 5.16.3:
This release contains one major and a number of minor security fixes. It fixes a possible vulnerability to a denial-of-service attack by use of a carefully-crafted set of hash keys, a segmentation fault when reading or writing strings greater than 2^31 bytes in size, and a memory leak in Encode.xs's UTF-8 encoding implementation.
2013-04-03 09:28:55 +00:00
obache
e54e1a9e36 regen patchsum, update for patch-ab was reverted.
PR pkg/47635
2013-03-09 03:19:10 +00:00
tez
0c80b65cab add patch for CVE-2013-1667 from:
https://bugzilla.redhat.com/show_bug.cgi?id=912276
bump PKGREVISION
2013-03-08 21:28:18 +00:00
obache
740a519dc6 note upstream RT ticket url. 2013-03-04 11:56:29 +00:00
obache
6e42559d9e fixes destdir installation on Cygwin. 2013-03-03 11:02:56 +00:00
obache
c6ae67d9cd tell library related staffs for Cygwin. 2013-02-28 04:33:57 +00:00
obache
60b6a62d2e also use gmake for Cygwin.
and as noted in comment, let to use GNUmakefile as MAKE_FILE.
2013-02-28 00:50:44 +00:00
obache
f3b84348cf ld='g++' in hints/cygwin.sh, c++ is required on Cygwin. 2013-02-27 14:02:22 +00:00
apb
d1d9db56f9 Don't be confused by '=' in output from "uname -a".
PR pkg/45814, also reported upstream at
<https://rt.perl.org/rt3/Public/Bug/Display.html?id=116523>.

Not bumping PKGREVISION because there should be no change in
the resulting package, on systems where the build was successful.
2013-01-24 18:23:51 +00:00
manu
130292ae5b Work around a NULL dereference (bug report was submitted upstream) 2013-01-17 13:29:59 +00:00
dholland
2da42d7c1f Don't hardwire /usr/pkg; use $PREFIX instead. This fixes various
problems with linking and rpaths, such as the NetBSD manifestation of
PR 47187, and probably others; I haven't tried yet but I suspect at
least my manifestation of PR 44985 will be fixed too.
2013-01-03 10:11:34 +00:00
spz
674eac27ca patch SA51498 from the git repo 2012-12-12 10:13:47 +00:00
sbd
5bd98bc636 Set ccflags and ldflags in Policy.sh instead of with CONFIGURE_ARGS. 2012-11-07 03:58:00 +00:00
sbd
530c0b277a Move XCOFF special handling to Policy.sh. 2012-11-07 02:46:19 +00:00
adam
7bbcf56c37 Changes 5.16.2:
Several minor bugs were fixed.
2012-11-04 10:31:46 +00:00
sbd
29d6d0767f Remove the addition on ${LOCALBASE}/lib rpath to ldflags as this is already
done by the buildlink system.
2012-11-02 22:24:08 +00:00
sbd
e855b085ab Move options from Makefile to options.mk and remove a duplicate .include of
mk/compiler.mk
2012-11-02 21:22:10 +00:00
sbd
fb5effd02b Move a hack from the Makefile to hacks.mk 2012-11-02 08:26:59 +00:00
sbd
701ac5adde Tidy-up the perl5-post-install commands.
(removing two missed references to PERL5_SCRIPTDIR and PERL5_MAN1DIR while at
it)
2012-11-02 08:18:50 +00:00
sbd
30ec25b653 Remove the uneeded PERL5_SCRIPTDIR and PERL5_MAN1DIR variables. 2012-11-02 07:36:24 +00:00
sbd
008f8f425a Remove the dynamic plist additions and add the two files to the static PLIST 2012-11-02 07:29:30 +00:00
wiz
e46b5751ce REPLACE_PERL one more file and add a SUBST_MESSAGE.
The rm class doesn't always work for me because miniperl regenerates
some Makefiles and then overwrites the substed file. I haven't tracked
the exact reason that triggers this down yet.
2012-10-20 10:41:46 +00:00
obache
695a56de97 Add a patch for Haiku OS (missing LOG_PRIMASK).
taken from CPAN Sys-Syslog-0.30.
2012-10-16 13:21:31 +00:00
sno
eca3a757ee adding BUILD_PARAMS analogue to MAKE_PARAMS for Module::Build Perl5 modules 2012-10-10 09:27:12 +00:00
wiz
e579208516 Update version in a comment. 2012-10-03 21:23:25 +00:00
adam
01a0059a6c Changes 5.16.1:
Enhancements were made to code features such as "use", which now explicitly enables feature bundles, a more consistent "eval" operator, and a revamped "substr" function. The "__SUB__" sequence now returns a reference to the current subroutine, allowing for recursive subroutines to be written more simply. Support for Unicode 6.1 was improved. Many other minor improvements and bugfixes, along with several deprecations, were made
2012-10-03 19:59:47 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
jperkin
e3e9efb4a8 Apply limited part of patch from perl bug 63604 to fix build on Solaris
with GCC 64-bit.  Tested on 32-bit too.

Fixes PR pkg/44999.
2012-06-14 16:12:11 +00:00