aboutsummaryrefslogtreecommitdiff
path: root/ports/readosm/fix-version-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/readosm/fix-version-macro.patch')
-rw-r--r--ports/readosm/fix-version-macro.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/readosm/fix-version-macro.patch b/ports/readosm/fix-version-macro.patch
new file mode 100644
index 000000000..b091b3359
--- /dev/null
+++ b/ports/readosm/fix-version-macro.patch
@@ -0,0 +1,13 @@
+diff --git a/src/readosm.c b/src/readosm.c
+index e1dda27..7977339 100644
+--- a/src/readosm.c
++++ b/src/readosm.c
+@@ -50,7 +50,7 @@
+
+ #if defined(_WIN32) && !defined(__MINGW32__)
+ /* MSVC: avoiding to include at all config.h */
+-#define VERSION 1.1.0
++#define VERSION "1.1.0"
+ #else
+ #include "config.h"
+ #endif