diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-03-30 17:46:30 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-03-30 17:46:30 +0000 |
commit | 230388e1068b7c557feea15b0f7b1a0f5dc316b0 (patch) | |
tree | f75f0f0bd058894595d40a7640b98ea38d69926b /net-misc/d4x/files | |
parent | stable on alpha (diff) | |
download | historical-230388e1068b7c557feea15b0f7b1a0f5dc316b0.tar.gz historical-230388e1068b7c557feea15b0f7b1a0f5dc316b0.tar.bz2 historical-230388e1068b7c557feea15b0f7b1a0f5dc316b0.zip |
fix miscompile
Diffstat (limited to 'net-misc/d4x/files')
-rw-r--r-- | net-misc/d4x/files/d4x-2.4.1-fix-statusbar-crash.patch | 27 | ||||
-rw-r--r-- | net-misc/d4x/files/digest-d4x-2.4.1-r1 | 1 | ||||
-rw-r--r-- | net-misc/d4x/files/digest-d4x-2.4_beta | 1 |
3 files changed, 28 insertions, 1 deletions
diff --git a/net-misc/d4x/files/d4x-2.4.1-fix-statusbar-crash.patch b/net-misc/d4x/files/d4x-2.4.1-fix-statusbar-crash.patch new file mode 100644 index 000000000000..de92f1505abb --- /dev/null +++ b/net-misc/d4x/files/d4x-2.4.1-fix-statusbar-crash.patch @@ -0,0 +1,27 @@ +--- d4x-2.4.1/main/face/lod.cc.orig 2003-03-23 21:53:23.000000000 +0200 ++++ d4x-2.4.1/main/face/lod.cc 2003-03-23 22:27:08.000000000 +0200 +@@ -196,6 +196,7 @@ + GtkCellRendererState flags){ + char tmpc[100]; + float p=((GtkCellRendererProgress*)cell)->percent; ++ unsigned int pwidth; + + if (p>99.0 && p<100.0) + sprintf(tmpc,"%.1f",p); +@@ -246,13 +247,15 @@ + }; + case 1: + if (p<=0) break; ++ pwidth = (unsigned int)((cell_area->width*p)/100); ++ if (pwidth<=0) break; + gtk_paint_box(style,window, + GTK_STATE_PRELIGHT,GTK_SHADOW_OUT, + cell_area, + widget, + "bar", + cell_area->x,cell_area->y, +- int((cell_area->width*p)/100),cell_area->height); ++ pwidth,cell_area->height); + default: + break; + }; diff --git a/net-misc/d4x/files/digest-d4x-2.4.1-r1 b/net-misc/d4x/files/digest-d4x-2.4.1-r1 new file mode 100644 index 000000000000..e611f2b3faa4 --- /dev/null +++ b/net-misc/d4x/files/digest-d4x-2.4.1-r1 @@ -0,0 +1 @@ +MD5 9ff1521a6c7ecedb6d71f1e1a6a6696a d4x-2.4.1.tar.gz 1390726 diff --git a/net-misc/d4x/files/digest-d4x-2.4_beta b/net-misc/d4x/files/digest-d4x-2.4_beta deleted file mode 100644 index c2bee7dd705f..000000000000 --- a/net-misc/d4x/files/digest-d4x-2.4_beta +++ /dev/null @@ -1 +0,0 @@ -MD5 66093d5dba093bfe285855ae84a00185 d4x-2.4beta.tar.gz 1267851 |