logo

overlay

Personnal gentoo overlay
commit: e046207a5e37df8b25fb2668a77f2213b60055f3
parent: d36d00b6be2bfb2ffd546528c91a56922f78a6da
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 19 Mar 2017 19:02:02 +0100

media-gfx/meh: Fix compilation with giflib5+

Diffstat:

media-gfx/meh/Manifest | 7++++---
media-gfx/meh/files/giflib5+.patch | 15+++++++++++++++
media-gfx/meh/meh-0.1.ebuild | 6++++++
media-gfx/meh/meh-0.2.ebuild | 6++++++
media-gfx/meh/meh-0.3.ebuild | 6++++++
5 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/media-gfx/meh/Manifest b/media-gfx/meh/Manifest @@ -1,8 +1,9 @@ +AUX giflib5+.patch 468 SHA256 37191af4f7f890995641e9ba1cc76f8aa79562823b9cf1f2bdd8fa59fce569cf SHA512 ef0dc7520eeeb942496cbefd63c109a17e9eb601eb0aff9ac093a7b503dd60ef1062d1af02491af7771925522d68225f805e98f252e0dbdb1ad1aaf8ee310c1a WHIRLPOOL 68752668e0efc9632ca6c2bf7a845ef6671981299eb38dad6d7a881a5f56f7bebd61d620c820ae9e6a754f5e6d0e66614ea034badfe799fe0e2ec2ec1951f355 DIST meh-0.1.tar.gz 9189 SHA256 5462f07a47b4b0b9675b52b36b3c3eb2b6c342023b55802d391008976e606e65 SHA512 acd3a791f5af4c71a7dc7b42e1c0dd15c6fae2f304f77677016c41c6811b461b070b13dc608731cdc890c32c1d9b49f4be154fc9f0748e3d7f8904cb6a993440 WHIRLPOOL 61f381cbca0de89f39416be208400201729d1953f0c8edf782512744657925749599a5454992f3144de449e3cfaca52b5f3d43853aaeec4bbeb3a84a1863bb4f DIST meh-0.2.tar.gz 11991 SHA256 d86e7bf969fc65362e5b88f4f41f5111d60a788208202815310ddd6acc7423a0 SHA512 a26abd078b75e406307d44feed2f1d31930902445b06dc7f40e255423e56427359f7a6c8e2f2f66f99d7f1810f8b4ba2da200bfa727c7c3977d2e2d5be14e004 WHIRLPOOL c043a5cc972cc32661e3f0082e9729a7d50c791f9262d54ee18eee472594b7d72d47ab3d6eab29a1a1c3cc2a5f82542311b49861cbff47cff5f81e058037e0b4 DIST meh-0.3.tar.gz 12856 SHA256 634404bd4a3921ed3e48870aefa277759a7441e31815d6da116a23272081bde6 SHA512 9b874612195238a92e690c459d7b292f120bf855a541cdbc8d8cc886eb7f8120e359ca4a2c4ee247d5058557fd2d8c7d9b25b181c878cd540a9c19ea019e3ef6 WHIRLPOOL 6a70067eaddd293003df716f7193f0b4807d134d0869863a3d08ca246935ebbdf47988e237b28de92e9854250a567cc0414ae89e2ea726d452b7d26637083dbd -EBUILD meh-0.1.ebuild 426 SHA256 f375e1561d988dc8eb801adc472b0281beba6794ca0f114b0d15da404f0034b6 SHA512 d6f1e6d16d1dacca3fbe5cbbddaa53731774f23c55beedc590ca810a5801c99caf0c393f042778f38907a1f18cc7199b4532fdb4e93ba5d680d75469d653d57a WHIRLPOOL b85785676b6e844f1c3c6a455d55d06b7b0caf7b8fa9829fcac111869d3b107bcb38df111030786bb2da82cfdcf4937c788b801af7ebe9b9f81bcdaa3127a21c -EBUILD meh-0.2.ebuild 426 SHA256 f375e1561d988dc8eb801adc472b0281beba6794ca0f114b0d15da404f0034b6 SHA512 d6f1e6d16d1dacca3fbe5cbbddaa53731774f23c55beedc590ca810a5801c99caf0c393f042778f38907a1f18cc7199b4532fdb4e93ba5d680d75469d653d57a WHIRLPOOL b85785676b6e844f1c3c6a455d55d06b7b0caf7b8fa9829fcac111869d3b107bcb38df111030786bb2da82cfdcf4937c788b801af7ebe9b9f81bcdaa3127a21c -EBUILD meh-0.3.ebuild 426 SHA256 f375e1561d988dc8eb801adc472b0281beba6794ca0f114b0d15da404f0034b6 SHA512 d6f1e6d16d1dacca3fbe5cbbddaa53731774f23c55beedc590ca810a5801c99caf0c393f042778f38907a1f18cc7199b4532fdb4e93ba5d680d75469d653d57a WHIRLPOOL b85785676b6e844f1c3c6a455d55d06b7b0caf7b8fa9829fcac111869d3b107bcb38df111030786bb2da82cfdcf4937c788b801af7ebe9b9f81bcdaa3127a21c +EBUILD meh-0.1.ebuild 502 SHA256 6aca72ef5aed6cfef15ec580a56600bae7d534f345cbae3dfb86baebdf7d1e59 SHA512 d0a8ce1a8af292412915c846003fa3156fafb9fc639eacbdc0f24b1845d2cef2242ecbbe36ef3f88e8fc31de230d2a5f6e72905e5b9d5ecfa632781fb65f0d99 WHIRLPOOL cce0243bb9616845290e4585b97f914ab1676ac910cd8314510f5a7b38c36b1cbe51d916be4278db315eeb25ff171d519a0696af484e91119bfed4ee2d574263 +EBUILD meh-0.2.ebuild 502 SHA256 6aca72ef5aed6cfef15ec580a56600bae7d534f345cbae3dfb86baebdf7d1e59 SHA512 d0a8ce1a8af292412915c846003fa3156fafb9fc639eacbdc0f24b1845d2cef2242ecbbe36ef3f88e8fc31de230d2a5f6e72905e5b9d5ecfa632781fb65f0d99 WHIRLPOOL cce0243bb9616845290e4585b97f914ab1676ac910cd8314510f5a7b38c36b1cbe51d916be4278db315eeb25ff171d519a0696af484e91119bfed4ee2d574263 +EBUILD meh-0.3.ebuild 502 SHA256 6aca72ef5aed6cfef15ec580a56600bae7d534f345cbae3dfb86baebdf7d1e59 SHA512 d0a8ce1a8af292412915c846003fa3156fafb9fc639eacbdc0f24b1845d2cef2242ecbbe36ef3f88e8fc31de230d2a5f6e72905e5b9d5ecfa632781fb65f0d99 WHIRLPOOL cce0243bb9616845290e4585b97f914ab1676ac910cd8314510f5a7b38c36b1cbe51d916be4278db315eeb25ff171d519a0696af484e91119bfed4ee2d574263 EBUILD meh-9999.ebuild 467 SHA256 41b8a1f5186885f0e37ae480b9ef61013260a66cbd47cd19f933a84a994d6b04 SHA512 bc8190bce8d8e62f4f61542938f82b712c000d1c57fbd63f9feb3cc65da0a75fa0f3842757c9c39d581832bb49e31ec12e87857f321d2888d182fa9a041f37c7 WHIRLPOOL 26b9c69a947092fa5ac0d5ee02b80034a8eacad39e777e9dbef31a89fc7b7261e5628204e7b214cb173baa946b573308a3fb2079f095532f85a744b130fdffe8 MISC metadata.xml 413 SHA256 d450ed7f70cf9fc47e917f2b3b7f6ab9af7f6994bddd62e49c093f58118b28b6 SHA512 116877b34bcfd6638743124793558326962a131359a66314e5411cb7ba99627626d2eee309bb56814da6292cfc6a508d308a0ab8537a693458b73e218c47d689 WHIRLPOOL 4459104a1df8a96d33e3f65f95ef85e4084dd40fa3bb3a84f7bd120a32bb998f05d1da309dc3a4a92fd1ebe47bedcbe0481c6944351a4083b09460cd8f68b9ad diff --git a/media-gfx/meh/files/giflib5+.patch b/media-gfx/meh/files/giflib5+.patch @@ -0,0 +1,15 @@ +--- src/gif.c 2017-03-19 18:53:14.440665470 +0100 ++++ src/gif.c 2017-03-19 18:53:18.856664983 +0100 +@@ -32,7 +32,11 @@ + /* HACK HACK HACK */ + rewind(f); + lseek(fileno(f), 0L, SEEK_SET); +- if(!(gif = DGifOpenFileHandle(fileno(f)))){ ++#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5 ++ if(!(gif = DGifOpenFileHandle(fileno(f), NULL))){ ++#else ++ if(!(gif = DGifOpenFileHandle(fileno(f)))): ++#endif + /* HACK AND HOPE */ + rewind(f); + lseek(fileno(f), 0L, SEEK_SET); diff --git a/media-gfx/meh/meh-0.1.ebuild b/media-gfx/meh/meh-0.1.ebuild @@ -18,3 +18,9 @@ DEPEND=" media-libs/giflib media-libs/libpng:*" RDEPEND="${DEPEND}" + +src_prepare() { + default + cd "${S}" + epatch "${FILESDIR}/giflib5+.patch" +} diff --git a/media-gfx/meh/meh-0.2.ebuild b/media-gfx/meh/meh-0.2.ebuild @@ -18,3 +18,9 @@ DEPEND=" media-libs/giflib media-libs/libpng:*" RDEPEND="${DEPEND}" + +src_prepare() { + default + cd "${S}" + epatch "${FILESDIR}/giflib5+.patch" +} diff --git a/media-gfx/meh/meh-0.3.ebuild b/media-gfx/meh/meh-0.3.ebuild @@ -18,3 +18,9 @@ DEPEND=" media-libs/giflib media-libs/libpng:*" RDEPEND="${DEPEND}" + +src_prepare() { + default + cd "${S}" + epatch "${FILESDIR}/giflib5+.patch" +}