summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog10
-rw-r--r--src/Makefile.osx3
-rw-r--r--src/ivy.c4
-rw-r--r--tools/Makefile.osx2
4 files changed, 18 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index e2e279e..aeb587d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+ivy-c (3.11.8) unstable; urgency=low
+
+ * correct broadcast adress for loopback (not the same beetween linux/windows and osx)
+ * replace cast by use of union to eliminate breaking strict aliasing rules
+ * correct OSX Makefile to set correct dylib path on executable at install
+ * make ivy-c compilable by a c++ compiler
+ * add fixes to remove all gcc warning message
+
+ -- Alexandre Bustico <bustico@cena.fr> Mon, 27 Janury 2010 13:43:00 +0100
+
ivy-c (3.11.7) unstable; urgency=low
* copy string buffer for message ready instead of referencing it since we have no clue if this buffer will remain valid atfer the caller calls init
diff --git a/src/Makefile.osx b/src/Makefile.osx
index 4043935..5755b3b 100644
--- a/src/Makefile.osx
+++ b/src/Makefile.osx
@@ -136,6 +136,9 @@ installbins: tools
test -d $(DESTDIR)$(PREFIX)/bin || mkdir -p $(DESTDIR)$(PREFIX)/bin
install -m755 $(TOOLS_DIR)/ivyprobe $(DESTDIR)$(PREFIX)/bin
install -m755 $(TOOLS_DIR)/ivyperf $(DESTDIR)$(PREFIX)/bin
+ install_name_tool -change libivy.dylib $(DESTDIR)$(PREFIX)/lib/libivy.dylib $(DESTDIR)$(PREFIX)/bin/ivyprobe
+ install_name_tool -change libivy.dylib $(DESTDIR)$(PREFIX)/lib/libivy.dylib $(DESTDIR)$(PREFIX)/bin/ivyperf
+
tools: static-libs
@(cd $(TOOLS_DIR) && $(MAKE) -f Makefile.osx)
diff --git a/src/ivy.c b/src/ivy.c
index 80f9bf6..7964200 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -55,7 +55,11 @@
#define ARG_START "\002"
#define ARG_END "\003"
+#ifdef __APPLE__
#define DEFAULT_DOMAIN 127.0.0.1
+#else
+#define DEFAULT_DOMAIN 127.255.255.255
+#endif
/* stringification et concatenation du domaine et du port en 2 temps :
* Obligatoire puisque la substitution de domain, et de bus n'est pas
diff --git a/tools/Makefile.osx b/tools/Makefile.osx
index c01c3a1..ab3ce10 100644
--- a/tools/Makefile.osx
+++ b/tools/Makefile.osx
@@ -10,7 +10,7 @@ CPP='g++'
PCRELIB = `pcre-config --libs`
PCREINCL = `pcre-config --cflags`
-EXTRALIB= -L../src
+EXTRALIB= -L../src
EXTRAINC=-I../src
.SUFFIXES: .c .o