summaryrefslogtreecommitdiff
path: root/graphics/libflash
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-07-23 21:07:04 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-07-23 21:07:04 +0000
commit3e2499684e2c5fe99f249fc614f2712cad7e801e (patch)
tree06c7f4c039ef217995ca7ef951a349de0da2164b /graphics/libflash
parentChase a repack. (Documentation updates only) (diff)
Fix build on CURRENT.
PR: ports/40606 Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
Notes
Notes: svn path=/head/; revision=63451
Diffstat (limited to 'graphics/libflash')
-rw-r--r--graphics/libflash/files/patch-ai7
-rw-r--r--graphics/libflash/files/patch-shape.cc10
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 $";