diff options
author | Michael Januszewski <spock@gentoo.org> | 2005-12-10 16:58:19 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2005-12-10 16:58:19 +0000 |
commit | ee02828685518f46260af7c41fbe5b36c1a43c69 (patch) | |
tree | 4198401f292802b9afccb80e89bf1f0488742677 /media-gfx/bootsplash/files | |
parent | Added patch from bug #112706 to actually make it compile on modular xorg. (diff) | |
download | historical-ee02828685518f46260af7c41fbe5b36c1a43c69.tar.gz historical-ee02828685518f46260af7c41fbe5b36c1a43c69.tar.bz2 historical-ee02828685518f46260af7c41fbe5b36c1a43c69.zip |
Added a patch to fix compilation problems with gcc4 (bug #114724).
Package-Manager: portage-2.0.53
Diffstat (limited to 'media-gfx/bootsplash/files')
-rw-r--r-- | media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch | 24 | ||||
-rw-r--r-- | media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 | 2 |
2 files changed, 25 insertions, 1 deletions
diff --git a/media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch b/media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch new file mode 100644 index 000000000000..cd57a466ee42 --- /dev/null +++ b/media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch @@ -0,0 +1,24 @@ +diff -uNr bootsplash.old/utils/fbmngplay/mng.c bootsplash/utils/fbmngplay/mng.c +--- utils/fbmngplay/mng.c 2005-12-07 11:53:20.000000000 +0100 ++++ utils/fbmngplay/mng.c 2005-12-07 12:00:20.000000000 +0100 +@@ -226,7 +226,8 @@ + a = a * mymng->alpha / 100; + switch (mymng->fbbpp) { + case 16: +- input = *((unsigned short *) background)++; ++ input = *((unsigned short *) background); ++ background += 2; + + br = (input >> mng->fbredo) << (8-mng->fbredl); + bg = (input >> mng->fbgreeno) << (8-mng->fbgreenl); +@@ -273,7 +274,9 @@ + + output = (r << mng->fbredo) | (g << mng->fbgreeno) | (b << mng->fbblueo); + +- *((unsigned short *) dest)++ = output; ++ *((unsigned short *) dest) = output; ++ dest += 2; ++ + break; + case 24: + *dest++ = b; diff --git a/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 b/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 index 42c1b61a6556..1ff076217525 100644 --- a/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 +++ b/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 @@ -1,3 +1,3 @@ MD5 3ec34e6cc47d7e47825658f1f71e718f bootsplash-core-0.6.1-r6.tar.bz2 130805 -MD5 1d93157ac8796a86cc269b24bb882769 bootsplash-themes-0.6.1.tar.bz2 416892 MD5 61ad5145876db963402bcf166a01f94a bootsplash-kernel-0.6.1-r6.tar.bz2 177574 +MD5 1d93157ac8796a86cc269b24bb882769 bootsplash-themes-0.6.1.tar.bz2 416892 |