summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-09-13 23:04:45 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-09-13 23:04:45 +0000
commitb7e69b1bc76d125ac62db7e5b225239e0c4ae455 (patch)
tree1b43c03386cfcacf4957fdeb0cb64b7f854e1867 /dev-games/clanlib/files
parentMark 2.14.0 stable on ia64. #139612 (diff)
downloadgentoo-2-b7e69b1bc76d125ac62db7e5b225239e0c4ae455.tar.gz
gentoo-2-b7e69b1bc76d125ac62db7e5b225239e0c4ae455.tar.bz2
gentoo-2-b7e69b1bc76d125ac62db7e5b225239e0c4ae455.zip
Fixing segfaults after few seconds of driving, Bug #100987
(Portage version: 2.1.1)
Diffstat (limited to 'dev-games/clanlib/files')
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-bounds.patch11
-rw-r--r--dev-games/clanlib/files/digest-clanlib-0.6.5-r43
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-bounds.patch b/dev-games/clanlib/files/clanlib-0.6.5-bounds.patch
new file mode 100644
index 000000000000..c58df4c58cdd
--- /dev/null
+++ b/dev-games/clanlib/files/clanlib-0.6.5-bounds.patch
@@ -0,0 +1,11 @@
+--- Sources/Display/Display/Generic/blit_transparent.cpp.old 2006-09-14 00:48:06.000000000 +0200
++++ Sources/Display/Display/Generic/blit_transparent.cpp 2006-09-14 00:49:16.000000000 +0200
+@@ -278,6 +278,8 @@
+ unsigned int dest_pitch = target->get_pitch();
+
+ unsigned char *dest = (unsigned char *) target->get_data();
++ if (y == 0)
++ y = 1;
+ dest += x*sizeof(T) + (y-1)*dest_pitch;
+
+ // T *dd;
diff --git a/dev-games/clanlib/files/digest-clanlib-0.6.5-r4 b/dev-games/clanlib/files/digest-clanlib-0.6.5-r4
new file mode 100644
index 000000000000..343d6f06c6c9
--- /dev/null
+++ b/dev-games/clanlib/files/digest-clanlib-0.6.5-r4
@@ -0,0 +1,3 @@
+MD5 7115921953ef6fa45102c28622493650 ClanLib-0.6.5-1.tar.gz 2183097
+RMD160 31f060f438925c9ec7dd2a9466ed6bb367549b3b ClanLib-0.6.5-1.tar.gz 2183097
+SHA256 62e16913423945475f3541fc97deaeb9b0f735b6c93c88725a6a771d5a882db5 ClanLib-0.6.5-1.tar.gz 2183097