Date: Mon, 10 Feb 2003 21:33:48 -0500 From: "Andrew Lankford" <arlankfo@141.com> To: ports@freebsd.org Subject: ***PATCH**** for timidity, (take III) Message-ID: <20030211023322.YLIB16957.out011.verizon.net@verizon.net>
next in thread | raw e-mail | index | archive | help
Gee, might help if I post this where people will actually read it. Saving the following patch to /usr/ports/timidity/files/patch-r0_2i appears to fix timidity: --- common.c 2003/02/08 01:42:31 1.1 +++ common.c 2003/02/08 01:53:36 @@ -24,7 +24,7 @@ #include <stdio.h> #include <stdlib.h> -#if defined(SOLARIS) || defined(__WIN32__) +#if defined(SOLARIS) || defined(__WIN32__) || defined(__FreeBSD__) #include <string.h> #else #include <strings.h> --- instrum.c 2003/02/08 01:42:31 1.1 +++ instrum.c 2003/02/08 01:53:50 @@ -25,7 +25,7 @@ #include <stdio.h> -#if defined(SOLARIS) || defined(__WIN32__) +#if defined(SOLARIS) || defined(__WIN32__) || defined(__FreeBSD__) #include <string.h> #else #include <strings.h> --- playmidi.c 2003/02/08 01:42:31 1.1 +++ playmidi.c 2003/02/08 01:54:18 @@ -27,7 +27,7 @@ #endif #include <stdlib.h> -#if defined(SOLARIS) || defined(__WIN32__) +#if defined(SOLARIS) || defined(__WIN32__) || defined(__FreeBSD__) # include <string.h> #else #include <strings.h> --- raw_a.c 2003/02/08 01:42:31 1.1 +++ raw_a.c 2003/02/08 01:54:38 @@ -35,6 +35,7 @@ #ifdef __FreeBSD__ #include <stdio.h> +#include <string.h> #endif #include "config.h" --- readmidi.c 2003/02/08 01:42:31 1.1 +++ readmidi.c 2003/02/08 01:53:19 @@ -23,7 +23,7 @@ #include <stdlib.h> #include <errno.h> -#if defined(SOLARIS) | defined(__WIN32__) +#if defined(SOLARIS) || defined(__WIN32__) || defined(__FreeBSD__) # include <string.h> #else #include <strings.h> --- timidity.c 2003/02/08 01:42:31 1.1 +++ timidity.c 2003/02/08 01:54:51 @@ -21,7 +21,7 @@ #include <stdio.h> #include <stdlib.h> -#if defined(SOLARIS) || defined(__WIN32__) +#if defined(SOLARIS) || defined(__WIN32__) || defined(__FreeBSD__) #include <string.h> #else #include <strings.h> --- wav2pat.c 2003/02/08 01:42:31 1.1 +++ wav2pat.c 2003/02/08 01:55:29 @@ -28,7 +28,7 @@ #include <unistd.h> #include <fcntl.h> -#ifdef SOLARIS +#if defined(SOLARIS) || defined(__FreeBSD__) #include <string.h> #else #include <strings.h> --- wave_a.c 2003/02/08 01:42:31 1.1 +++ wave_a.c 2003/02/08 01:55:45 @@ -35,6 +35,7 @@ #ifdef __FreeBSD__ #include <stdio.h> +#include <string.h> #endif #include "config.h" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030211023322.YLIB16957.out011.verizon.net>