diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2022-11-25 21:14:32 +0100 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2022-11-25 21:14:32 +0100 |
commit | d486000783478d771ae61d8b78b364542c510229 (patch) | |
tree | b8cd6bea00f74b20fb01570ccb5f9579b5bb59db /math/form/files/patch-configure.ac | |
parent | sysutils/unquote: disable date/time nonreproducible build warning (diff) |
math/form: Update to 4.3.0
Diffstat (limited to 'math/form/files/patch-configure.ac')
-rw-r--r-- | math/form/files/patch-configure.ac | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/math/form/files/patch-configure.ac b/math/form/files/patch-configure.ac index 166b7b9ef8c8..30b228134f2d 100644 --- a/math/form/files/patch-configure.ac +++ b/math/form/files/patch-configure.ac @@ -1,22 +1,20 @@ ---- configure.ac.orig 2018-11-21 06:20:16 UTC +--- configure.ac.orig 2022-11-15 09:35:49 UTC +++ configure.ac -@@ -22,8 +22,8 @@ m4_define([FORM_VERSION], m4_esyscmd_s([ - echo "$major_version.$minor_version" >.version - echo "#define REPO_MAJOR_VERSION $major_version" >sources/version.h.in - echo "#define REPO_MINOR_VERSION $minor_version" >>sources/version.h.in -- echo '\\def\\repomajorversion'"{$major_version}" >doc/manual/version.tex.in -- echo '\\def\\repominorversion'"{$minor_version}" >>doc/manual/version.tex.in -+ echo "\\def\\repomajorversion{$major_version}" >doc/manual/version.tex.in -+ echo "\\def\\repominorversion{$minor_version}" >>doc/manual/version.tex.in - cp doc/manual/version.tex.in doc/devref/version.tex.in - fi - cat <<END >&2 -@@ -742,7 +742,7 @@ my_test_COMPILEFLAGS=${COMPILEFLAGS+set} - if test "$my_test_COMPILEFLAGS" != set; then - if test "x$vendor" = xgnu; then - # We don't use -pedantic option because of horrible warnings. -- COMPILEFLAGS="-Wall -Wextra -Wpadded -O3" -+ COMPILEFLAGS="-Wall -Wextra -Wpadded" +@@ -768,8 +768,6 @@ AC_DEFUN([AX_HANDLE_EXTRA_WARNING], + [$1="$$1 -Wno-misleading-indentation"]) + # Too many false positives. + # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 +- AX_CHECK_COMPILE_FLAG([-Wno-stringop-overflow], +- [$1="$$1 -Wno-stringop-overflow"]) + fi[]dnl + ]) + +@@ -780,7 +778,7 @@ if test "$my_test_COMPILEFLAGS" != set; then + COMPILEFLAGS="-Wall -Wextra -Wpadded" + AX_HANDLE_EXTRA_WARNING([COMPILEFLAGS]) + # Enable optimizations. +- COMPILEFLAGS="$COMPILEFLAGS -O3" ++ COMPILEFLAGS="$COMPILEFLAGS" if test "x$enable_profile" != xgprof; then # -pg conflicts with -fomit-frame-pointer. COMPILEFLAGS="$COMPILEFLAGS -fomit-frame-pointer" |