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.

http://gentoo.kevag-telekom.net/rsync/media-libs/devil/files/devil-1.7.8-jasper-remove-uchar.patch


On Mon, Aug 13, 2018 at 8:04 PM B Watson <[email protected]> wrote:

> On 8/13/18, Ythogtha <[email protected]> wrote:
> > Here is what happens when I try to build DevIL 1.8.0 (I already have
> 1.7.8
> > built and installed) :
> > [ 40%] Building CXX object src-IL/CMakeFiles/IL.dir/src/il_dds-save.cpp.o
> > /tmp/SBo/DevIL/DevIL/src-IL/src/il_dds-save.cpp: In function 'ILuint
> > Compress(ILimage*, ILenum)':
> > /tmp/SBo/DevIL/DevIL/src-IL/src/il_dds-save.cpp:711:32: error: invalid
> > conversion from 'void*' to 'ILubyte* {aka unsigned char*}' [-fpermissive]
> >       ByteData = ilConvertBuffer(Image->SizeOfData, Image->Format,
> IL_BGRA,
> > Image->Type, IL_UNSIGNED_BYTE, NULL, Image->Data);
> >
> > Does anyone have the same issue ?
>
> No, but...
>
> > Any idea ?
>
> It's telling you what to do in the very error message itself: add
> -fpermissive to the compile command. Easy way would be to add it to
> SLKCFLAGS just after the if/else block that sets it:
>
> SLKCFLAGS="$SLKCFLAGS -fpermissive"
>
> You on -current, or did you get this error on 14.2?
> _______________________________________________
> SlackBuilds-users mailing list
> [email protected]
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
_______________________________________________
SlackBuilds-users mailing list
[email protected]
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to