diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-21 16:58:35 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-21 16:58:35 -0500 |
commit | a901a1232ab8f8432c63dc97e0efd9fed051d2c7 (patch) | |
tree | cb9e22e49e320406b337c95a8c1da9e6c94505e8 | |
parent | 10fc891a7e282d2cbab27ab53d9b980147fadb9a (diff) | |
download | tdebindings-a901a1232ab8f8432c63dc97e0efd9fed051d2c7.tar.gz tdebindings-a901a1232ab8f8432c63dc97e0efd9fed051d2c7.zip |
Fix FTBFS on x86 systems
-rw-r--r-- | korundum/bin/krubyinit.cpp | 2 | ||||
-rw-r--r-- | korundum/rubylib/korundum/Korundum.cpp | 2 | ||||
-rw-r--r-- | korundum/rubylib/korundum/kdehandlers.cpp | 2 | ||||
-rw-r--r-- | qtruby/bin/qtrubyinit.cpp | 2 | ||||
-rw-r--r-- | qtruby/rubylib/qtruby/Qt.cpp | 2 | ||||
-rw-r--r-- | qtruby/rubylib/qtruby/handlers.cpp | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/korundum/bin/krubyinit.cpp b/korundum/bin/krubyinit.cpp index 12b0f6e0..2a7f6c50 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 124e2a16..da9f0997 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 6961301f..11b97b52 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 c9569d9f..dd732b1e 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 370ad6d1..b264d446 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 f3d0ddaf..2f6b5e7f 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 |