From 37ff2a16b4b754b9c6ec30aa84a2a97df29eee54 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Mon, 1 Apr 2013 05:24:44 +0000 Subject: Fix sed issue on MAC OS X Montain Lion --- src/hyper/Makefile.in | 2 +- src/sman/session.c | 1 + src/sman/spadclient.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hyper/Makefile.in b/src/hyper/Makefile.in index 58357a3d..ec94c6be 100644 --- a/src/hyper/Makefile.in +++ b/src/hyper/Makefile.in @@ -151,7 +151,7 @@ ${HYPER}/pages/ht.db: all-hyper-pre $(srcdir)/pages/*.pht @ mkdir -p "${HYPER}"/pages @ cp "$(srcdir)"/pages/*.ht "$(HYPER)"/pages/ @ for A in `ls "$(srcdir)"/pages/*.pht`; do \ - sed 's,/doc/viewports/,/share/viewports/,g' $$A \ + LC_CTYPE=C sed 's,/doc/viewports/,/share/viewports/,g' $$A \ > ${HYPER}/pages/`basename $$A`; \ done @ rm -f "${HYPER}"/pages/ht.db diff --git a/src/sman/session.c b/src/sman/session.c index 42c0ada4..431580d8 100644 --- a/src/sman/session.c +++ b/src/sman/session.c @@ -48,6 +48,7 @@ #include "sockio.h" #include "com.h" #include "bsdsignal.h" +#include "cfuns.h" #include "sockio.h" using namespace OpenAxiom; diff --git a/src/sman/spadclient.c b/src/sman/spadclient.c index 8d23e1d4..85b8815e 100644 --- a/src/sman/spadclient.c +++ b/src/sman/spadclient.c @@ -44,6 +44,7 @@ #include "sockio.h" #include "com.h" #include "bsdsignal.h" +#include "cfuns.h" #include #include "sockio.h" -- cgit v1.2.3