[ekiga] [windows] Fix compile error with mingw32 with newer ptlib
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] [windows] Fix compile error with mingw32 with newer ptlib
- Date: Sat, 31 Mar 2012 19:47:06 +0000 (UTC)
commit 59172a82c9594eec21192ce4b6e64b1be590662d
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Sat Mar 31 21:43:40 2012 +0200
[windows] Fix compile error with mingw32 with newer ptlib
win32/Makefile | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/win32/Makefile b/win32/Makefile
index da4f119..54765ce 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -430,6 +430,11 @@ endif
cd $(PTLIB_DIR); for i in $(EKIGA_DIR)/win32/diff/ptlib_*; do \
test "`basename $$i`" != 'ptlib_*' && (patch -p1 <$$i || exit 1) ;\
done; true
+ifeq ($(MINGW32), 1)
+ # mingw32 wrongly defines DnsSectionAdditional
+ sed -i -e 's#\#include <ntverp.h># #g' $(PTLIB_DIR)/include/ptclib/pdns.h
+ sed -i -e 's#enum { DnsSectionAdditional = DnsSectionAddtional };# #g' $(PTLIB_DIR)/include/ptclib/pdns.h
+endif
touch $@
$(PTLIB_DIR)/config.status: binaries $(PTLIB_DIR)/configure
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]