Bug 193879

Summary: [patch] multimedia/libcec fails to build on armv6
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Sean Bruno <sbruno>
Status: Closed FIXED    
Severity: Affects Only Me CC: manuel.creach, sbruno, sbruno
Priority: --- Flags: mikael: maintainer-feedback? (manuel.creach)
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
Makefile patch none

Description Mikael Urankar freebsd_committer freebsd_triage 2014-09-23 17:40:55 UTC
Created attachment 147605 [details]
Makefile patch

The attached patch fixes the build on armv6. I have tried to patch the autotools script to not avail (I don't understand the logic of vchiq detection in the configure/autotools scripts).
Since we don't have a vchiq port on FreeBSD, I've chosen to disable rpi detection in CONFIGURE_ARGS
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-23 17:40:55 UTC
Maintainer CC'd
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2014-09-28 08:20:52 UTC
I forgot to mention that I'm trying to solve this error:

In file included from adapter/AdapterFactory.cpp:47:
adapter/RPi/RPiCECAdapterCommunication.h:44:10: fatal error: 'interface/vmcs_host/vc_cecservice.h' file not found
#include <interface/vmcs_host/vc_cecservice.h>

The missing header is from the vchiq userland stuff found in raspberry-pi and we don't have a port of it in FreeBSD.
Comment 3 Sean Bruno freebsd_committer freebsd_triage 2014-10-06 15:14:03 UTC
looks good to me.  getting mentor approval for commits.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-10-29 22:02:06 UTC
A commit references this bug:

Author: sbruno
Date: Wed Oct 29 22:01:27 UTC 2014
New revision: 371713
URL: https://svnweb.freebsd.org/changeset/ports/371713

Log:
  Disable RPi specific code from build to allow armv6 pkg to be created.

  PR:		193879
  Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
  Reviewed by:	bdrewery (mentor)

Changes:
  head/multimedia/libcec/Makefile