diff options
author | knu <knu@FreeBSD.org> | 2002-07-24 05:07:04 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-07-24 05:07:04 +0800 |
commit | ccd3b94b1e2bf50df9bec0015567dd5fdd2a3a20 (patch) | |
tree | b0b14cdf9d28b9f1b24eab085af6d8300b9be423 /graphics/libflash | |
parent | 8dbf516ecf07e708c820df1b5a4e32d24a11e7d9 (diff) | |
download | freebsd-ports-gnome-ccd3b94b1e2bf50df9bec0015567dd5fdd2a3a20.tar.gz freebsd-ports-gnome-ccd3b94b1e2bf50df9bec0015567dd5fdd2a3a20.tar.zst freebsd-ports-gnome-ccd3b94b1e2bf50df9bec0015567dd5fdd2a3a20.zip |
Fix build on CURRENT.
PR: ports/40606
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
Diffstat (limited to 'graphics/libflash')
-rw-r--r-- | graphics/libflash/files/patch-ai | 7 | ||||
-rw-r--r-- | graphics/libflash/files/patch-shape.cc | 10 |
2 files changed, 14 insertions, 3 deletions
diff --git a/graphics/libflash/files/patch-ai b/graphics/libflash/files/patch-ai index d9dd605804b7..70e02ad690c1 100644 --- a/graphics/libflash/files/patch-ai +++ b/graphics/libflash/files/patch-ai @@ -1,11 +1,12 @@ --- sound.cc.orig Thu Sep 2 00:10:03 1999 -+++ sound.cc Thu Oct 12 14:49:31 2000 -@@ -26,7 +26,11 @@ ++++ sound.cc Wed Jul 24 06:04:56 2002 +@@ -26,7 +26,12 @@ #include <fcntl.h> #include <sys/ioctl.h> #ifndef NOSOUND +#ifdef __FreeBSD__ -+#include <machine/soundcard.h> ++#include <sys/param.h> ++#include <sys/soundcard.h> +#else #include <linux/soundcard.h> +#endif diff --git a/graphics/libflash/files/patch-shape.cc b/graphics/libflash/files/patch-shape.cc new file mode 100644 index 000000000000..7e063c0084b1 --- /dev/null +++ b/graphics/libflash/files/patch-shape.cc @@ -0,0 +1,10 @@ +--- shape.cc.orig Fri Jul 12 07:55:33 2002 ++++ shape.cc Fri Jul 12 07:56:13 2002 +@@ -21,6 +21,7 @@ + // + + #include "swf.h" ++#include <math.h> + + #ifdef RCSID + static char *rcsid = "$Id: shape.cc,v 1.5 1999/09/10 13:08:52 ode Exp $"; |