updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / craft / craft.patch
blob17e3dd04bcf6aa0a3a42446b71a2932fa11c3e31
1 --- hcc/hcc.cc 2011-10-20 16:13:44.469366190 +0600
2 +++ hcc/hcc.cc.new 2011-10-20 16:15:08.339366664 +0600
3 @@ -1,9 +1,9 @@
4 -#include "bool.h"
5 #include "stdio.h"
6 -#include "std.h"
7 #include "string.h"
8 #include "ctype.h"
10 +#include <cstdlib>
12 #define max_refinements 10000
13 #define max_src_lines 10000
15 --- cry.h 2011-10-20 16:52:45.669379425 +0600
16 +++ cry.h.new 2011-10-20 16:53:11.962712907 +0600
17 @@ -1,4 +1,5 @@
18 #include "stdio.h"
19 +#include <cstdlib>
21 /*-------------------------------------------------------------------------*/
22 /* cry.h */
23 --- install 1997-06-12 18:30:18.000000000 +0600
24 +++ install.new 2011-10-20 17:33:18.675316354 +0600
25 @@ -13,14 +13,14 @@
27 #--------------------------------------------------------------------
29 -CFLAGS="-O2 -fexpensive-optimizations -finline-functions"
30 +CFLAGS="-w -O2 -fexpensive-optimizations -finline-functions"
31 HCC=hcc/hcc
32 CMP="$HCC -compiler $GCC $CFLAGS -c"
34 LFLAGS="-lX11 -lm -L$XLIB"
37 -echo hcc ; gcc -o hcc/hcc hcc/hcc.cc
38 +echo hcc ; g++ -w -o hcc/hcc hcc/hcc.cc
40 echo color_trans ; $CMP color_trans
41 echo xtimer ; $CMP xtimer
42 --- ppm_handler.h 2011-10-20 16:50:29.392711988 +0600
43 +++ ppm_handler.h.new 2011-10-20 16:55:35.349380383 +0600
44 @@ -8,6 +8,7 @@
45 /*======================================================================*/
47 #include "bool.h"
48 +#include <string.h>
50 bool ppm_size (char name [], int &dx, int &dy, int &color);