Actually, I have not tried applying mercurial patches manually, yet.
They are picked up by other xine developers and (hopefully) commited
to the xine mercurial repository.
The easisiest way for you, right now, is to install mercurial (hg) and
get the latest sources from the xine mercurial repository. This also
allows to update, whenever
a new mingw fix is commited. In the repository, all mingw32 problems I
encoutered so far are fixed, or will be fixed soon. Right now, there
are 6 mingw related patches, but there will be more.
For the patches not commited to xine's repo, you have to figure out
how to use hg to apply them, or wait. :)
the problem with ioctl request parameters is fixed in hg, but you can
also pass --disable-oss to work around that.
Please have a look my ChangeSets in the repository as they explain
further problems and solutions.
On 09.07.2008, at 15:50, jago jagoc wrote:
> Hi Matthias,
> i have some pb when i apply your patch, i cut and paste your email
> in a file Pthread.patch
> $cd ~/xine-lib-1.1.14
> $ patch -p 1 < Pthreads.patch
> patching file `configure.ac'
> patch: **** malformed patch at line 5: CC_PTHREAD_FLAGS(,
> [AC_MSG_ERROR([Pthread support is needed])])
> How can apply your patch?
> Mingw compiling
> I solve some pb in this way that is not elegant :),but i find an error
> $ export PTHREAD_CFLAGS="-I/c/MinGW/pthreads-win32/include/"
> $ export PTHREAD_LIBS= "-L/c/MinGW/pthreads-win32/lib/ -lpthreadGC2"
> $./configure --with-dxheaders=/c/Mingw/ --with-zlib-prefix=/c/
> ing sys/soundcard.h presence... no
> checking for sys/soundcard.h... no
> checking machine/soundcard.h usability... no
> checking machine/soundcard.h presence... no
> checking for machine/soundcard.h... no
> checking soundcard.h usability... no
> checking soundcard.h presence... no
> checking for soundcard.h... no
> checking whether SNDCTL_DSP_SETFRAGMENT is declared... no
> checking type of request parameter for ioctl()...
> configure: error: Unable to determine the type for ioctl() request
> Any suggestion?