summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-21 16:58:35 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-10-13 20:22:47 +0200
commite677cac165aa49f1ac26faf912945b0acdfc53d4 (patch)
treee2c7ea9d90398cc3bdebed6296656a5fb5cf0748
parent1de311f56c78dc9683255ea34d8357e8bcd75374 (diff)
downloadtdebindings-e677cac165aa49f1ac26faf912945b0acdfc53d4.tar.gz
tdebindings-e677cac165aa49f1ac26faf912945b0acdfc53d4.zip
Fix FTBFS on x86 systems
(cherry picked from commit a901a1232ab8f8432c63dc97e0efd9fed051d2c7)
-rw-r--r--korundum/bin/krubyinit.cpp2
-rw-r--r--korundum/rubylib/korundum/Korundum.cpp2
-rw-r--r--korundum/rubylib/korundum/kdehandlers.cpp2
-rw-r--r--qtruby/bin/qtrubyinit.cpp2
-rw-r--r--qtruby/rubylib/qtruby/Qt.cpp2
-rw-r--r--qtruby/rubylib/qtruby/handlers.cpp2
6 files changed, 12 insertions, 0 deletions
diff --git a/korundum/bin/krubyinit.cpp b/korundum/bin/krubyinit.cpp
index 4a66fc90..753b9046 100644
--- a/korundum/bin/krubyinit.cpp
+++ b/korundum/bin/krubyinit.cpp
@@ -1,5 +1,7 @@
#include <ruby.h>
+#define HAVE_STRLCAT_PROTO 1
+#define HAVE_STRLCPY_PROTO 1
#include "config.h"
#ifndef HAVE_RUBY_1_9
diff --git a/korundum/rubylib/korundum/Korundum.cpp b/korundum/rubylib/korundum/Korundum.cpp
index 5b76f72a..8cb5154d 100644
--- a/korundum/rubylib/korundum/Korundum.cpp
+++ b/korundum/rubylib/korundum/Korundum.cpp
@@ -40,6 +40,8 @@
#include <smokeruby.h>
#include <smoke.h>
+#define HAVE_STRLCAT_PROTO 1
+#define HAVE_STRLCPY_PROTO 1
#include "config.h"
#ifndef HAVE_RUBY_1_9
diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp
index 865f20cc..1ea33aba 100644
--- a/korundum/rubylib/korundum/kdehandlers.cpp
+++ b/korundum/rubylib/korundum/kdehandlers.cpp
@@ -52,6 +52,8 @@
#include <dom/dom_string.h>
#include <dom/html_element.h>
+#define HAVE_STRLCAT_PROTO 1
+#define HAVE_STRLCPY_PROTO 1
#include "config.h"
#ifndef HAVE_RUBY_1_9
diff --git a/qtruby/bin/qtrubyinit.cpp b/qtruby/bin/qtrubyinit.cpp
index b5a820b8..d35bf46d 100644
--- a/qtruby/bin/qtrubyinit.cpp
+++ b/qtruby/bin/qtrubyinit.cpp
@@ -1,5 +1,7 @@
#include <ruby.h>
+#define HAVE_STRLCAT_PROTO 1
+#define HAVE_STRLCPY_PROTO 1
#include "config.h"
#ifndef HAVE_RUBY_1_9
diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp
index 150c4fb5..945086c4 100644
--- a/qtruby/rubylib/qtruby/Qt.cpp
+++ b/qtruby/rubylib/qtruby/Qt.cpp
@@ -60,6 +60,8 @@
#include "smokeruby.h"
#include "smoke.h"
+#define HAVE_STRLCAT_PROTO 1
+#define HAVE_STRLCPY_PROTO 1
#include "config.h"
#ifndef HAVE_RUBY_1_9
diff --git a/qtruby/rubylib/qtruby/handlers.cpp b/qtruby/rubylib/qtruby/handlers.cpp
index 73aea345..5bf93f17 100644
--- a/qtruby/rubylib/qtruby/handlers.cpp
+++ b/qtruby/rubylib/qtruby/handlers.cpp
@@ -47,6 +47,8 @@
#define HINT_BYTES HINT_BYTE
#endif
+#define HAVE_STRLCAT_PROTO 1
+#define HAVE_STRLCPY_PROTO 1
#include "config.h"
#ifndef HAVE_RUBY_1_9