+++ /dev/null
-Buildroot puts nlist.h into sysroot/usr/include,
-which is in the default include path.
-
-Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
-
-Fetch from: http://github.com/arsv/perl-cross/blob/master/cnf/diffs/dynaloader.patch
-
---- a/ext/DynaLoader/hints/linux.pl
-+++ b/ext/DynaLoader/hints/linux.pl
-@@ -1,5 +1 @@
--# XXX Configure test needed.
--# Some Linux releases like to hide their <nlist.h>
--$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
-- if -f "/usr/include/libelf/nlist.h";
- 1;
+++ /dev/null
-add version.pm to miniperl_top path
-
-Fetch from: http://github.com/arsv/perl-cross/commit/f53a9f1b613b84396d174855f6c37bf04f76bae3
-See discussion: https://github.com/arsv/perl-cross/issues/18
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-
---- a/miniperl_top
-+++ b/miniperl_top
-@@ -39,4 +39,5 @@ exec $top/miniperl\
- -I$top/dist/Carp/lib\
- -I$top/cpan/podlators/lib\
- -I$top/cpan/parent/lib\
-+ -I$top/cpan/version/lib\
- "$@"
-
+++ /dev/null
-suppress built-in functions to avoid false positives
-
-gcc knows j0 etc. are pure and excludes them from try.c, subverting
-linkage test against libm.a and leading to link errors later.
-
-Fetch from: http://github.com/arsv/perl-cross/commit/ce7fa56d3a40767135039e03517a4d9ef2f3aaa1
-See discussion: https://github.com/arsv/perl-cross/issues/18
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-
---- a/cnf/configure__f.sh
-+++ b/cnf/configure__f.sh
-@@ -222,7 +222,7 @@ function try_link_libs {
- }
-
- function try_link {
-- try_link_libs $libs
-+ try_link_libs $libs $*
- }
-
- function try_readelf {
---- a/cnf/configure_func.sh
-+++ b/cnf/configure_func.sh
-@@ -22,7 +22,7 @@ function hasfunc {
- esac ;;
- esac
- try_add "int main(void) { $1($2); return 0; }"
-- try_link
-+ try_link -O0 -fno-builtin
- resdef 'found' 'not found' "$_s"
- }
-
sha256 3689fdb519133d039f49e12834764ff4c1de8f8d925dea44a952ca110d0ac9f7 perl-5.22.0.tar.bz2
# No upstream hashes for the following
-sha256 92ac19149eacfeb5dbddae229fecabdc1bef7ad130da2ea6c05a166167ac696a perl-5.22.0-cross-1.0.0.tar.gz
+sha256 2f972534820b028da92400e25dfcaab155232e3b118e2f91a5b63c624b49f5e8 perl-5.22.0-cross-1.0.1.tar.gz
PERL_LICENSE_FILES = Artistic Copying README
PERL_INSTALL_STAGING = YES
-PERL_CROSS_VERSION = 1.0.0
+PERL_CROSS_VERSION = 1.0.1
PERL_CROSS_BASE_VERSION = 5.$(PERL_VERSION_MAJOR).0
# DO NOT refactor with the github helper (the result is not the same)
PERL_CROSS_SITE = http://raw.github.com/arsv/perl-cross/releases
$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
endef
PERL_POST_EXTRACT_HOOKS += PERL_CROSS_EXTRACT
-HOST_PERL_POST_EXTRACT_HOOKS += PERL_CROSS_EXTRACT
define PERL_CROSS_SET_POD
$(SED) s/$(PERL_CROSS_OLD_POD)/$(PERL_CROSS_NEW_POD)/g $(@D)/Makefile