diff options
author | joerg <joerg> | 2011-11-25 22:16:26 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-11-25 22:16:26 +0000 |
commit | 951852be434b9e8d0f9645e3ef4a8d20996a6c9c (patch) | |
tree | 3d8777a247d69786bf35153b5d79bc2723e61ca7 /print/cjk-lyx/patches | |
parent | 41ddceb262cf7ca07549da7341d6cf1988d4f5dc (diff) | |
download | pkgsrc-951852be434b9e8d0f9645e3ef4a8d20996a6c9c.tar.gz |
Fix build with newer GCC
Diffstat (limited to 'print/cjk-lyx/patches')
6 files changed, 74 insertions, 0 deletions
diff --git a/print/cjk-lyx/patches/patch-src_frontends_controllers_helper__funcs.h b/print/cjk-lyx/patches/patch-src_frontends_controllers_helper__funcs.h new file mode 100644 index 00000000000..f9784cf31db --- /dev/null +++ b/print/cjk-lyx/patches/patch-src_frontends_controllers_helper__funcs.h @@ -0,0 +1,12 @@ +$NetBSD: patch-src_frontends_controllers_helper__funcs.h,v 1.1 2011/11/25 22:16:26 joerg Exp $ + +--- src/frontends/controllers/helper_funcs.h.orig 2011-11-25 17:08:24.000000000 +0000 ++++ src/frontends/controllers/helper_funcs.h +@@ -15,6 +15,7 @@ + #ifndef HELPERFUNCS_H + #define HELPERFUNCS_H + ++#include <algorithm> + #include <utility> // pair + + #ifdef __GNUG__ diff --git a/print/cjk-lyx/patches/patch-src_frontends_xforms_FormMathsMatrix.C b/print/cjk-lyx/patches/patch-src_frontends_xforms_FormMathsMatrix.C new file mode 100644 index 00000000000..9e2a220a9ea --- /dev/null +++ b/print/cjk-lyx/patches/patch-src_frontends_xforms_FormMathsMatrix.C @@ -0,0 +1,12 @@ +$NetBSD: patch-src_frontends_xforms_FormMathsMatrix.C,v 1.1 2011/11/25 22:16:26 joerg Exp $ + +--- src/frontends/xforms/FormMathsMatrix.C.orig 2011-11-25 17:11:16.000000000 +0000 ++++ src/frontends/xforms/FormMathsMatrix.C +@@ -16,6 +16,7 @@ + #endif + + #include <algorithm> ++#include <cstring> + + #include "FormMathsMatrix.h" + #include "form_maths_matrix.h" diff --git a/print/cjk-lyx/patches/patch-src_mathed_math__xdata.C b/print/cjk-lyx/patches/patch-src_mathed_math__xdata.C new file mode 100644 index 00000000000..5b91ca2d8c0 --- /dev/null +++ b/print/cjk-lyx/patches/patch-src_mathed_math__xdata.C @@ -0,0 +1,13 @@ +$NetBSD: patch-src_mathed_math__xdata.C,v 1.1 2011/11/25 22:16:26 joerg Exp $ + +--- src/mathed/math_xdata.C.orig 2011-11-25 17:01:56.000000000 +0000 ++++ src/mathed/math_xdata.C +@@ -9,7 +9,7 @@ + #include "Painter.h" + #include "textpainter.h" + #include "debug.h" +- ++#include <cstdlib> + + using std::max; + using std::min; diff --git a/print/cjk-lyx/patches/patch-src_support_LSubstring.C b/print/cjk-lyx/patches/patch-src_support_LSubstring.C new file mode 100644 index 00000000000..6a40dfbe51f --- /dev/null +++ b/print/cjk-lyx/patches/patch-src_support_LSubstring.C @@ -0,0 +1,12 @@ +$NetBSD: patch-src_support_LSubstring.C,v 1.1 2011/11/25 22:16:26 joerg Exp $ + +--- src/support/LSubstring.C.orig 2011-11-25 17:05:19.000000000 +0000 ++++ src/support/LSubstring.C +@@ -16,6 +16,7 @@ + #pragma implementation + #endif + ++#include <cstring> + #include "LSubstring.h" + + #ifndef CXX_GLOBAL_CSTD diff --git a/print/cjk-lyx/patches/patch-src_support_forkedcontr.C b/print/cjk-lyx/patches/patch-src_support_forkedcontr.C new file mode 100644 index 00000000000..9fac118dbfa --- /dev/null +++ b/print/cjk-lyx/patches/patch-src_support_forkedcontr.C @@ -0,0 +1,12 @@ +$NetBSD: patch-src_support_forkedcontr.C,v 1.1 2011/11/25 22:16:26 joerg Exp $ + +--- src/support/forkedcontr.C.orig 2011-11-25 17:05:52.000000000 +0000 ++++ src/support/forkedcontr.C +@@ -24,6 +24,7 @@ + + #include <cerrno> + #include <cstdlib> ++#include <cstring> + #include <unistd.h> + #include <sys/wait.h> + diff --git a/print/cjk-lyx/patches/patch-src_support_lstrings.h b/print/cjk-lyx/patches/patch-src_support_lstrings.h new file mode 100644 index 00000000000..3aa7fc8f9ff --- /dev/null +++ b/print/cjk-lyx/patches/patch-src_support_lstrings.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_support_lstrings.h,v 1.1 2011/11/25 22:16:26 joerg Exp $ + +--- src/support/lstrings.h.orig 2011-11-25 16:59:32.000000000 +0000 ++++ src/support/lstrings.h +@@ -16,7 +16,7 @@ + #pragma interface + #endif + +-//#include <cstring> ++#include <cstring> + //#include <cctype> + //#include <cctype> + #include <vector> |