Changes between Initial Version and Version 2 of Ticket #1322
- Timestamp:
- Apr 17, 2012, 1:20:16 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1322 – Description
initial v2 1 On Debian GNU/kfreebsd, 0 A.D. fails to build from source while building premake (Debian buildd logs can be found at [1]), because premake doesn't recognize Debian GNU/kFreeBSD as a valid BSD platform [2], and thinks we're running a build in a Windows environment instead. The following patch fixes this:1 On Debian GNU/kfreebsd, 0 A.D. fails to build from source while building premake (Debian buildd logs can be found at `[1]`), because premake doesn't recognize Debian GNU/kFreeBSD as a valid BSD platform `[2]`, and thinks we're running a build in a Windows environment instead. The following patch fixes this: 2 2 3 3 {{{ 4 4 --- a/build/premake/premake4/src/host/premake.h 5 5 +++ b/build/premake/premake4/src/host/premake.h … … 13 13 #define PLATFORM_STRING "bsd" 14 14 #elif defined(__APPLE__) && defined(__MACH__) 15 16 17 [1]https://buildd.debian.org/status/package.php?p=0ad18 [2]http://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ#Q._How_do_I_detect_kfreebsd_with_preprocessor_directives_in_a_C_program.3F15 }}} 16 ---- 17 * `[1]` https://buildd.debian.org/status/package.php?p=0ad 18 * `[2]` http://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ#Q._How_do_I_detect_kfreebsd_with_preprocessor_directives_in_a_C_program.3F