summaryrefslogtreecommitdiff
path: root/editors/lyx/patches/patch-src_WordList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lyx/patches/patch-src_WordList.cpp')
-rw-r--r--editors/lyx/patches/patch-src_WordList.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/lyx/patches/patch-src_WordList.cpp b/editors/lyx/patches/patch-src_WordList.cpp
new file mode 100644
index 00000000000..fddd12b9dc4
--- /dev/null
+++ b/editors/lyx/patches/patch-src_WordList.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_WordList.cpp,v 1.1 2012/03/10 20:55:47 markd Exp $
+
+Fix build with gcc 4.6
+
+--- src/WordList.cpp.orig 2008-04-30 08:26:40.000000000 +0000
++++ src/WordList.cpp
+@@ -9,6 +9,7 @@
+ */
+
+ #include <config.h>
++#include <cstddef>
+
+ #include "WordList.h"
+