Bug 197813 - audio/ocp : doesn't configure with gcc-5, patch upstream
Summary: audio/ocp : doesn't configure with gcc-5, patch upstream
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-19 08:43 UTC by John Marino
Modified: 2015-02-21 06:58 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino freebsd_committer freebsd_triage 2015-02-19 08:43:28 UTC
The configure script of ocp checks GCC version, and if the major version is > 4, it breaks: "checking gcc version... configure: error: 5.0.0, bad"

Upstream fixed this on 9 Feb 2015:

http://sourceforge.net/p/opencubicplayer/code/ci/bceb98e168c76bd404734b63df92b198d0c0be45/

Can you apply the patch in order to fix build on gcc-5?
Or give me permission to to do it?


(I think there's a newer version 1.21 available (2011-11-17 so still old) but it obviously doesn't have the fix.  It might be worth updating to version 1.21 and then applying the patch)
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-19 08:43:28 UTC
Auto-assigned to maintainer ehaupt@FreeBSD.org
Comment 2 Emanuel Haupt freebsd_committer freebsd_triage 2015-02-19 10:29:04 UTC
I'm in contact with the author. There will soon be a new release. There is an ongoing, functional issue with the latest available version.
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2015-02-19 11:18:53 UTC
Meanwhile, feel free to commit the configure patch.
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-02-20 12:46:47 UTC
A commit references this bug:

Author: marino
Date: Fri Feb 20 12:46:28 UTC 2015
New revision: 379422
URL: https://svnweb.freebsd.org/changeset/ports/379422

Log:
  audio/ocp: Fix configure script to support gcc-5 (from upstream)

  PR:		197813
  Submitted by:	marino
  Approved by:	maintainer (ehaupt)

Changes:
  head/audio/ocp/files/patch-configure