Browse Source

perl: Updated (5.18.2 -> 5.20.2)

master
Nagy Károly Gábriel 9 years ago
parent
commit
b7e38d407d
4 changed files with 14 additions and 93 deletions
  1. +10
    -1
      perl/perl/perl.conf
  2. +4
    -4
      perl/perl/perl.desc
  3. +0
    -43
      perl/perl/pthreads_hotfix.patch
  4. +0
    -45
      perl/perl/typo_hotfix.patch

+ 10
- 1
perl/perl/perl.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../perl/perl.conf # Filename: package/.../perl/perl.conf
# Copyright (C) 2012 - 2014 The OpenSDE Project
# Copyright (C) 2012 - 2015 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -43,3 +43,12 @@ fi
if [ "$SDECFG_PKG_PERL5_THREADS" = "1" ]; then if [ "$SDECFG_PKG_PERL5_THREADS" = "1" ]; then
var_append extraconfopt ' ' "-Dusethreads" var_append extraconfopt ' ' "-Dusethreads"
fi fi
# we make LD=gcc because of:
# https://github.com/arsv/perl-cross/commit/98f631b66fac0d1f7bce0918ac4c6addb4db1ebd
if atstage cross; then
LD="$root/TOOLCHAIN/$toolsdir/crosscc/$CC"
else
LD="$CC"
fi

+ 4
- 4
perl/perl/perl.desc

@ -2,7 +2,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] [COPY]
[COPY] Filename: package/.../perl/perl.desc [COPY] Filename: package/.../perl/perl.desc
[COPY] Copyright (C) 2006 - 2014 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2015 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2004 Clifford Wolf [COPY] Copyright (C) 1998 - 2004 Clifford Wolf
[COPY] [COPY]
@ -33,8 +33,8 @@
[L] GPL Artistic [L] GPL Artistic
[S] Stable [S] Stable
[V] 5.18.2
[V] 5.20.2
[P] X -1-3---7-9 102.000 [P] X -1-3---7-9 102.000
[D] 486073295 perl-5.18.2.tar.gz http://www.cpan.org/src/5.0/
[D] 73736219 perl-5.18.2-cross-0.8.5.tar.gz https://raw.github.com/arsv/perl-cross/releases/
[D] 4282364038 perl-5.20.2.tar.gz http://www.cpan.org/src/5.0/
[D] 383924659 perl-5.20.2-cross-0.9.7.tar.gz https://raw.github.com/arsv/perl-cross/releases/

+ 0
- 43
perl/perl/pthreads_hotfix.patch

@ -1,43 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../perl/pthreads_hotfix.patch
# Copyright (C) 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
From efcebb94c92d3810f5500b035bb7454612a4204f Mon Sep 17 00:00:00 2001
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Wed, 23 Apr 2014 09:02:25 +0200
Subject: [PATCH] It's -lpthread not -lpthreads
Otherwise linking fails with missing pthread symbols when building with
with -Dusethreads
---
cnf/configure_libs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cnf/configure_libs.sh b/cnf/configure_libs.sh
index e970947..651c9d8 100644
--- a/cnf/configure_libs.sh
+++ b/cnf/configure_libs.sh
@@ -53,7 +53,7 @@ if not hinted 'perllibs'; then
appendvar '_libs' "$i" ;;
-ldl)
test "$usedl" != 'undef' && appendvar '_libs' "$i" ;;
- -lpthreads)
+ -lpthread)
test "$usethreads" != 'undef' && appendvar '_libs' "$i" ;;
# For a static build, -lgdbm and friends are assumed to be in ext.libs
esac
--
1.9.3

+ 0
- 45
perl/perl/typo_hotfix.patch

@ -1,45 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../perl/typo_hotfix.patch
# Copyright (C) 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
From bddecfb07990891aab7da507187980d9333ee0af Mon Sep 17 00:00:00 2001
From: Alex Suykov <alex.suykov@gmail.com>
Date: Wed, 23 Apr 2014 10:10:34 +0300
Subject: [PATCH] typo
---
cnf/configure_libs.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cnf/configure_libs.sh b/cnf/configure_libs.sh
index f45d31c..e970947 100644
--- a/cnf/configure_libs.sh
+++ b/cnf/configure_libs.sh
@@ -43,9 +43,9 @@ if not hinted 'perllibs'; then
# should be linked with.
# The whole idea is wrong, wrong, wrong, but it's tied to MakeMaker.
# Unlike Configure, we're picking libs presumably needed for perl
- # (Configure uses all except for those it know are not needed)
- # This allows adding anything to $libswanted without introducing unnecessary perl
- # dependencies. When perl itself needs something unusual, $perllibs value should be hinted.
+ # (Configure uses all except for those it knows are not needed)
+ # This allows adding anything to $libswanted without introducing unnecessary perl dependencies.
+ # When perl itself needs something unusual, $perllibs value should be hinted.
_libs=''
for i in $libs; do
case "$i" in
--
1.9.3

Loading…
Cancel
Save