On Sat, Mar 05, 2022 at 05:53:19PM -0700, Kurt Mosiejczuk wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]    2022/03/05 17:53:19
> 
> Modified files:
>       games/witchblast: Makefile 
> 
> Log message:
> Mark witchblast BROKEN-sparc64
> 

http://build-failures.rhaalovely.net/mips64/2022-03-02/games/witchblast.log:
/usr/local/lib/libsfml-window.so.2.0: undefined reference to 
`XRRConfigRotations'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRGetCrtcInfo'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to 
`XRRFreeScreenConfigInfo'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRConfigSizes'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRQueryVersion'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to 
`XRRConfigCurrentConfiguration'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to 
`XRRFreeScreenResources'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to 
`XRRGetOutputPrimary'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRFreeOutputInfo'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRFreeCrtcInfo'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to 
`XRRGetScreenResources'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRGetScreenInfo'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRGetOutputInfo'
/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRSetCrtcConfig'

The following diff links libXrandr explicitly in games/witchblast.
Could you test if this fixes the build on sparc64 and/or mips64?

(Bonus: also removes RCS Ids)

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/witchblast/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile    6 Mar 2022 00:53:19 -0000       1.6
+++ Makefile    10 Mar 2022 03:14:00 -0000
@@ -1,13 +1,9 @@
-# $OpenBSD: Makefile,v 1.6 2022/03/06 00:53:19 kmos Exp $
-
-BROKEN-sparc64 =       undefined reference to XRRConfigRotations, etc.
-
 COMMENT =      roguelite dungeon crawler game
 
 GH_ACCOUNT =   Cirrus-Minor
 GH_PROJECT =   witchblast
 GH_TAGNAME =   v0.7.5
-REVISION =     2
+REVISION =     3
 
 CATEGORIES =   games x11
 
@@ -16,11 +12,11 @@ MAINTAINER =        Thomas Frohwein <thfr@openb
 # GPLv3, Music is CC-BY-NC-SA, fonts are SIL Open Font License
 PERMIT_PACKAGE =       Yes
 
-WANTLIB += ${COMPILER_LIBCXX} c m
+WANTLIB += ${COMPILER_LIBCXX} Xrandr c m
 WANTLIB += sfml-audio sfml-graphics sfml-system sfml-window
 
 CONFIGURE_ENV=  CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
-               LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
+               LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lXrandr"
 
 COMPILER =             base-clang ports-gcc
 
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/games/witchblast/patches/patch-CMakeLists_txt,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt        26 Dec 2017 20:14:34 -0000      1.1.1.1
+++ patches/patch-CMakeLists_txt        10 Mar 2022 03:14:00 -0000
@@ -1,5 +1,3 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2017/12/26 20:14:34 awolk Exp $
-
 Add Unix install targets that are missing in source
 
 Index: CMakeLists.txt
Index: patches/patch-src_Constants_h
===================================================================
RCS file: /cvs/ports/games/witchblast/patches/patch-src_Constants_h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-src_Constants_h
--- patches/patch-src_Constants_h       26 Dec 2017 20:14:34 -0000      1.1.1.1
+++ patches/patch-src_Constants_h       10 Mar 2022 03:14:00 -0000
@@ -1,5 +1,3 @@
-$OpenBSD: patch-src_Constants_h,v 1.1.1.1 2017/12/26 20:14:34 awolk Exp $
-
 Set config, save, and hiscore files to path in ~/.local/share/witchblast
 
 Index: src/Constants.h
Index: patches/patch-src_WitchBlastGame_cpp
===================================================================
RCS file: /cvs/ports/games/witchblast/patches/patch-src_WitchBlastGame_cpp,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_WitchBlastGame_cpp
--- patches/patch-src_WitchBlastGame_cpp        18 Mar 2020 18:55:24 -0000      
1.2
+++ patches/patch-src_WitchBlastGame_cpp        10 Mar 2022 03:14:00 -0000
@@ -1,5 +1,3 @@
-$OpenBSD: patch-src_WitchBlastGame_cpp,v 1.2 2020/03/18 18:55:24 sebastia Exp $
-
 fix save location for death certificates (rip_...)
 
 Index: src/WitchBlastGame.cpp
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/witchblast/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   26 Dec 2017 20:14:34 -0000      1.1.1.1
+++ pkg/PLIST   10 Mar 2022 03:14:00 -0000
@@ -1,4 +1,3 @@
-@comment $OpenBSD: PLIST,v 1.1.1.1 2017/12/26 20:14:34 awolk Exp $
 bin/witchblast
 share/doc/witchblast/
 share/doc/witchblast/COPYING.txt

Reply via email to