/[pkgs]/devel/Hermes/Hermes-1.3.3-64bit.patch
ViewVC logotype

Contents of /devel/Hermes/Hermes-1.3.3-64bit.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Jul 23 20:55:24 2006 UTC (3 years, 4 months ago) by jwrdegoede
Branch: MAIN
CVS Tags: Hermes-1_3_3-16_fc11, F-7-split, F-12-split, Hermes-1_3_3-11_fc6, Hermes-1_3_3-14_fc9, FC-6-split, Hermes-1_3_3-13_fc8, F-10-split, Hermes-1_3_3-17_fc12, F-11-split, Hermes-1_3_3-15_fc11, F-8-split, F-9-split, Hermes-1_3_3-12_fc6, HEAD
File MIME type: text/x-patch
* Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.3-11
- Taking over as new maintainer
- Add a patch from Debian fixing some 64 bit issues and more importantly
  fix building with a recent toolchain.
- Fix some further 64 bit issues
- Remove static lib
- Add --disable-dependency-tracking, touch config.h.in to fix the timestamp
  instead of BR: automake, autoconf
- Mark asm files as NOT needing execstack, making us OK with new default
  SELinux targeted policy settings.
1 --- Hermes-1.3.3/src/c_genrc_ao_blit.c~ 2006-07-23 21:20:29.000000000 +0200
2 +++ Hermes-1.3.3/src/c_genrc_ao_blit.c 2006-07-23 21:20:29.000000000 +0200
3 @@ -24,8 +24,8 @@
4 // **************************************************
5
6 void ConvertC_Generic32_A_Generic32_O_Blit(HermesConverterInterface *iface)
7 -{ unsigned long s_pixel, d_pixel, r, g, b, a;
8 - long sr, sg, sb, dr, dg, db, da;
9 +{ unsigned int s_pixel, d_pixel, r, g, b, a;
10 + int sr, sg, sb, dr, dg, db, da;
11 char8 *source = iface->s_pixels, *dest = iface->d_pixels;
12 unsigned int count;
13 float sa;
14 @@ -101,8 +101,8 @@
15 }
16
17 void ConvertC_Generic32_A_Generic24_O_Blit(HermesConverterInterface *iface)
18 -{ unsigned long s_pixel, d_pixel, r, g, b, a;
19 - long sr, sg, sb, dr, dg, db, da;
20 +{ unsigned int s_pixel, d_pixel, r, g, b, a;
21 + int sr, sg, sb, dr, dg, db, da;
22 float sa;
23 char8 *d_ptr=(char8 *)(&s_pixel);
24 unsigned int count;
25 --- Hermes-1.3.3/src/d_32.c~ 2006-07-23 22:06:51.000000000 +0200
26 +++ Hermes-1.3.3/src/d_32.c 2006-07-23 22:06:51.000000000 +0200
27 @@ -26,7 +26,7 @@
28 count=iface->d_width;
29
30 /* Check first pixel alignment, correct if necessary */
31 - if (((unsigned int)iface->d_pixels)&1) {
32 + if (((unsigned long)iface->d_pixels)&1) {
33 WRITE16(dest,
34 DitherTab_r565_44[count&0x3][y&0x3][(*((int32*)source)>>16)&0xff]|
35 DitherTab_g565_44[count&0x3][y&0x3][(*((int32*)source)>>8)&0xff]|

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2