HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #361 (closed task: needs recipe, patches welcome on bitbucket haikuports site)

Opened 5 years ago

Last modified 6 months ago

[bzflag] add

Reported by: scottmc Owned by: scottmc
Priority: normal Milestone:
Component: games-action/bzflag Version:
Severity: normal Keywords:
Cc:

Description

bzflag is a 3D tank combat simulator game.

Change History

comment:1 Changed 5 years ago by scottmc

Added initial .bep and patch file in r880.

Getting a failure during make:

IR=\"/boot/common/share/bzflag\" -fsigned-char -Wno-deprecated -g -O2 -O2 -ffast-math -fomit-frame-pointer -fno-exceptions -c NetHandler.cxx -o NetHandler.o
In file included from /boot/develop/headers/bsd/sys/cdefs.h:9,
                 from /boot/develop/headers/posix/arpa/inet.h:10,
                 from /boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/include/network.h:57,
                 from /boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/include/Address.h:31,
                 from /boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/include/Flag.h:56,
                 from /boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/include/PlayerInfo.h:30,
                 from /boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/include/NetHandler.h:24,
                 from /boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/src/game/NetHandler.cxx:14:
/boot/develop/headers/posix/sys/cdefs.h:23: warning: `__END_DECLS' redefined
/boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/include/bzregex.h:49: warning: this is the location of the previous definition
/boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/src/game/NetHandler.cxx: In function `static int NetHandler::udpReceive(char *, sockaddr_in *, bool &)':
/boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/src/game/NetHandler.cxx:132: passing `int *' as argument 6 of `recvfrom(int, void *, long unsigned int, int, sockaddr *, socklen_t *)' changes signedness
make[2]: *** [NetHandler.lo] Error 1
make[2]: Leaving directory `/boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/src/game'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/boot/develop/haikuports/games-action/bzflag/work/bzflag-2.0.14/src'
make: *** [all-recursive] Error 1

comment:2 Changed 5 years ago by bonefish

The error is a problem with the code, not with the port (unless that code is Haiku port specific that is). The variable passed to recvfrom() apparently has the wrong type (int instead of socklen_t).

comment:3 Changed 2 years ago by scottmc

 http://www.google-melange.com/gci/task/view/google/gci2012/8059207

comment:4 Changed 2 years ago by scottmc

  • Component changed from default to games-action/bzflag
  • Owner set to scottmc

comment:5 Changed 6 months ago by scottmc

  • Resolution set to needs recipe, patches welcome on bitbucket haikuports site
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/