45d5fa7ce4
be used in a shared library). Applications linked against "libx264" can now actually be started without crashing immediately because the symbol "_x264_deblock_h_luma_altivec" couldn't be found. Bump package revision because of this fix.
45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
$NetBSD: patch-aa,v 1.5 2008/04/09 18:33:37 tron Exp $
|
|
|
|
--- configure.orig 2007-12-18 21:45:04.000000000 +0000
|
|
+++ configure 2008-04-09 19:10:28.000000000 +0100
|
|
@@ -193,6 +193,10 @@
|
|
SYS="FREEBSD"
|
|
LDFLAGS="$LDFLAGS -lm"
|
|
;;
|
|
+ dragonfly*)
|
|
+ SYS="DRAGONFLY"
|
|
+ LDFLAGS="$LDFLAGS -lm"
|
|
+ ;;
|
|
kfreebsd*-gnu)
|
|
SYS="FREEBSD"
|
|
CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
|
|
@@ -245,14 +249,12 @@
|
|
ASFLAGS="$ASFLAGS -f macho -DPREFIX"
|
|
elif [ "$SYS" = CYGWIN -o "$SYS" = MINGW ]; then
|
|
ASFLAGS="$ASFLAGS -f win32 -DPREFIX"
|
|
- elif [ "$SYS" = NETBSD ]; then
|
|
- ASFLAGS="$ASFLAGS -f aoutb"
|
|
else
|
|
ASFLAGS="$ASFLAGS -f elf"
|
|
fi
|
|
as_check || AS="nasm"
|
|
;;
|
|
- x86_64)
|
|
+ x86_64|amd64)
|
|
ARCH="X86_64"
|
|
AS="yasm"
|
|
if [ "$SYS" = MACOSX ];then
|
|
@@ -264,11 +266,11 @@
|
|
fi
|
|
;;
|
|
powerpc|powerpc64)
|
|
- ARCH="PPC"
|
|
if [ $SYS = MACOSX ]
|
|
then
|
|
- ALTIVECFLAGS="$ALTIVECFLAGS -faltivec -fastf -mcpu=G4"
|
|
+ ARCH="POWERPC"
|
|
else
|
|
+ ARCH="PPC"
|
|
ALTIVECFLAGS="$ALTIVECFLAGS -maltivec -mabi=altivec"
|
|
fi
|
|
;;
|