1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Make games/doomlegacy compiling on -current

This commit is contained in:
Edwin Groothuis 2003-01-19 03:24:34 +00:00
parent 9f3061271c
commit 73bdb36983
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73466
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- linux_x/i_sound.c.orig Sat Jan 18 18:24:12 2003
+++ linux_x/i_sound.c Sat Jan 18 18:23:42 2003
@@ -93,7 +93,7 @@
// Linux voxware output.
#ifdef LINUX
#ifdef FREEBSD
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#else
#include <linux/soundcard.h>
#endif

View File

@ -0,0 +1,11 @@
--- linux_x/sndserv/linux.c.orig Sat Jan 18 18:29:07 2003
+++ linux_x/sndserv/linux.c Sat Jan 18 18:29:12 2003
@@ -45,7 +45,7 @@
#ifdef LINUX
#ifdef FREEBSD
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#else
#include <linux/soundcard.h>
#endif

View File

@ -0,0 +1,17 @@
--- t_prepro.h.orig Wed May 16 15:33:34 2001
+++ t_prepro.h Sat Jan 18 18:19:25 2003
@@ -34,12 +34,12 @@
#define __PREPRO_H__
#ifdef FREEBSD
-#include <machine/types.h>
+//#include <machine/types.h>
#endif
typedef struct section_s section_t;
-#ifndef FREEBSD
+#if __FreeBSD__ > 4
typedef struct label_s label_t;
#endif
#define SECTIONSLOTS 17
#define LABELSLOTS 17

View File

@ -0,0 +1,13 @@
--- i_tcp.c.orig Fri Jan 17 17:26:18 2003
+++ i_tcp.c Fri Jan 17 17:27:09 2003
@@ -219,6 +219,10 @@
#include "doomstat.h"
#include "mserv.h" //Hurdler: support master server
+// somewhere on the track between 4.5 and -current this one has disappered.
+#ifndef IPPORT_USERRESERVED
+ #define IPPORT_USERRESERVED 5000
+#endif
#ifdef __WIN32__
// some undifined under win32
#define IPPORT_USERRESERVED 5000