- fix build on macppc
- we have isfinite() now ok brad
This commit is contained in:
parent
03cf188d2d
commit
750433f77a
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2008/07/25 20:25:59 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2008/08/20 01:44:44 jakemsr Exp $
|
||||
|
||||
COMMENT= free H264/AVC encoder
|
||||
|
||||
V= 20080713
|
||||
DISTNAME= x264-snapshot-${V}-2245
|
||||
PKGNAME= x264-${V}p0
|
||||
PKGNAME= x264-${V}p1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
13
multimedia/x264/patches/patch-common_osdep_h
Normal file
13
multimedia/x264/patches/patch-common_osdep_h
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-common_osdep_h,v 1.1 2008/08/20 01:44:44 jakemsr Exp $
|
||||
--- common/osdep.h.orig Tue Aug 19 17:24:38 2008
|
||||
+++ common/osdep.h Tue Aug 19 17:26:10 2008
|
||||
@@ -51,9 +51,6 @@
|
||||
#define X264_VERSION "" // no configure script for msvc
|
||||
#endif
|
||||
|
||||
-#ifdef SYS_OPENBSD
|
||||
-#define isfinite finite
|
||||
-#endif
|
||||
#if defined(_MSC_VER) || defined(SYS_SunOS) || defined(SYS_MACOSX)
|
||||
#define sqrtf sqrt
|
||||
#endif
|
12
multimedia/x264/patches/patch-common_ppc_deblock_c
Normal file
12
multimedia/x264/patches/patch-common_ppc_deblock_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-common_ppc_deblock_c,v 1.1 2008/08/20 01:44:44 jakemsr Exp $
|
||||
--- common/ppc/deblock.c.orig Tue Aug 19 16:00:18 2008
|
||||
+++ common/ppc/deblock.c Tue Aug 19 16:00:45 2008
|
||||
@@ -18,7 +18,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
|
||||
*****************************************************************************/
|
||||
|
||||
-#if defined SYS_LINUX
|
||||
+#if defined SYS_LINUX || defined SYS_OPENBSD
|
||||
#include <altivec.h>
|
||||
#endif
|
||||
|
12
multimedia/x264/patches/patch-common_ppc_predict_c
Normal file
12
multimedia/x264/patches/patch-common_ppc_predict_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-common_ppc_predict_c,v 1.1 2008/08/20 01:44:44 jakemsr Exp $
|
||||
--- common/ppc/predict.c.orig Tue Aug 19 16:02:22 2008
|
||||
+++ common/ppc/predict.c Tue Aug 19 17:13:49 2008
|
||||
@@ -18,7 +18,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
|
||||
*****************************************************************************/
|
||||
|
||||
-#ifdef SYS_LINUX
|
||||
+#if defined SYS_LINUX || defined SYS_OPENBSD
|
||||
#include <altivec.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user