Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2004 14:57:31 +0100
From:      "Arjan van Leeuwen" <avleeuwen@piwebs.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61475: [PATCH] syntax error in ID3lib include
Message-ID:  <1074347851@vincent.piwebs.com>
Resent-Message-ID: <200401171400.i0HE0asN072782@freefall.freebsd.org>

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

>Number:         61475
>Category:       ports
>Synopsis:       [PATCH] syntax error in ID3lib include
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 17 06:00:35 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van Leeuwen
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD vincent.piwebs.com 5.2-CURRENT FreeBSD 5.2-CURRENT #9: Tue Jan 13 23:01:01 CET 2004     root@vincent.piwebs.com:/usr/obj/usr/src/sys/AMD760 i386


>Description:


One of the includes of the id3lib library, include/globals.h, has a syntax error on line 484 that is seen as an error by gcc on 5.2-RELEASE. It can be resolved by deleting the last comma on that line. Patch (to be placed in files/patch-globals.h) is included.


>How-To-Repeat:


Build something that uses id3lib.


>Fix:


--- patch-globals.h begins here ---
--- include/id3/globals.h.orig	Sat Jan 17 14:51:39 2004
+++ include/id3/globals.h	Sat Jan 17 14:51:54 2004
@@ -480,7 +480,7 @@
   MP3FREQUENCIES_24000HZ = 24000,
   MP3FREQUENCIES_32000HZ = 32000,
   MP3FREQUENCIES_48000HZ = 48000,
-  MP3FREQUENCIES_44100HZ = 44100,
+  MP3FREQUENCIES_44100HZ = 44100
 };
 
 ID3_ENUM(Mp3_ChannelMode)
--- patch-globals.h ends here ---



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



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