summary refs log tree commit diff
path: root/pkgs/applications/science/math/yacas
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-09 22:42:48 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-09 22:42:48 +0000
commit456d3f41ae2faa1618eb8c62d16eaf863aa27b2c (patch)
tree3ea83329bdb25692826580195aa12213d9379994 /pkgs/applications/science/math/yacas
parenta6aae3bc6d8c1ca601b787b8a8cd446add99e323 (diff)
Adding a yacas needed patch for it to build
svn path=/nixpkgs/trunk/; revision=23077
Diffstat (limited to 'pkgs/applications/science/math/yacas')
-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;