a5a06c5b4e
- update hdf5-non_void_return.patch for GCC 5.x OBS-URL: https://build.opensuse.org/request/show/306387 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hdf5?expand=0&rev=22
27 lines
778 B
Diff
27 lines
778 B
Diff
Index: configure
|
|
===================================================================
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -4214,6 +4214,8 @@ done
|
|
if test "X$host_config" != "Xnone"; then
|
|
CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
|
|
. $host_config
|
|
+else
|
|
+ as_fn_error $? "no usable host config found" "$LINENO" 5
|
|
fi
|
|
|
|
## Source any special site-specific file
|
|
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -305,6 +305,8 @@ done
|
|
if test "X$host_config" != "Xnone"; then
|
|
CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
|
|
. $host_config
|
|
+else
|
|
+ AC_MSG_ERROR([no usable host config found])
|
|
fi
|
|
|
|
## Source any special site-specific file
|