mplayer-common: fix arch and install
[openembedded.git] / recipes / bb / files / fix-compile.patch
blob75641da1e58ea1b46901af2b97620079a9f25658
1 Index: bb-1.2/bb.h
2 ===================================================================
3 --- bb-1.2.orig/bb.h
4 +++ bb-1.2/bb.h
5 @@ -23,7 +23,11 @@
7 #ifndef BB_H
8 #define BB_H
9 +//#include <aaint.h>
10 #include <aalib.h>
11 +struct parameters {
12 + unsigned int p[AA_NPARAMS];
13 +};
14 #include "image.h"
15 #include "timers.h"
16 struct font {
17 Index: bb-1.2/textform.c
18 ===================================================================
19 --- bb-1.2.orig/textform.c
20 +++ bb-1.2/textform.c
21 @@ -155,41 +155,41 @@ static char *text = "#cWell we've reache
22 "#c\n"
23 "#bThree goals of AA-Project:#n"
24 "\n\n"
25 -"#f1)Port all important software (like Doom, Second Reality, X windows etc..) on new AA-lib.
27 -2)Port AA-lib on all available platforms (mainly ZX-Spectrum and Sharp).
29 -3)Force IBM to start manufacturing MDA cards again.
31 -AA-project was started by Jan Hubicka. In that times just few people knew about \
32 -it. Then a new demo named BB has been relased to show the power \
33 -of AA-lib technology. Now the project is freely available and anyone can help.
35 -Just join our mailing list: #baa#n at#b horac.ta.jcu.cz.#n by sending #bsubscribe aa#n to majordomo.
37 -All programs covered under AA-project can be obtained at
38 -#c#bftp://ftp.ta.jcu.cz://pub/aa#n
39 -#c
40 -Or just browse our homepage at #bhttp://www.ta.jcu.cz://aa#n. Ton of \
41 -examples of ascii-art generated by aalib, pointers to other AA-Project \
42 -resources etc.
44 - We decided to distribute all of our aa-related programs freely (see \
45 -COPYING for details). But if you want to help us develop more such software \
46 -send a small amount (or big one ;-) to AA/BB maintainer address:
48 -Kamil Toman
49 -CS Armady 1930, Tabor
50 -390 03
51 -Czech republic
53 -and contact us at:
55 -kupsaf@feld.cvut.cz (Filip Kupsa)
56 -hubicka@paru.cas.cz (Jan Hubicka)
57 -titania@horac.ta.jcu.cz (Mojmir Svoboda)
58 -toman@horac.ta.jcu.cz (Kamil Toman)
59 -#f"
60 +"#f1)Port all important software (like Doom, Second Reality, X windows etc..) on new AA-lib.\n"
61 +"\n"
62 +"2)Port AA-lib on all available platforms (mainly ZX-Spectrum and Sharp).\n"
63 +"\n"
64 +"3)Force IBM to start manufacturing MDA cards again.\n"
65 +"\n"
66 +"AA-project was started by Jan Hubicka. In that times just few people knew about "
67 +"it. Then a new demo named BB has been relased to show the power "
68 +"of AA-lib technology. Now the project is freely available and anyone can help.\n"
69 +"\n"
70 +"Just join our mailing list: #baa#n at#b horac.ta.jcu.cz.#n by sending #bsubscribe aa#n to majordomo.\n"
71 +"\n"
72 +"All programs covered under AA-project can be obtained at\n"
73 +"#c#bftp://ftp.ta.jcu.cz://pub/aa#n\n"
74 +"#c\n"
75 +"Or just browse our homepage at #bhttp://www.ta.jcu.cz://aa#n. Ton of "
76 +"examples of ascii-art generated by aalib, pointers to other AA-Project "
77 +"resources etc. \n"
78 +" \n"
79 +" We decided to distribute all of our aa-related programs freely (see "
80 +"COPYING for details). But if you want to help us develop more such software "
81 +"send a small amount (or big one ;-) to AA/BB maintainer address: \n"
82 +"\n"
83 +"Kamil Toman\n"
84 +"CS Armady 1930, Tabor\n"
85 +"390 03\n"
86 +"Czech republic\n"
87 +"\n"
88 +"and contact us at:\n"
89 +"\n"
90 +"kupsaf@feld.cvut.cz (Filip Kupsa)\n"
91 +"hubicka@paru.cas.cz (Jan Hubicka)\n"
92 +"titania@horac.ta.jcu.cz (Mojmir Svoboda)\n"
93 +"toman@horac.ta.jcu.cz (Kamil Toman)\n"
94 +"#f"
95 "\n"
96 "#l\n"
97 "#c#bAvailable programs#n\n"
98 @@ -245,37 +245,37 @@ toman@horac.ta.jcu.cz (Kamil Toman)
99 "\n#l"
100 "\n"
101 "#c#bThe AA-Lib#n\n"
102 -"#f#c
103 -AA-lib is a low level gfx library just as many other libraries are. The \
104 -main difference is that AA-lib does not require graphics device. In fact, \
105 -there is no graphical output possible. AA-lib replaces those old-fashioned \
106 -output methods with powerful ascii-art renderer. Now my linux boots \
107 -with a nice penguin logo at secondary display (yes! Like Win95 does:) \
108 -AA-lib API is designed to be similar to other graphics libraries. Learning \
109 -a new API would be a piece of cake! \
113 -#c#bThe history#n
115 -Once upon a time we've (my friend Kamil and I) bought two old Herculeses \
116 -as secondary monitors. We didn't know for that time that our Diamond \
117 -Stealths 64 cards would become obsolete soon. Next day we downloaded \
118 -the logo of Linux Texas Users Group \
119 -- nice silly penguin looking like a cowboy! It was so exciting logo ... we \
120 -decided that we couldn't live without it and we wanted to see it every time \
121 -at a boot time as a logo on our secondary monitors. There was a small problem \
122 -- Hercules doesn't support color graphics. So we decided to convert an image \
123 -to ascii art using netpbm tools.
125 -The output was very ugly because the converting algorithm was absolutly stupid. \
126 -During the night I designed a new convertor that used a font bitmap for \
127 -creating aproximation table. The output wasn't very good since the algorithm \
128 -wasn't so well tuned. Many months this small piece of code was waiting on my \
129 -disc for the day \"D\". Meanwhile I started a new project XaoS (a fractal zoomer) \
130 -with my friend Thomas. And then I got an idea: Ascii Art Mandelbrots! \
131 -I was really impressed by the result! XaoS was faster, portable and looking \
132 -much better than ever before. I found a new way to go... "
133 +"#f#c"
134 +"AA-lib is a low level gfx library just as many other libraries are. The "
135 +"main difference is that AA-lib does not require graphics device. In fact, "
136 +"there is no graphical output possible. AA-lib replaces those old-fashioned "
137 +"output methods with powerful ascii-art renderer. Now my linux boots "
138 +"with a nice penguin logo at secondary display (yes! Like Win95 does:) "
139 +"AA-lib API is designed to be similar to other graphics libraries. Learning "
140 +"a new API would be a piece of cake! "
141 +"#f"
142 +"\n"
143 +"#l"
144 +"#c#bThe history#n"
145 +"#f"
146 +"Once upon a time we've (my friend Kamil and I) bought two old Herculeses "
147 +"as secondary monitors. We didn't know for that time that our Diamond "
148 +"Stealths 64 cards would become obsolete soon. Next day we downloaded "
149 +"the logo of Linux Texas Users Group "
150 +"- nice silly penguin looking like a cowboy! It was so exciting logo ... we "
151 +"decided that we couldn't live without it and we wanted to see it every time "
152 +"at a boot time as a logo on our secondary monitors. There was a small problem "
153 +"- Hercules doesn't support color graphics. So we decided to convert an image "
154 +"to ascii art using netpbm tools."
155 +"\n"
156 +"The output was very ugly because the converting algorithm was absolutly stupid. "
157 +"During the night I designed a new convertor that used a font bitmap for "
158 +"creating aproximation table. The output wasn't very good since the algorithm "
159 +"wasn't so well tuned. Many months this small piece of code was waiting on my "
160 +"disc for the day \"D\". Meanwhile I started a new project XaoS (a fractal zoomer) "
161 +"with my friend Thomas. And then I got an idea: Ascii Art Mandelbrots! "
162 +"I was really impressed by the result! XaoS was faster, portable and looking "
163 +"much better than ever before. I found a new way to go... "
164 "#c\n"
165 "#f\n"
166 "\n"