FreeBSD Bugzilla – Attachment 204508 Details for
Bug 238021
graphics/milton: fix build with GCC-based architectures, please portlint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
milton.patch (text/plain), 2.42 KB, created by
Piotr Kubaj
on 2019-05-21 12:53:10 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-05-21 12:53:10 UTC
Size:
2.42 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
pkubaj
:
maintainer-approval?
(
danfe
)
Actions:
View
|
Diff
Attachments on
bug 238021
: 204508 |
205260