Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] (PR#14764) Patch to get SDL client compile and start on Am
Home

[Freeciv-Dev] (PR#14764) Patch to get SDL client compile and start on Am

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14764) Patch to get SDL client compile and start on AmigaOS
From: "Nicolas A. Mendoza" <mendoza@xxxxxxxxxxx>
Date: Sat, 3 Dec 2005 17:49:22 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14764 >

- renamed "help" enum's members to HELP_#? (to avoid clash with TEXT)

- Added an Amiga entry in configure.ac to allow run as root (only one user 
in AmigaOS currently)

- utility/mem.c relies on that malloc(0) returns a pointer with 0 or as 
little as possible mem allocated. This is implementation specific 
according to ANSI C, and with the c library clib2 on AmigaOS, it returns 
an as correct NULL pointer isntead. Quick #ifdef hack that always 
allocates at least one byte. (since the poitner is always going to be 
freed anyway)

http://home.polarboing.com/nicomen/freeciv/freeciv-nicomen_20051204.patch

-- 
Nicolas Mendoza





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14764) Patch to get SDL client compile and start on AmigaOS, Nicolas A. Mendoza <=