<div><div dir="auto">I was sent this patch to get 17.8 to build on -current. I didn’t incorporate it because it’s not needed on 14.2.</div></div><div dir="auto"><br></div><div dir="auto"><div><a href="http://gentoo.kevag-telekom.net/rsync/media-libs/devil/files/devil-1.7.8-jasper-remove-uchar.patch">http://gentoo.kevag-telekom.net/rsync/media-libs/devil/files/devil-1.7.8-jasper-remove-uchar.patch</a></div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 13, 2018 at 8:04 PM B Watson <<a href="mailto:yalhcru@gmail.com">yalhcru@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 8/13/18, Ythogtha <<a href="mailto:yth@ythogtha.org" target="_blank">yth@ythogtha.org</a>> wrote:<br>
> Here is what happens when I try to build DevIL 1.8.0 (I already have 1.7.8<br>
> built and installed) :<br>
> [ 40%] Building CXX object src-IL/CMakeFiles/IL.dir/src/il_dds-save.cpp.o<br>
> /tmp/SBo/DevIL/DevIL/src-IL/src/il_dds-save.cpp: In function 'ILuint<br>
> Compress(ILimage*, ILenum)':<br>
> /tmp/SBo/DevIL/DevIL/src-IL/src/il_dds-save.cpp:711:32: error: invalid<br>
> conversion from 'void*' to 'ILubyte* {aka unsigned char*}' [-fpermissive]<br>
>       ByteData = ilConvertBuffer(Image->SizeOfData, Image->Format, IL_BGRA,<br>
> Image->Type, IL_UNSIGNED_BYTE, NULL, Image->Data);<br>
><br>
> Does anyone have the same issue ?<br>
<br>
No, but...<br>
<br>
> Any idea ?<br>
<br>
It's telling you what to do in the very error message itself: add<br>
-fpermissive to the compile command. Easy way would be to add it to<br>
SLKCFLAGS just after the if/else block that sets it:<br>
<br>
SLKCFLAGS="$SLKCFLAGS -fpermissive"<br>
<br>
You on -current, or did you get this error on 14.2?<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div></div>