[Tremor] #includes in ivorbisfile_example.c should point to tremor/*, not vorbis/*

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 1 10:34:38 PDT 2009


hey tremor folks--

I've been maintaining libvorbisidec (tremor) in debian for a while, to
make it easier for people to use an FPUless box (like the debian NSLU2)
as a music player.

One thing i've noticed is that the headers are placed by default (via
"make install") in $PREFIX/include/tremor/

But ivorbisfile_example.c seems to think that they're going to be placed
in $PREFIX/include/vorbis/

The following patch (applied at -p1) should make this example file build
correctly on a default install.  I've been shipping the example in
debian with this patch applied, and it seems to work fine for people.

Does anyone see a reason that this is wrong?  If not, could someone
apply it to svn?  I don't have access myself.

Regards,

	--dkg

--- libvorbisidec-1.0.2+svn15687.orig/ivorbisfile_example.c
+++ libvorbisidec-1.0.2+svn15687/ivorbisfile_example.c
@@ -21,8 +21,8 @@

 #include <stdio.h>
 #include <stdlib.h>
-#include <vorbis/ivorbiscodec.h>
-#include <vorbis/ivorbisfile.h>
+#include <tremor/ivorbiscodec.h>
+#include <tremor/ivorbisfile.h>

 #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */
 #include <io.h>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 890 bytes
Desc: OpenPGP digital signature
Url : http://lists.xiph.org/pipermail/tremor/attachments/20090401/80ed5f86/attachment.pgp 


More information about the Tremor mailing list