Get this port to compile on FreeBSD/Alpha.

This commit is contained in:
Steve Price
1999-09-20 02:34:31 +00:00
parent ce08f5fc7a
commit 7f4fed562e
4 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- timidity/timidity.c.orig Sat Sep 18 15:39:51 1999
+++ timidity/timidity.c Sat Sep 18 15:40:21 1999
@@ -2444,7 +2444,7 @@
{
int i;
static int drums[] = DEFAULT_DRUMCHANNELS;
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) && !defined(__alpha__)
fp_except_t fpexp;
fpexp = fpgetmask();

View File

@@ -0,0 +1,11 @@
--- timidity/timidity.h.orig Sat Sep 18 15:42:24 1999
+++ timidity/timidity.h Sat Sep 18 15:42:51 1999
@@ -434,7 +434,7 @@
#ifdef LITTLE_ENDIAN
#define LE_SHORT(x) (x)
#define LE_LONG(x) (x)
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) && !defined(__alpha__)
#define BE_SHORT(x) __byte_swap_word(x)
#define BE_LONG(x) __byte_swap_long(x)
#else

11
misc/bb/files/patch-ac Normal file
View File

@@ -0,0 +1,11 @@
--- mikunix/main_ux.c.orig Sun Sep 19 10:52:35 1999
+++ mikunix/main_ux.c Sun Sep 19 10:53:12 1999
@@ -73,7 +73,7 @@
MD_RegisterDriver(&drv_sun);
#elif defined(SOLARIS)
MD_RegisterDriver(&drv_sun);
-#elif defined(__alpha)
+#elif defined(__alpha) && !defined(__FreeBSD__)
MD_RegisterDriver(&drv_AF);
#elif defined(OSS)
MD_RegisterDriver(&drv_vox);

11
misc/bb/files/patch-ad Normal file
View File

@@ -0,0 +1,11 @@
--- mikunix/mikmod.h.orig Sun Sep 19 10:54:10 1999
+++ mikunix/mikmod.h Sun Sep 19 10:54:27 1999
@@ -45,7 +45,7 @@
#define mikbannerdriver \
" - Sun/Solaris driver by Valtteri Vuorikoski <vuori@sci.fi>\n"
-#elif defined(__alpha)
+#elif defined(__alpha) && !defined(__FreeBSD__)
#define mikbannerdriver \
" - AudioFile driver by Roine Gustafsson <e93_rog@e.kth.se>\n"