Bug 193879 - [patch] multimedia/libcec fails to build on armv6
Summary: [patch] multimedia/libcec fails to build on armv6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: Sean Bruno
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 17:40 UTC by Mikael Urankar
Modified: 2014-10-29 22:06 UTC (History)
3 users (show)

See Also:
mikael: maintainer-feedback? (manuel.creach)


Attachments
Makefile patch (439 bytes, patch)
2014-09-23 17:40 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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