diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-board/eboard/files/eboard-1.1.1-libpng15.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/eboard/files/eboard-1.1.1-libpng15.patch')
-rw-r--r-- | games-board/eboard/files/eboard-1.1.1-libpng15.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/games-board/eboard/files/eboard-1.1.1-libpng15.patch b/games-board/eboard/files/eboard-1.1.1-libpng15.patch new file mode 100644 index 000000000000..cd0ccf8b4f20 --- /dev/null +++ b/games-board/eboard/files/eboard-1.1.1-libpng15.patch @@ -0,0 +1,16 @@ +--- a/cimg.cc ++++ b/cimg.cc +@@ -94,11 +95,11 @@ + ct == PNG_COLOR_TYPE_GRAY_ALPHA) + png_set_gray_to_rgb(pngp); + +- alloc(pngp->width,pngp->height); ++ alloc(width,height); + if (!ok) { fclose(f); return; } + ok = 0; + +- for(i=0;i<pngp->height;i++) { ++ for(i=0;i<height;i++) { + png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL); + } + |