www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/10/23/03:16:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Doug Kaufman <dkaufman AT rahul DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ANNOUNCE: SoX for DOS
Date: Mon, 23 Oct 2006 06:53:55 +0000 (UTC)
Organization: "a2i network"
Lines: 37
Message-ID: <ehhou3$kc1$1@blue.rahul.net>
References: <op DOT thtuwjm8fbdswm AT arachne> <ehhfr6$aq3$1 AT blue DOT rahul DOT net> <op DOT thu2vibbfbdswm AT arachne>
NNTP-Posting-Host: mauve.rahul.net
X-Trace: blue.rahul.net 1161586435 20865 192.160.13.69 (23 Oct 2006 06:53:55 GMT)
X-Complaints-To: support AT rahul DOT net
NNTP-Posting-Date: Mon, 23 Oct 2006 06:53:55 +0000 (UTC)
User-Agent: nn/6.6.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Florian Xaver" <wosrediinanatour AT aon DOT at> writes:

>Then I have an "old" version. I haven't used it from CVS, I used the  
>latest official release.
>Another Problem, I had no bash etc. (Compiled it unter DOS.) You are  
>right...

A number of unix programs which are set up for the
automake/autoconfigure mechanism compile with minor fixes under DJGPP,
even when there is no official port. You might consider installing bash,
so that you can use configure and its associated programs.

>Have you updated the cvs source code with following patch?

I hadn't submitted the patch, since I didn't understand about the
changes you made. I compared your source to the current cvs code and saw
a number of changes, but some were just changes in cvs since the version
you were using.

>> --- sox/src/stio.c.ori	2006-05-14 16:46:56.000000000 -0800
>> +++ sox/src/stio.c	2006-10-22 21:09:54.000000000 -0800
>> @@ -24,7 +24,7 @@
>>  #endif
>> /* Based from zlib's minigzip: */
>> -#if defined(WIN32) || defined(__NT__)
>> +#if defined(WIN32) || defined(__NT__) || defined(__DJGPP__)
>>  #  include <fcntl.h>
>>  #  include <io.h>
>>  #  define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)


I'll submit the patch for stio.c to the sox maintainer.
                                Doug

-- 
Doug Kaufman
Internet: dkaufman AT rahul DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019