summary refs log tree commit diff
path: root/pkgs/applications/science/math/yacas/gcc43.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/math/yacas/gcc43.patch')
-rw-r--r--pkgs/applications/science/math/yacas/gcc43.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/yacas/gcc43.patch b/pkgs/applications/science/math/yacas/gcc43.patch
new file mode 100644
index 0000000000000..054f80cff927e
--- /dev/null
+++ b/pkgs/applications/science/math/yacas/gcc43.patch
@@ -0,0 +1,17 @@
+Taken from gentoo:
+http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/yacas/files/yacas-1.2.2-gcc43.patch?rev=1.1&view=markup
+Index: yacas-1.2.2-gcc43.patch
+===================================================================
+--- a/manmake/manripper.cpp
++++ b/manmake/manripper.cpp
+@@ -1,7 +1,8 @@
+ 
+-#include <stdio.h>
+-#include <ctype.h>
++#include <cstdio>
++#include <cctype>
+ #include <string>
++#include <cstring>
+ #include <map>
+ 
+ using namespace std;