Files
MINGW-packages/mingw-w64-libchamplain/001-win.patch
2014-10-18 14:00:09 +02:00

25 lines
655 B
Diff

--- ./champlain/Makefile.am.orig 2014-10-18 13:35:02.225182800 +0200
+++ ./champlain/Makefile.am 2014-10-18 13:35:05.095363900 +0200
@@ -139,7 +139,6 @@
AM_CPPFLAGS = \
$(DEPS_CFLAGS) \
$(MEMPHIS_CFLAGS) \
- -DDATADIR=\""$(datadir)"\" \
-I$(top_srcdir) \
-DCHAMPLAIN_COMPILATION \
$(WARN_CFLAGS)
--- ./demos/local-rendering.c.orig 2014-10-18 13:45:31.494582900 +0200
+++ ./demos/local-rendering.c 2014-10-18 13:46:06.702948100 +0200
@@ -26,7 +26,11 @@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
+#ifdef G_OS_WIN32
+#include <winsock2.h>
+#else
#include <sys/socket.h>
+#endif
#define N_COLS 2
#define COL_ID 0