tags 517464 +patch
thanks
The attatched patch makes xmms2 build in my sid chroot, I have not
tested if the resulting package works.
Only in xmms2-0.5DrLecter.new/debian: libxmmsclient++2.debhelper.log
Only in xmms2-0.5DrLecter.new/debian: libxmmsclient3.debhelper.log
diff -ur xmms2-0.5DrLecter/src/include/xmmsclient/xmmsclient++/helpers.h xmms2-0.5DrLecter.new/src/include/xmmsclient/xmmsclient++/helpers.h
--- xmms2-0.5DrLecter/src/include/xmmsclient/xmmsclient++/helpers.h 2008-06-15 17:31:38.000000000 +0000
+++ xmms2-0.5DrLecter.new/src/include/xmmsclient/xmmsclient++/helpers.h 2009-02-28 01:15:30.000000000 +0000
@@ -32,6 +32,7 @@
#include <string>
#include <list>
#include <vector>
+#include <limits.h>
namespace Xmms
{
diff -ur xmms2-0.5DrLecter/src/plugins/avcodec/avcodec.c xmms2-0.5DrLecter.new/src/plugins/avcodec/avcodec.c
--- xmms2-0.5DrLecter/src/plugins/avcodec/avcodec.c 2009-02-28 01:38:09.000000000 +0000
+++ xmms2-0.5DrLecter.new/src/plugins/avcodec/avcodec.c 2009-02-28 01:29:42.000000000 +0000
@@ -24,7 +24,7 @@
#include <glib.h>
#undef ABS
-#include "avcodec.h"
+#include "libavcodec/avcodec.h"
#define AVCODEC_BUFFER_SIZE 16384
@@ -173,7 +173,7 @@
data->codecctx->sample_rate = data->samplerate;
data->codecctx->channels = data->channels;
data->codecctx->bit_rate = data->bitrate;
- data->codecctx->bits_per_sample = data->samplebits;
+ data->codecctx->bits_per_coded_sample = data->samplebits;
data->codecctx->block_align = data->block_align;
data->codecctx->extradata = data->extradata;
data->codecctx->extradata_size = data->extradata_size;