Adding a yacas needed patch for it to build

svn path=/nixpkgs/trunk/; revision=23077
This commit is contained in:
Lluís Batlle i Rossell 2010-08-09 22:42:48 +00:00
parent a6aae3bc6d
commit 456d3f41ae

View File

@ -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;