Bug 97131

Summary: [PATCH] multimedia/x264 does not compile on FreeBSD 4.x
Product: Ports & Packages Reporter: Sven Berkvens-Matthijsse <sven>
Component: Individual Port(s)Assignee: Michael Johnson <ahze>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sven Berkvens-Matthijsse 2006-05-11 12:50:15 UTC
	multimedia/x264 does not compile on FreeBSD 4.x.

Fix: Fix the Makefile using this patch:

Also, install a new patch in the files directory (patch-ratecontrol.c):



This should not break the build on any other system and will cause
	the port to work again on FreeBSD 4.x.--8eElFylzQrV2T0UxrTGzGXJVmYvFpFYZTISShR0xsTXhqXng
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig	Thu May 11 13:46:12 2006
+++ Makefile	Thu May 11 13:42:57 2006
@@ -51,6 +51,8 @@
 MAKE_ENV+=	ARCH_X86_64="1"
 .endif
 
+MAKE_ARGS+=	ARCH=${ARCH}
+
 .if defined(WITH_DEBUG)
 CONFIGURE_ARGS+=	--enable-debug
 .endif
How-To-Repeat: 	Try to install it.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-11 12:52:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Over to maintainer
Comment 2 Michael Johnson freebsd_committer freebsd_triage 2006-05-11 13:12:35 UTC
State Changed
From-To: open->closed

Committed, Thanks