diff --git a/scripts/tests/config-h.sh b/scripts/tests/config-h.sh index f395ade0..082b77da 100755 --- a/scripts/tests/config-h.sh +++ b/scripts/tests/config-h.sh @@ -4,7 +4,7 @@ r=0 for f in $fldigi_SOURCES $flarq_SOURCES; do - base=$(echo $f | sed -n '/\.[cC][cCpPxX]\{1,\}/ { s!.*/\(.*\)\.[^.]*$!\1!; p }') + base=$(echo $f | sed -n '/\.[cC][cCpPxX]\{1,\}/ { s!.*/\(.*\)\.[^.]*$!\1!p; }') test "x$base" = "x" && continue test -f "fldigi-${base}.${OBJEXT}" || test -f "flarq-${base}.${OBJEXT}" || continue if ! grep "include.*config\.h" "${srcdir}/${f}" >/dev/null; then diff --git a/scripts/tests/cr.sh b/scripts/tests/cr.sh index 033b46b3..39789a5b 100755 --- a/scripts/tests/cr.sh +++ b/scripts/tests/cr.sh @@ -4,7 +4,7 @@ r=0 for f in $fldigi_SOURCES $flarq_SOURCES $EXTRA_fldigi_SOURCES $EXTRA_DIST; do - base=$(echo $f | sed -n '/\.[cC][cCpPxX]\{1,\}/ { s!.*/\(.*\)\.[^.]*$!\1!; p }') + base=$(echo $f | sed -n '/\.[cC][cCpPxX]\{1,\}/ { s!.*/\(.*\)\.[^.]*$!\1!p; }') if test "x$base" != "x" && grep " " "${srcdir}/${f}" >/dev/null; then echo "E: $f has CRLF line terminators" >&2 r=1 diff --git a/src/xmlrpcpp/XmlRpcDispatch.cpp b/src/xmlrpcpp/XmlRpcDispatch.cpp index 74bd18a6..b6fdf438 100644 --- a/src/xmlrpcpp/XmlRpcDispatch.cpp +++ b/src/xmlrpcpp/XmlRpcDispatch.cpp @@ -30,7 +30,7 @@ #include #include -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) # ifdef USE_FTIME # include # endif