Subject: CVS commit: pkgsrc/games/woof
From: Michael Baeuerle
Date: 2024-01-19 14:02:59
Message id: 20240119130300.1280CFA42@cvs.NetBSD.org

Log Message:
games/woof: Fix build on SmartOS

[ 25%] Building C object src/CMakeFiles/woof.dir/hu_lib.c.o
/home/pbulk/build/games/woof/work/woof-woof_12.0.2/src/hu_lib.c:54:3: error: \ 
conflicting types for 'offset_t'; have 'enum <anonymous>'
   54 | } offset_t;
      |   ^~~~~~~~
In file included from /usr/include/strings.h:32,
                 from \ 
/home/pbulk/build/games/woof/work/woof-woof_12.0.2/src/doomtype.h:60,
                 from \ 
/home/pbulk/build/games/woof/work/woof-woof_12.0.2/src/doomdata.h:26,
                 from \ 
/home/pbulk/build/games/woof/work/woof-woof_12.0.2/src/doomstat.h:30,
                 from \ 
/home/pbulk/build/games/woof/work/woof-woof_12.0.2/src/hu_lib.c:20:
/usr/include/sys/types.h:274:25: note: previous declaration of 'offset_t' with \ 
type 'offset_t' {aka 'long long int'}
  274 | typedef longlong_t      offset_t;
      |                         ^~~~~~~~
*** [src/CMakeFiles/woof.dir/hu_lib.c.o] Error code 1

Files:
RevisionActionfile
1.42modifypkgsrc/games/woof/distinfo
1.1addpkgsrc/games/woof/patches/patch-src_hu__lib.c