nixpkgs/pkgs/applications/science/math/yacas/gcc43.patch
Lluís Batlle i Rossell 456d3f41ae Adding a yacas needed patch for it to build
svn path=/nixpkgs/trunk/; revision=23077
2010-08-09 22:42:48 +00:00

18 lines
469 B
Diff

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;