From 550ed638dbdba74380c7f2e2369d87909e5e5da8 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Tue, 3 Apr 2018 08:54:19 +0200 Subject: [PATCH] alien_svn: Fix build on gcc >= 5, enable on x86_64. In GCC5 the preprocessor changed the format of its line number output, breaking the alien_svn build. Until this is fixed upstream, work around the issue by disabling preprocessor line numbering. The absence of alien_svn made the git_svn subpackage uninstallable on x86_64. See "Preprocessor issues" in: https://gcc.gnu.org/gcc-5/porting_to.html --- dev-perl/alien_svn/alien_svn-1.8.11.0.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-perl/alien_svn/alien_svn-1.8.11.0.recipe b/dev-perl/alien_svn/alien_svn-1.8.11.0.recipe index a1a1fba25..90852926b 100644 --- a/dev-perl/alien_svn/alien_svn-1.8.11.0.recipe +++ b/dev-perl/alien_svn/alien_svn-1.8.11.0.recipe @@ -11,7 +11,7 @@ CHECKSUM_SHA256="acf8ebce1cb6958ef24611a453abee32b8e4dfe767563834362891ef3f30fc6 SOURCE_DIR="Alien-SVN-v$portVersion" PATCHES="alien_svn-$portVersion.patchset" -ARCHITECTURES="x86_gcc2" +ARCHITECTURES="x86_gcc2 x86_64" PROVIDES=" alien_svn = $portVersion @@ -39,6 +39,7 @@ BUILD_PREREQUIRES=" BUILD() { export CFLAGS=-O0 + export CPPFLAGS=-P export PERL_MM_USE_DEFAULT=1 # Don't ask questions and use the default values perl Build.PL --installdirs vendor --prefix $prefix ./Build