From 9f51369429fb0ee010210a8b3dc6447de37e77a4 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Thu, 20 Nov 2003 19:13:28 +0000 Subject: Unbreak on 4.x 3rd try. --- games/taxipilot/Makefile | 10 ++-------- games/taxipilot/files/patch-acinclude.m4 | 11 +++++++++++ games/taxipilot/files/patch-timemanager.h | 15 +++++++++++++++ 3 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 games/taxipilot/files/patch-acinclude.m4 create mode 100644 games/taxipilot/files/patch-timemanager.h (limited to 'games/taxipilot') diff --git a/games/taxipilot/Makefile b/games/taxipilot/Makefile index b5acf7d5feef..e03b21246e65 100644 --- a/games/taxipilot/Makefile +++ b/games/taxipilot/Makefile @@ -16,15 +16,9 @@ COMMENT= A Spacetaxi clone LIB_DEPENDS= noatun.0:${PORTSDIR}/multimedia/kdemultimedia3 USE_KDELIBS_VER= 3 -GNU_CONFIGURE= yes +USE_AUTOMAKE= yes CONFIGURE_TARGET= CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_GMAKE= yes -.include - -.if ${OSVERSION} < 500028 -BROKEN= "Does not build on 4.x" -.endif - -.include +.include diff --git a/games/taxipilot/files/patch-acinclude.m4 b/games/taxipilot/files/patch-acinclude.m4 new file mode 100644 index 000000000000..fb1332479bbd --- /dev/null +++ b/games/taxipilot/files/patch-acinclude.m4 @@ -0,0 +1,11 @@ +--- admin/acinclude.m4.in.orig Thu Nov 20 19:35:08 2003 ++++ admin/acinclude.m4.in Thu Nov 20 19:35:27 2003 +@@ -2937,7 +2937,7 @@ + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([AM_KDE_WITH_NLS])dnl +- AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h string.h values.h alloca.h]) ++ AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h string.h values.h alloca.h stdint.h]) + AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ + __argz_count __argz_stringify __argz_next]) + diff --git a/games/taxipilot/files/patch-timemanager.h b/games/taxipilot/files/patch-timemanager.h new file mode 100644 index 000000000000..fc75ba7b5d5f --- /dev/null +++ b/games/taxipilot/files/patch-timemanager.h @@ -0,0 +1,15 @@ +--- taxipilot/timemanager.h.orig Wed Aug 21 11:20:40 2002 ++++ taxipilot/timemanager.h Thu Nov 20 19:19:09 2003 +@@ -19,7 +19,12 @@ + #define TIMEMANAGER_H + + #include ++#ifdef HAVE_STDINT_H + #include ++#else ++#include ++#define int_fast32_t int32_t ++#endif + #include + + #include "timedobject.h" -- cgit v1.2.3