Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2008 11:54:57 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122929: Port fix: audio/ccaudio - Make it build again
Message-ID:  <200804201154.m3KBsvLu027384@www.freebsd.org>
Resent-Message-ID: <200804201200.m3KC01oB070965@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122929
>Category:       ports
>Synopsis:       Port fix: audio/ccaudio - Make it build again
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 20 12:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #13: Sun Apr 20 10:56:35 CEST 2008     root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
Here is a small patch to make audio/ccaudio build again :
- define CCXX_CLASS_EXPORT to __EXPORT
- remove BROKEN flag
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN ccaudio.orig/Makefile ccaudio/Makefile
--- ccaudio.orig/Makefile	2008-04-20 13:27:58.779796749 +0200
+++ ccaudio/Makefile	2008-04-20 13:28:14.399510427 +0200
@@ -16,8 +16,6 @@
 
 LIB_DEPENDS=	ccgnu2:${PORTSDIR}/devel/commoncpp
 
-BROKEN=		fails to compile
-
 USE_AUTOTOOLS=	libtool:15
 USE_GNOME=	gnometarget
 GNU_CONFIGURE=	yes
diff -aurN ccaudio.orig/files/patch-src-audio.h ccaudio/files/patch-src-audio.h
--- ccaudio.orig/files/patch-src-audio.h	1970-01-01 01:00:00.000000000 +0100
+++ ccaudio/files/patch-src-audio.h	2008-04-20 13:47:49.554325076 +0200
@@ -0,0 +1,13 @@
+--- src/audio.h.orig	2008-04-20 13:44:11.457927908 +0200
++++ src/audio.h	2008-04-20 13:45:31.343228414 +0200
+@@ -53,6 +53,10 @@
+ namespace ost {
+ #endif
+ 
++#ifndef CCXX_CLASS_EXPORT
++#define CCXX_CLASS_EXPORT __EXPORT
++#endif
++
+ #define	AUDIO_SIGNED_LINEAR_RAW	1
+ #define	AUDIO_LINEAR_CONVERSION 1
+ #define	AUDIO_CODEC_MODULES	1


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804201154.m3KBsvLu027384>