]> git.decadent.org.uk Git - ion3.git/commitdiff
Updated 201_fix-paths.diff to apply.
authorBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 12:37:45 +0000 (12:37 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 12:37:45 +0000 (12:37 +0000)
Corrected compiler options to make RT clocks available.

debian/patches/201_fix-paths.diff

index 6c886d7ae8f50cc7543e89d77b6aa5632fb7638f..a335382e25eb1541390baef5d691e2f88db982ca 100755 (executable)
@@ -67,8 +67,8 @@ diff -Nur ion-3ds-20060519.orig/system.mk ion-3ds-20060519/system.mk
  # what you want.
 -#LUA_LIBS=`pkg-config --libs lua5.1`
 -#LUA_INCLUDES=`pkg-config --cflags lua5.1`
--#LUA=`which lua5.1`
--#LUAC=`which luac5.1`
+-#LUA=/usr/bin/lua5.1
+-#LUAC=/usr/bin/luac5.1
 +LUA_LIBS=`pkg-config --libs lua5.1`
 +LUA_INCLUDES=`pkg-config --cflags lua5.1`
 +LUA=`which lua5.1`
@@ -90,11 +90,11 @@ diff -Nur ion-3ds-20060519.orig/system.mk ion-3ds-20060519/system.mk
  #C89_SOURCE=-ansi
  
 -#POSIX_SOURCE=-D_POSIX_SOURCE
-+POSIX_SOURCE=-D_POSIX_SOURCE
++POSIX_SOURCE=-D_POSIX_SOURCE -D_POSIX_C_SOURCE=200112
  
  # Most systems
 -#XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
-+XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
++XOPEN_SOURCE=$(POSIX_SOURCE) -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
  # SunOS, (Irix)
  #XOPEN_SOURCE=-D__EXTENSIONS__