View | Details | Raw Unified | Return to bug 238021 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +4 lines)
Lines 14-26 Link Here
14
14
15
BUILD_DEPENDS=	icotool:graphics/icoutils
15
BUILD_DEPENDS=	icotool:graphics/icoutils
16
16
17
USES=		cmake compiler:c++11-lang gl gnome sdl
17
USE_GITHUB=	yes
18
USE_GITHUB=	yes
18
GH_ACCOUNT=	serge-rgb
19
GH_ACCOUNT=	serge-rgb
19
20
USES=		cmake gl gnome
21
USE_GL=		gl
20
USE_GL=		gl
22
USE_GNOME=	gtk20
21
USE_GNOME=	gtk20
23
USE_SDL=	sdl2 image2
22
USE_SDL=	sdl2 image2
23
24
INSTALLS_ICONS=	yes
24
INSTALLS_ICONS=	yes
25
25
26
PLIST_FILES=	bin/milton ${DATADIR_REL}/Carlito.ttf
26
PLIST_FILES=	bin/milton ${DATADIR_REL}/Carlito.ttf
Lines 28-33 Link Here
28
PLIST_FILES+=	share/icons/hicolor/${n}x${n}/apps/milton.png
28
PLIST_FILES+=	share/icons/hicolor/${n}x${n}/apps/milton.png
29
.endfor
29
.endfor
30
30
31
CXXFLAGS_powerpc64=	-DNO_WARN_X86_INTRINSICS -maltivec -mvsx
32
31
post-patch:
33
post-patch:
32
	@${REINPLACE_CMD} -e 's:__linux__:__${OPSYS}__:' \
34
	@${REINPLACE_CMD} -e 's:__linux__:__${OPSYS}__:' \
33
		${WRKSRC}/src/easytab.h
35
		${WRKSRC}/src/easytab.h
(-)files/patch-src_shadergen.cc (+36 lines)
Line 0 Link Here
1
--- src/shadergen.cc.orig	2019-05-21 12:02:06 UTC
2
+++ src/shadergen.cc
3
@@ -361,7 +361,9 @@ handle_errno(int error)
4
 
5
        case ENOBUFS:         str = "No buffer space available (POSIX.1 (XSI STREAMS option))"; break;
6
 
7
+#ifdef ENODATA
8
        case ENODATA:         str = "No message is available on the STREAM head read queue (POSIX.1)"; break;
9
+#endif
10
 
11
        case ENODEV:          str = "No such device (POSIX.1)"; break;
12
 
13
@@ -394,9 +396,13 @@ handle_errno(int error)
14
 
15
        case ENOSPC:          str = "No space left on device (POSIX.1)"; break;
16
 
17
+#ifdef ENOSR
18
        case ENOSR:           str = "No STREAM resources (POSIX.1 (XSI STREAMS option))"; break;
19
+#endif
20
 
21
+#ifdef ENOSTR
22
        case ENOSTR:          str = "Not a STREAM (POSIX.1 (XSI STREAMS option))"; break;
23
+#endif
24
 
25
        case ENOSYS:          str = "Function not implemented (POSIX.1)"; break;
26
 
27
@@ -465,7 +471,9 @@ handle_errno(int error)
28
 
29
        // case ESTRPIPE:        str = "Streams pipe error"; break;
30
 
31
+#ifdef ETIME
32
        case ETIME:           str = "Timer expired (POSIX.1 (XSI STREAMS option))"; break;
33
+#endif
34
 
35
                        // (POSIX.1 says "STREAM ioctl(2) timeout")
36
 

Return to bug 238021