summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-03 07:16:43 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-03 07:16:43 +0000
commit4866d1844cb7823ad139132d8617efb93e8ad27d (patch)
treee60c0fd895fe8175fc8f5d8e017fa70ac2eda86a
parentDeploy USE_REINPLACE (diff)
Fix <sys/param.h> detection code. NOW, the optimized FreeBSD byteswap
can REALLY be used.
Notes
Notes: svn path=/head/; revision=69330
-rw-r--r--graphics/ffmpeg/files/patch-libavcodec::bswap.h2
-rw-r--r--multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h2
-rw-r--r--multimedia/ffmpeg/files/patch-libavcodec::bswap.h2
-rw-r--r--multimedia/ffmpeg045/files/patch-libavcodec::bswap.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/graphics/ffmpeg/files/patch-libavcodec::bswap.h b/graphics/ffmpeg/files/patch-libavcodec::bswap.h
index e0c419c1dc42..7205d7e7a87b 100644
--- a/graphics/ffmpeg/files/patch-libavcodec::bswap.h
+++ b/graphics/ffmpeg/files/patch-libavcodec::bswap.h
@@ -4,7 +4,7 @@
#include <byteswap.h>
#else
-+#if (defined(BSD) && (BSD >= 199103))
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
diff --git a/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h b/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h
index e0c419c1dc42..7205d7e7a87b 100644
--- a/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h
+++ b/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h
@@ -4,7 +4,7 @@
#include <byteswap.h>
#else
-+#if (defined(BSD) && (BSD >= 199103))
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
diff --git a/multimedia/ffmpeg/files/patch-libavcodec::bswap.h b/multimedia/ffmpeg/files/patch-libavcodec::bswap.h
index e0c419c1dc42..7205d7e7a87b 100644
--- a/multimedia/ffmpeg/files/patch-libavcodec::bswap.h
+++ b/multimedia/ffmpeg/files/patch-libavcodec::bswap.h
@@ -4,7 +4,7 @@
#include <byteswap.h>
#else
-+#if (defined(BSD) && (BSD >= 199103))
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
diff --git a/multimedia/ffmpeg045/files/patch-libavcodec::bswap.h b/multimedia/ffmpeg045/files/patch-libavcodec::bswap.h
index e0c419c1dc42..7205d7e7a87b 100644
--- a/multimedia/ffmpeg045/files/patch-libavcodec::bswap.h
+++ b/multimedia/ffmpeg045/files/patch-libavcodec::bswap.h
@@ -4,7 +4,7 @@
#include <byteswap.h>
#else
-+#if (defined(BSD) && (BSD >= 199103))
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+