ports/devel/root/files/patch-build_unix_compiledata.sh
Erik Jensen 3ad0e6474b devel/root: Revive port: Data analysis framework made at CERN
- Submitter becomes maintainer

ROOT is a framework for data processing, born at CERN, at the heart of
the research on high-energy physics. Every day, thousands of physicists
use ROOT applications to analyze their data or to perform simulations.

WWW:		https://root.cern/
PR:		267717
2022-12-30 10:44:41 +00:00

11 lines
547 B
Bash

--- build/unix/compiledata.sh.orig 2022-11-16 10:35:46 UTC
+++ build/unix/compiledata.sh
@@ -58,7 +58,7 @@ CXXFLAGS=`echo $CXXFLAGS | sed 's/-Iinclude //' `
# Remove the flags turning warnings into errors or extending
# the number of warnings.
-CXXFLAGS=`echo $CXXFLAGS | sed -e 's/-Werror //g' -e 's/-Werror=\S* //g' -e 's/-Wall //g' -e 's/-Wshadow //g' `
+CXXFLAGS=`echo $CXXFLAGS | sed -e 's/-Werror //g' -e 's/-Werror=[^[[:space:]]]* //g' -e 's/-Wall //g' -e 's/-Wshadow //g' `
# Determine the compiler version
BXX="`basename $CXX`"