* compatibility fixes for OpenBSD
    - XmlRpcDispatch.cpp; timeb.h include statement
    - sed parameter lists in test shells
pull/1/head
David Freese 2014-12-15 06:49:10 -06:00
rodzic d344fac9df
commit 0612ec9e51
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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

Wyświetl plik

@ -30,7 +30,7 @@
#include <errno.h>
#include <math.h>
#if defined(__FreeBSD__)
#if defined(__FreeBSD__) || defined(__OpenBSD__)
# ifdef USE_FTIME
# include <sys/timeb.h>
# endif