aboutsummaryrefslogtreecommitdiff
path: root/pkgs/stardict/gcc46.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stardict/gcc46.patch')
-rw-r--r--pkgs/stardict/gcc46.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/stardict/gcc46.patch b/pkgs/stardict/gcc46.patch
new file mode 100644
index 0000000..944b963
--- /dev/null
+++ b/pkgs/stardict/gcc46.patch
@@ -0,0 +1,11 @@
+diff -aur old/dict/stardict-plugins/stardict-wordnet-plugin/utils.h new/dict/stardict-plugins/stardict-wordnet-plugin/utils.h
+--- old/dict/stardict-plugins/stardict-wordnet-plugin/utils.h 2011-07-18 06:58:58.519404744 -0700
++++ new/dict/stardict-plugins/stardict-wordnet-plugin/utils.h 2011-07-18 07:01:10.739734313 -0700
+@@ -26,6 +26,7 @@
+ #ifndef __TYPES_H__
+ #define __TYPES_H__
+
++#include <cstddef>
+ #include <math.h>
+
+ typedef float single;