summaryrefslogtreecommitdiff
path: root/app-text/crf++/files/crf++-0.58-autotools.patch
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-11-21 00:55:54 +0100
committerDavid Seifert <soap@gentoo.org>2022-11-21 00:55:54 +0100
commit9ac73bf83b7c5fbdeadab0ddb508b6c88a69461f (patch)
tree1f9dc3859e1b99d985b41a7d33f297fef3675018 /app-text/crf++/files/crf++-0.58-autotools.patch
parent350213efabeb36c6a437eb09c23d851eb0ff956f (diff)
downloadgentoo-9ac73bf83b7c5fbdeadab0ddb508b6c88a69461f.tar.gz
gentoo-9ac73bf83b7c5fbdeadab0ddb508b6c88a69461f.tar.bz2
gentoo-9ac73bf83b7c5fbdeadab0ddb508b6c88a69461f.zip
app-text/crf++: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/crf++/files/crf++-0.58-autotools.patch')
-rw-r--r--app-text/crf++/files/crf++-0.58-autotools.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-text/crf++/files/crf++-0.58-autotools.patch b/app-text/crf++/files/crf++-0.58-autotools.patch
new file mode 100644
index 000000000000..df3584432bbe
--- /dev/null
+++ b/app-text/crf++/files/crf++-0.58-autotools.patch
@@ -0,0 +1,23 @@
+--- a/configure.in
++++ b/configure.in
+@@ -49,10 +49,8 @@
+ dnl
+ dnl check gcc
+ dnl
+-if test -n "$GCC"; then
+- CFLAGS="-O3 -Wall";
+- CXXFLAGS="-O3 -Wall";
+-fi
++CFLAGS="${CFLAGS} -Wall"
++CXXFLAGS="${CXXFLAGS} -Wall"
+
+ AC_DEFUN(ADD_CC_FLAG, [
+ AC_MSG_CHECKING(whether ${CC-cc} accepts $1)
+@@ -285,6 +283,6 @@
+ AC_MSG_RESULT([yes])
+
+ AC_SUBST(datarootdir)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AC_OUTPUT([Makefile Makefile.msvc swig/version.h])
+