diff options
author | Binh Nguyen <binhnguyen@fastmail.fm> | 2012-09-12 22:21:56 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-12 14:20:43 -0500 |
commit | 7c8f3645ac5823ab6d65e8270a5e8658c520c2ca (patch) | |
tree | d5d96980aa08897b9649e3968f891a9bb978bdbc /misc/stardict/patches/stardict-3.0.1-gcc47.patch | |
parent | 47844931dd9ddb24cdee91062c29b6f47629e8ca (diff) | |
download | slackbuilds-7c8f3645ac5823ab6d65e8270a5e8658c520c2ca.tar.gz |
misc/stardict: Fixed to build against gcc-4.7.x (+new maintainer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/stardict/patches/stardict-3.0.1-gcc47.patch')
-rw-r--r-- | misc/stardict/patches/stardict-3.0.1-gcc47.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/misc/stardict/patches/stardict-3.0.1-gcc47.patch b/misc/stardict/patches/stardict-3.0.1-gcc47.patch new file mode 100644 index 0000000000..ddd22f8191 --- /dev/null +++ b/misc/stardict/patches/stardict-3.0.1-gcc47.patch @@ -0,0 +1,24 @@ +diff --git a/src/sigc++/signal_base.h b/src/sigc++/signal_base.h +index 582a8f4..0d77ac5 100644 +--- a/src/sigc++/signal_base.h ++++ b/src/sigc++/signal_base.h +@@ -21,6 +21,7 @@ + #ifndef _SIGC_SIGNAL_BASE_H_ + #define _SIGC_SIGNAL_BASE_H_ + ++#include <cstddef> + #include <list> + #include <sigc++config.h> + #include <sigc++/type_traits.h> +diff --git a/stardict-plugins/stardict-wordnet-plugin/scene.hpp b/stardict-plugins/stardict-wordnet-plugin/scene.hpp +index 54003ca..270b2e2 100644 +--- a/stardict-plugins/stardict-wordnet-plugin/scene.hpp ++++ b/stardict-plugins/stardict-wordnet-plugin/scene.hpp +@@ -9,6 +9,7 @@ + #include "partic.hpp" + #include "spring.hpp" + ++#include <cstdlib> + #include <vector> + using namespace std; + |