diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-29 16:16:54 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-29 16:16:54 +0000 |
commit | 0c4d41c11c393c83880803a7c7a3ac08f5e8761e (patch) | |
tree | 111a4c9bf19503b735a3b4c2282d78bb598d42f7 /media-sound/synaesthesia/files | |
parent | remove old ebuild (diff) | |
download | gentoo-2-0c4d41c11c393c83880803a7c7a3ac08f5e8761e.tar.gz gentoo-2-0c4d41c11c393c83880803a7c7a3ac08f5e8761e.tar.bz2 gentoo-2-0c4d41c11c393c83880803a7c7a3ac08f5e8761e.zip |
added patch to fix compilation with the gcc3.4.x. thanks to Alex Rostovtsev <tetromino@gmail.com> for the contribution. fixes #90561. also added ~amd64 to KEYWORDS and did some cleanup.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'media-sound/synaesthesia/files')
-rw-r--r-- | media-sound/synaesthesia/files/digest-synaesthesia-2.1 | 1 | ||||
-rw-r--r-- | media-sound/synaesthesia/files/synaesthesia-2.2-gcc3.4.patch | 29 |
2 files changed, 29 insertions, 1 deletions
diff --git a/media-sound/synaesthesia/files/digest-synaesthesia-2.1 b/media-sound/synaesthesia/files/digest-synaesthesia-2.1 deleted file mode 100644 index 22b95c9cb7a4..000000000000 --- a/media-sound/synaesthesia/files/digest-synaesthesia-2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 5bc166deb369a3c71efd61e1ad5e5475 synaesthesia-2.1.tar.gz 129209 diff --git a/media-sound/synaesthesia/files/synaesthesia-2.2-gcc3.4.patch b/media-sound/synaesthesia/files/synaesthesia-2.2-gcc3.4.patch new file mode 100644 index 000000000000..a981154d9187 --- /dev/null +++ b/media-sound/synaesthesia/files/synaesthesia-2.2-gcc3.4.patch @@ -0,0 +1,29 @@ +diff -ru synaesthesia-2.2.orig/polygon.h synaesthesia-2.2/polygon.h +--- synaesthesia-2.2.orig/polygon.h 2005-04-26 19:37:57.000000000 -0400 ++++ synaesthesia-2.2/polygon.h 2005-04-26 19:52:42.000000000 -0400 +@@ -28,8 +28,8 @@ + #define super (1<<superSampleShift) + void apply(Pixel *dest) { + Pixel sum=0; +- int count = width*height; +- Pixel *src = data; ++ int count = this->width*this->height; ++ Pixel *src = this->data; + while(count--) { + sum += *(src++); + if (sum) +@@ -40,10 +40,10 @@ + + void add(Pixel color,int x,int y) { + if (y < 0) return; +- if (y >= height) return; ++ if (y >= this->height) return; + if (x < 0) x = 0; +- if (x > width) x = width; +- data[x+y*width] += color; ++ if (x > this->width) x = this->width; ++ this->data[x+y*this->width] += color; + } + + /* Color is char[layers] */ +Only in synaesthesia-2.2: .polygon.h.swp |