aboutsummaryrefslogtreecommitdiff
path: root/pkgs/stardict/gcc46.patch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-06-30 14:32:42 +0200
committerKarel Kočí <cynerd@email.cz>2022-06-30 14:36:49 +0200
commit80372557415a2671584458be4d02cd60bcee0641 (patch)
tree63a362ec0345409c1fc50390c22b8e0d29a1eeae /pkgs/stardict/gcc46.patch
parent902f91984818f3ed0ab8b50f95e23aa9b2ab64a0 (diff)
downloadnixos-personal-80372557415a2671584458be4d02cd60bcee0641.tar.gz
nixos-personal-80372557415a2671584458be4d02cd60bcee0641.tar.bz2
nixos-personal-80372557415a2671584458be4d02cd60bcee0641.zip
pkgs/stardict: add stardict itself
It seems to not be able to find translations but I am not using it anyway. I have it just for completeness.
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;