Index: Makefile =================================================================== --- Makefile (revision 502026) +++ Makefile (working copy) @@ -14,13 +14,13 @@ BUILD_DEPENDS= icotool:graphics/icoutils +USES= cmake compiler:c++11-lang gl gnome sdl USE_GITHUB= yes GH_ACCOUNT= serge-rgb - -USES= cmake gl gnome USE_GL= gl USE_GNOME= gtk20 USE_SDL= sdl2 image2 + INSTALLS_ICONS= yes PLIST_FILES= bin/milton ${DATADIR_REL}/Carlito.ttf @@ -28,6 +28,8 @@ PLIST_FILES+= share/icons/hicolor/${n}x${n}/apps/milton.png .endfor +CXXFLAGS_powerpc64= -DNO_WARN_X86_INTRINSICS -maltivec -mvsx + post-patch: @${REINPLACE_CMD} -e 's:__linux__:__${OPSYS}__:' \ ${WRKSRC}/src/easytab.h Index: files/patch-src_shadergen.cc =================================================================== --- files/patch-src_shadergen.cc (nonexistent) +++ files/patch-src_shadergen.cc (working copy) @@ -0,0 +1,36 @@ +--- src/shadergen.cc.orig 2019-05-21 12:02:06 UTC ++++ src/shadergen.cc +@@ -361,7 +361,9 @@ handle_errno(int error) + + case ENOBUFS: str = "No buffer space available (POSIX.1 (XSI STREAMS option))"; break; + ++#ifdef ENODATA + case ENODATA: str = "No message is available on the STREAM head read queue (POSIX.1)"; break; ++#endif + + case ENODEV: str = "No such device (POSIX.1)"; break; + +@@ -394,9 +396,13 @@ handle_errno(int error) + + case ENOSPC: str = "No space left on device (POSIX.1)"; break; + ++#ifdef ENOSR + case ENOSR: str = "No STREAM resources (POSIX.1 (XSI STREAMS option))"; break; ++#endif + ++#ifdef ENOSTR + case ENOSTR: str = "Not a STREAM (POSIX.1 (XSI STREAMS option))"; break; ++#endif + + case ENOSYS: str = "Function not implemented (POSIX.1)"; break; + +@@ -465,7 +471,9 @@ handle_errno(int error) + + // case ESTRPIPE: str = "Streams pipe error"; break; + ++#ifdef ETIME + case ETIME: str = "Timer expired (POSIX.1 (XSI STREAMS option))"; break; ++#endif + + // (POSIX.1 says "STREAM ioctl(2) timeout") + Property changes on: files/patch-src_shadergen.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property