stransky / berusky2

Berusky 2 (Bugs Escape 3D) is a game that challenges your visual/spatial thinking and ability to find a way to resolve a logic task. Using five bugs, you'll go through an adventure full of various puzzles spread across nine episodes. Individual episodes differ in appearance and difficulty, which increases throughout the game.
http://anakreon.cz/en/Berusky2.htm
GNU General Public License v3.0
15 stars 3 forks source link

Allow Berusky2 to compile on GNU/Hurd [Patch] #16

Closed apoleon closed 11 years ago

apoleon commented 11 years ago

Hi!

Berusky2 is now officially available in Debian.

http://packages.debian.org/sid/berusky2

I have discovered a build failure on Debian GNU/Hurd. The game fails to build from source because on GNU/Hurd PATH_MAX is not defined. The simplest solution is to define PATH_MAX whereever it is needed and set it to a fixed value like 1024.

I'm attaching a patch that does exactly that but I could not test it yet.

https://gist.github.com/apoleon/6492950

stransky commented 11 years ago

The PATH_MAX should be fixed by commit ddd164627566fc8ad112d05d286b074ca13721f2