[PATCH] audio/libsndfile: fix pedantic bug

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Apr 12 15:25:15 UTC 2010


>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] audio/libsndfile: fix pedantic bug
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.0-RELEASE i386
>Environment:
System: FreeBSD hades.panopticon 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Tue Nov 24 22:31:59 MSK 2009
>Description:
- Fix style bug, which prevents building projects that #include libsndfile header build -pedantic, namely devel/sfml (http://pointyhat.freebsd.org/errorlogs/sparc64-errorlogs/e.8.20100411175117/sfml-1.5_4.log)

Added file(s):
- files/patch-src-sndfile.h.in

Port maintainer (multimedia at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- libsndfile-1.0.21_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/audio/libsndfile/Makefile,v
retrieving revision 1.46
diff -u -u -r1.46 Makefile
--- Makefile	10 Apr 2010 13:28:52 -0000	1.46
+++ Makefile	12 Apr 2010 15:20:42 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	libsndfile
 PORTVERSION=	1.0.21
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://www.mega-nerd.com/libsndfile/files/
 
Index: files/patch-src-sndfile.h.in
===================================================================
RCS file: files/patch-src-sndfile.h.in
diff -N files/patch-src-sndfile.h.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src-sndfile.h.in	12 Apr 2010 15:20:55 -0000
@@ -0,0 +1,11 @@
+--- src/sndfile.h.in.orig	2009-12-10 21:49:31.000000000 +0300
++++ src/sndfile.h.in	2010-04-11 15:10:53.000000000 +0400
+@@ -294,7 +294,7 @@
+ 	SF_CHANNEL_MAP_AMBISONIC_B_Y,
+ 	SF_CHANNEL_MAP_AMBISONIC_B_Z,
+ 
+-	SF_CHANNEL_MAP_MAX,
++	SF_CHANNEL_MAP_MAX
+ } ;
+ 
+ 
--- libsndfile-1.0.21_1.patch ends here ---



More information about the freebsd-multimedia mailing list