You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
850 B

Index: configure
--- configure.orig 2021-09-02 19:48:00.000000000 +0200
+++ configure 2021-09-02 19:48:08.591078000 +0200
@@ -392,7 +392,7 @@
opencl="yes"
vsx="auto"
-CFLAGS="$CFLAGS -Wall -I. -I\$(SRCPATH)"
+CFLAGS="$CFLAGS -I. -I\$(SRCPATH)"
CFLAGSSO="$CFLAGSSO"
CFLAGSCLI="$CFLAGSCLI"
LDFLAGS="$LDFLAGS"
@@ -764,7 +764,7 @@
ASFLAGS="$ASFLAGS -f elf32"
fi
;;
- x86_64)
+ x86_64 | amd64 )
ARCH="X86_64"
AS="${AS-nasm}"
AS_EXT=".asm"
Index: encoder/analyse.c
--- encoder/analyse.c.orig 2021-09-02 19:48:00.000000000 +0200
+++ encoder/analyse.c 2021-09-02 19:48:08.591551000 +0200
@@ -32,6 +32,10 @@
#include "analyse.h"
#include "rdo.c"
+#if defined(__FreeBSD__) && !defined(log2f)
+#define log2f(x) (logf((x)) / logf(2))
+#endif
+
typedef struct
{
x264_me_t me16x16;