Fri May 15 14:59:53 2020 UTC ()
games/doomlegacy: Broken on SunOS


(micha)
diff -r1.3 -r1.4 pkgsrc/games/eureka/Makefile

cvs diff -r1.3 -r1.4 pkgsrc/games/eureka/Makefile (expand / switch to unified diff)

--- pkgsrc/games/eureka/Makefile 2020/04/27 18:38:44 1.3
+++ pkgsrc/games/eureka/Makefile 2020/05/15 14:59:53 1.4
@@ -1,29 +1,40 @@ @@ -1,29 +1,40 @@
1# $NetBSD: Makefile,v 1.3 2020/04/27 18:38:44 micha Exp $ 1# $NetBSD: Makefile,v 1.4 2020/05/15 14:59:53 micha Exp $
2 2
3DISTNAME= eureka-1.27b-source 3DISTNAME= eureka-1.27b-source
4# Some macOS patches were added after the release of 1.27 but unfortunately 4# Some macOS patches were added after the release of 1.27 but unfortunately
5# the archive name was not changed (pkgsrc used 1.27.1 for this version). 5# the archive name was not changed (pkgsrc used 1.27.1 for this version).
6# The second patch release is called 1.27b, we use version 1.27.2 for it. 6# The second patch release is called 1.27b, we use version 1.27.2 for it.
7# Switch back to upstream naming scheme for next major/minor release. 7# Switch back to upstream naming scheme for next major/minor release.
8PKGNAME= ${DISTNAME:S/-source//:S/b/.2/} 8PKGNAME= ${DISTNAME:S/-source//:S/b/.2/}
9CATEGORIES= games 9CATEGORIES= games
10MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eureka-editor/} 10MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eureka-editor/}
11 11
12MAINTAINER= micha@NetBSD.org 12MAINTAINER= micha@NetBSD.org
13HOMEPAGE= https://sourceforge.net/projects/eureka-editor/ 13HOMEPAGE= https://sourceforge.net/projects/eureka-editor/
14COMMENT= Doom/Heretic/Hexen map editor 14COMMENT= Doom/Heretic/Hexen map editor
15LICENSE= gnu-gpl-v2 15LICENSE= gnu-gpl-v2
16 16
 17# Error on SmartOS 20200130T160054Z/x86_64:
 18# [...]
 19# src/e_basis.cc:1200:57: error: expected ',' or '...' before numeric constant
 20# 1200 | static void ChecksumSector(crc32_c& crc, const Sector * SEC)
 21# | ^~~
 22# src/e_basis.cc: In function 'void ChecksumSector(crc32_c&, const Sector*)':
 23# src/e_basis.cc:1202:12: error: base operand of '->' is not a pointer
 24# 1202 | crc += SEC->floorh;
 25# | ^~
 26BROKEN_ON_PLATFORM= SunOS-*-*
 27
17# Makefile declares "-std=c++03" 28# Makefile declares "-std=c++03"
18USE_LANGUAGES= c++03 29USE_LANGUAGES= c++03
19USE_TOOLS+= gmake 30USE_TOOLS+= gmake
20 31
21WRKSRC= ${WRKDIR}/eureka-1.27b-source 32WRKSRC= ${WRKDIR}/eureka-1.27b-source
22 33
23# DOOMWADDIR is intentionally shared with other Doom packages 34# DOOMWADDIR is intentionally shared with other Doom packages
24DOOMWADDIR= share/doom 35DOOMWADDIR= share/doom
25INSTALLATION_DIRS= bin 36INSTALLATION_DIRS= bin
26 37
27# Modify internal search path to check ${PREFIX}/share hierarchy first 38# Modify internal search path to check ${PREFIX}/share hierarchy first
28SUBST_CLASSES+= prefix 39SUBST_CLASSES+= prefix
29SUBST_STAGE.prefix= do-configure 40SUBST_STAGE.prefix= do-configure