File: ignore_invalid_hdf5_flags.patch

package info (click to toggle)
freefem%2B%2B 4.15%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 54,536 kB
  • sloc: cpp: 244,534; ansic: 32,568; makefile: 4,177; sh: 2,822; fortran: 1,115; perl: 865; pascal: 452; awk: 295; f90: 32; exp: 16
file content (15 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Francois Mazen <mzf@debian.org>
Description: Ignore invalid flags containing $(top_srcdir) from hdf5
Forwarded: not-needed

--- a/etc/config/m4/ax_lib_hdf5.m4
+++ b/etc/config/m4/ax_lib_hdf5.m4
@@ -225,6 +225,8 @@
         dnl Now sort the flags out based upon their prefixes
         for arg in $HDF5_SHOW $HDF5_tmp_flags ; do
           case "$arg" in
+            *top_srcdir*) echo Ignoring $arg
+              ;;
             -I*) echo $HDF5_CPPFLAGS | $GREP -e "$arg" 2>&1 >/dev/null \
                   || HDF5_CPPFLAGS="$HDF5_CPPFLAGS $arg"
               ;;