From nobody@FreeBSD.org  Sun Apr 20 11:55:16 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 546D7106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Apr 2008 11:55:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 41DA18FC22
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Apr 2008 11:55:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3KBsv0e027408
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Apr 2008 11:54:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m3KBsvLu027384;
	Sun, 20 Apr 2008 11:54:57 GMT
	(envelope-from nobody)
Message-Id: <200804201154.m3KBsvLu027384@www.freebsd.org>
Date: Sun, 20 Apr 2008 11:54:57 GMT
From: Ganael Laplanche <ganael.laplanche@martymac.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Port fix: audio/ccaudio - Make it build again
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 20 12:00:01 UTC 2008
>Closed-Date:    Mon Apr 28 19:09:05 UTC 2008
>Last-Modified:  Mon Apr 28 19:10:03 UTC 2008
>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:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Apr 28 19:09:04 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122929 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/122929: commit references a PR
Date: Mon, 28 Apr 2008 19:09:01 +0000 (UTC)

 miwi        2008-04-28 19:08:56 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/ccaudio        Makefile 
   Added files:
     audio/ccaudio/files  patch-src-audio.h 
   Log:
   - Unbreak and  Fix build
   
   PR:             122929
   Submitted by:   Ganael Laplanche <ganael.laplanche@martymac.com>
   
   Revision  Changes    Path
   1.23      +0 -2      ports/audio/ccaudio/Makefile
   1.1       +13 -0     ports/audio/ccaudio/files/patch-src-audio.h (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
