Displaying 20 results from an estimated 600 matches similar to: "[PATCH] Fix compile with cygwin"
2013 Apr 07
0
flac 1.3.0pre3 pre-release
On 2.4.2013 12:57, Erik de Castro Lopo wrote:
> I noticed compat.h patch didn't make it into git. I know it may not be
> perfect patch but unistd.h is in two different #ifdef checks. First one
> is fine when it's excluded on _WIN32 but second check gives is for
> everyone if __CYGWIN__ or __EMX__ isn't defined. That has to be a mistake.
> Someone with access to those
2000 Dec 15
2
Ports
On Thu, 14 Dec 2000 10:06:39 +1100, Michael Smith wrote:
>>I've done a port for OS/2 using Watcom C++, including a simple command line
>>player based on vorbisfile_example.c, which can be downloaded from
>>http://silk.apana.org.au/utils.html
>>It'd be nice if my changes could be commited to CVS, should I just post
>>patches here?
>
>Yes, unless
2019 Aug 09
0
[PATCH] Switch to utimensat for newer POSIX versions
Some libcs like uClibc-ng can optionally disable deprecated functions.
utime is one of them. When done so, both the header and the function go
missing.
This fixes flac_utime to work in such a situation.
---
include/share/compat.h | 10 +++++++++-
src/libFLAC/metadata_iterators.c | 9 +++++++--
src/share/grabbag/file.c | 9 +++++++--
3 files changed, 23 insertions(+), 5
2004 Sep 10
3
Cygwin patch
Building flac 1.0.3 under the latest cygwin craps out in
src/libFLAC/file_decode.c and src/flac/file.c for _O_BINARY
not being defined. It appears that #include <io.h> is not
sufficient to pull in this macro; you need to #include
<fcntl.h>.
BTW, nice test suite! Talk about exhaustive.
If anyone is interested in my Cygwin binaries (no Ogg
support), I can provide an encap
2004 Aug 06
1
some portability fixes ...
i don't want to deal with CVS, so i'll just post some minor fixes along
to explanations for your amusement on this list ...
I. cygwin compilability
cygwin doesn't yet handle threads that is compatible with icecast, but
thankfully icecast supports win32 native threads. however, cygwin's
preprocessor "#define"'s makes icecast confuse whether it should behave
2013 Apr 02
2
flac 1.3.0pre3 pre-release
Janne Hyv?rinen wrote:
> Surprisingly flac_mac had mistakenly gotten extra parameters for safe
> string functions requiring further patching.
> And here's patches for the changes in git for flactimer.
Applied, thanks.
> I noticed compat.h patch didn't make it into git. I know it may not be
> perfect patch but unistd.h is in two different #ifdef checks. First one
>
2001 Apr 02
1
[PATCH]: scp could hang in Cygwin
Hi,
attached is a patch which solves the following problem:
Sometimes scp could hang in Cygwin when used as remote end using
the -t option. This is due to a binmode/textmode problem which
could be raised by the login shell which is used by the user and
it's setting of textmode on stdin. The patch solves that problem
by explicitly setting binmode on stdin.
Besides solving the hanging
2001 Feb 12
1
Little Bug under Win32
Hi
I found a small Bug when compiling OpenSSH under Win32 using Cygwin.
When you use SSH as a interactive Shell everthing looks normal but when
you try to transfer binary data via SSH you will get only garbage.
Example:
ssh -l root -i ./.ssh/identity server1 cat /tmp/test.tar.gz >
c:\test.tar.gz
The problem is that stdout is opend as Text-File so every LF which
2008 Jan 11
1
Patch for OS/2 STDIN/STDOUT
Hi,
to make in/output on STDIN/STDOUT work on OS/2 this small patch is needed:
---cut---
diff -ruN o:src/speexdec.c src/speexdec.c
--- o:src/speexdec.c 2007-12-08 05:01:08.000000000 +0100
+++ src/speexdec.c 2008-01-12 00:48:00.000000000 +0100
@@ -231,6 +231,8 @@
{
#if defined WIN32 || defined _WIN32
_setmode(_fileno(stdout), _O_BINARY);
+#elif defined OS2
+
2002 Feb 20
2
[PATCH] rsync on cygwin - textmode config files
I've been running rsync-2.4.2 with an old patch of mine for some time for
backup purposes. Due to the recent remote bug, I thought it was time to
upgrade, even if the host was behind a firewall.
So I dug up the old patch (2.5.2 version attached), that I think I sent ages
ago to this list as well. It does the following:
(1) Firstly, the only sensible way to run something as
2010 Nov 19
3
File Offsets for SCP (patch)
I don't know if anyone would be interested in this but I'm including a
patch to allow for offsets when transferring files with SCP.
It's pretty simple and assumes the user knows what they are doing (for
example, if transferring with a wild card the offset would apply to all
files). -A is the number of bytes offset from the beginning of the
files. -Z is the number of bytes inset
2001 Jan 31
1
Syntax error....
You might want to fix this:
diff -x CVS -uwrN ../OggVorbis.clean/vorbis-tools/oggenc/platform.c ./vorbis-tools/oggenc/platform.c
--- ../OggVorbis.clean/vorbis-tools/oggenc/platform.c Thu Feb 1 01:25:36 2001
+++ ./vorbis-tools/oggenc/platform.c Thu Feb 1 01:23:08 2001
@@ -52,7 +58,7 @@
}
#endif
-#ifdef __WATCOMC__ || __BORLANDC__
+#if defined(__WATCOMC__) || defined(__BORLANDC__)
void
2017 Apr 07
0
Fwd: [Vorbis-dev] Zero length reported.
Hello - I send this to the vorbis-dev list yesterday, but I’m working if it would not have been better targeted at this list.
Sorry for the spam if you are on both :)
> Begin forwarded message:
>
> From: Jim Credland <jim at credland.net>
> Subject: [Vorbis-dev] Zero length reported.
> Date: 6 April 2017 at 15:43:18 BST
> To: vorbis-dev at xiph.org
> Cc: Maciej Dudek
2017 Apr 06
2
Zero length reported.
Hello - I have two files which play back in VLC correctly.
They were encoded using this command:
ffmpeg -y -i '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh9.wav' -acodec libvorbis '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh920170406-21128-146yyex.ogg
However ov_pcm_total reports a zero length for one of the two files. Is this a problem with my use of the
2017 Apr 06
2
Zero length reported.
Hello - I have two files which play back in VLC correctly.
They were encoded using this command:
ffmpeg -y -i '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh9.wav' -acodec libvorbis '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh920170406-21128-146yyex.ogg
However ov_pcm_total reports a zero length for one of the two files. Is this a problem with my use of the
2006 May 23
3
[LLVMdev] Binary output to cout on Windows
The solution (provided in Microsoft's documentation) is to add:
#include <cstdio>
#include <io.h>
#include <fcntl.h>
and run:
int result = _setmode( _fileno(stdin), _O_BINARY );
if( result == -1 )
{ std::cerr<<"Cannot set input mode to binary."<<std::endl; return 1;
}
result = _setmode( _fileno(stdout), _O_BINARY );
if( result == -1 )
{
2006 May 23
0
[LLVMdev] Binary output to cout on Windows
On Tue, 23 May 2006, Michael Smith wrote:
> The solution (provided in Microsoft's documentation) is to add:
> #include <cstdio>
> #include <io.h>
> #include <fcntl.h>
> and run:
> int result = _setmode( _fileno(stdin), _O_BINARY );
> if( result == -1 )
> { std::cerr<<"Cannot set input mode to binary."<<std::endl; return 1;
>
2006 May 23
1
[LLVMdev] Binary output to cout on Windows
Nothing really needs to be done on Unix, because to my knowledge Unix
doesn't differentiate between text and binary on stdin/stdout.
~Michael
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Reid Spencer
Sent: Tuesday, May 23, 2006 11:25 AM
To: LLVM Developers Mailing List
Subject: RE: [LLVMdev] Binary output to cout on
2017 Apr 11
1
[Vorbis-dev] Zero length reported.
Okay - so I stepped through the code slowly this morning making notes as I went.
And I can see what’s wrong. The last Ogg header of the troublesome file contains -1 as the granule position. The spec says this has a special meaning "A special value of '-1' (in two's complement) indicates that no packets finish on this page."
4F 67 67 53 00 04 FF FF FF FF FF FF FF FF 16 A2
2002 Feb 12
2
problem with Vorbis DLL's
Hi,
I was wondering if anyone out there had any success dynamically loading the
Vorbis libraries via LoadLibrary on Win32. I'm able to use things properly
by linking in the static libraries, but when I try to load them dynamically
(which I really need to do), I get an access violation when calling ov_open.
The code looks something like this...
typedef int