diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-pda/pilot-link/files | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-pda/pilot-link/files')
-rw-r--r-- | app-pda/pilot-link/files/pilot-link-0.12.5-Werror-args.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.5-Werror-args.patch b/app-pda/pilot-link/files/pilot-link-0.12.5-Werror-args.patch new file mode 100644 index 000000000000..5e6b939d0100 --- /dev/null +++ b/app-pda/pilot-link/files/pilot-link-0.12.5-Werror-args.patch @@ -0,0 +1,18 @@ +-Werror can have args now, but didn't when this code was originally written. + +Closes: https://bugs.gentoo.org/show_bug.cgi?id=714828 +Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> + +--- pilot-link-0.12.5.orig/configure.ac 2020-08-02 21:58:12.481559328 -0700 ++++ pilot-link-0.12.5/configure.ac 2020-08-02 22:02:49.641291824 -0700 +@@ -63,8 +63,8 @@ + dnl Eat -Werror so configure will run properly, if the user provided it + enable_werror=no + save_CFLAGS="$CFLAGS" +-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g` +-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g` ++CFLAGS=`echo $save_CFLAGS | sed -r -e 's/-Werror(=[^[:space:]]+)?//g'` ++CXXFLAGS=`echo $save_CXXFLAGS | sed -r -e 's/-Werror(=[^[:space:]]+)?//g'` + if test "x$CFLAGS" != "x$save_CFLAGS"; then + dnl -Werror was set; treat it as implicit --enable-werror below + enable_werror="yes" |