diff options
author | ume <ume@FreeBSD.org> | 2002-06-29 17:04:46 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-06-29 17:04:46 +0800 |
commit | a0f5a8c8a9c459b81cad72a1706dcb7ee2e36bd1 (patch) | |
tree | 70c4dd0947415b7650f836f17a053056704de840 | |
parent | 496c81ff9f31a858d563dcf580561b16d91e8ce4 (diff) | |
download | freebsd-ports-gnome-a0f5a8c8a9c459b81cad72a1706dcb7ee2e36bd1.tar.gz freebsd-ports-gnome-a0f5a8c8a9c459b81cad72a1706dcb7ee2e36bd1.tar.zst freebsd-ports-gnome-a0f5a8c8a9c459b81cad72a1706dcb7ee2e36bd1.zip |
Make compilable under 5-CURRENT.
-rw-r--r-- | audio/gkrellmvolume/files/patch-ab | 14 | ||||
-rw-r--r-- | audio/gkrellmvolume2/files/patch-ab | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/audio/gkrellmvolume/files/patch-ab b/audio/gkrellmvolume/files/patch-ab new file mode 100644 index 000000000000..cee7f1cc2c03 --- /dev/null +++ b/audio/gkrellmvolume/files/patch-ab @@ -0,0 +1,14 @@ +Index: volume.c +diff -u volume.c.orig volume.c +--- volume.c.orig Thu Nov 23 05:35:42 2000 ++++ volume.c Sat Jun 29 17:55:08 2002 +@@ -17,7 +17,8 @@ + | Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +-#ifdef __FreeBSD__ ++#include <sys/param.h> ++#if defined(__FreeBSD__) && __FreeBSD_version < 500000 + #include <machine/soundcard.h> + #else + #include <sys/soundcard.h> diff --git a/audio/gkrellmvolume2/files/patch-ab b/audio/gkrellmvolume2/files/patch-ab new file mode 100644 index 000000000000..cee7f1cc2c03 --- /dev/null +++ b/audio/gkrellmvolume2/files/patch-ab @@ -0,0 +1,14 @@ +Index: volume.c +diff -u volume.c.orig volume.c +--- volume.c.orig Thu Nov 23 05:35:42 2000 ++++ volume.c Sat Jun 29 17:55:08 2002 +@@ -17,7 +17,8 @@ + | Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +-#ifdef __FreeBSD__ ++#include <sys/param.h> ++#if defined(__FreeBSD__) && __FreeBSD_version < 500000 + #include <machine/soundcard.h> + #else + #include <sys/soundcard.h> |