Thread overview
STLport patch
Feb 22, 2003
James W. Jennnings
Feb 22, 2003
Christof Meerwald
Feb 22, 2003
Jim Jennnings
Feb 23, 2003
Jim Jennnings
February 22, 2003
"Christof Meerwald" <cmeerw@web.de> wrote in message news:b1b7nk$5di$1@digitaldaemon.com...
>
>(or get the updated STLport patch from http://cmeerw.org/prog/dm/stl.html)
>

Christof,
I have downloaded your patch to the STL-4.5.3 directory. It arrived as
  STLport-4.5.3-dm.diff.txt. I deleted the ".txt" and tried the command
    patch -sp1 <..\STLport-4.5.3-dm.diff
I got a "file not found" error.

Questions:
1) I have downloaded and unpacked STLport-4.5.3.tar.gz in C:\STLport-4.5.3
2) I have a file named STLport-4.5.3-dm.diff.txt. Is this the correct file?
   Where do I put it? In C:\dm or the root directory?
3) What is patch? The only patch program I have is a cygwin program. And it wants to know what file it should patch.
4) What directory should I be in when I enter:
      patch -sp1 <..\STLport-4.5.3-dm.diff ?




February 22, 2003
On Sat, 22 Feb 2003 02:00:35 -0500, James W. Jennnings wrote:
> I have downloaded your patch to the STL-4.5.3 directory. It arrived as
>   STLport-4.5.3-dm.diff.txt. I deleted the ".txt" and tried the command
>     patch -sp1 <..\STLport-4.5.3-dm.diff
> I got a "file not found" error.
> 
> Questions:
> 1) I have downloaded and unpacked STLport-4.5.3.tar.gz in C:\STLport-4.5.3
> 2) I have a file named STLport-4.5.3-dm.diff.txt. Is this the correct file?
>    Where do I put it? In C:\dm or the root directory?

Put it in C:\ and rename it to STLport-4.5.3-dm.diff


> 3) What is patch? The only patch program I have is a cygwin program. And it wants to know what file it should patch.

If in doubt, you can get "patch" from http://cmeerw.org/prog/dm/stl.html (http://cmeerw.org/files/dm/patch.exe)


> 4) What directory should I be in when I enter:
>       patch -sp1 <..\STLport-4.5.3-dm.diff ?

C:\STLport-4.5.3


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw@jabber.at mailto cmeerw at web.de

...and what have you contributed to the Net?
February 22, 2003
"Christof Meerwald" <cmeerw@web.de> wrote in message news:b37fag$mgb$1@digitaldaemon.com...
> On Sat, 22 Feb 2003 02:00:35 -0500, James W. Jennnings wrote:
> > I have downloaded your patch to the STL-4.5.3 directory. It arrived as
> >   STLport-4.5.3-dm.diff.txt. I deleted the ".txt" and tried the command
> >     patch -sp1 <..\STLport-4.5.3-dm.diff
> > I got a "file not found" error.
> >
> > Questions:
> > 1) I have downloaded and unpacked STLport-4.5.3.tar.gz in C:\STLport-4.5.3
> > 2) I have a file named STLport-4.5.3-dm.diff.txt. Is this the correct file?
> >    Where do I put it? In C:\dm or the root directory?
>
> Put it in C:\ and rename it to STLport-4.5.3-dm.diff
>
>
> > 3) What is patch? The only patch program I have is a cygwin program. And it wants to know what file it should patch.
>
> If in doubt, you can get "patch" from http://cmeerw.org/prog/dm/stl.html (http://cmeerw.org/files/dm/patch.exe)
>
>
> > 4) What directory should I be in when I enter:
> >       patch -sp1 <..\STLport-4.5.3-dm.diff ?
>
> C:\STLport-4.5.3
>
Christof,
Sorry for posting to you directly; clicked the wrong button. Thanks for the help.I have run patch, compiled the files, and copied
them into C:\dm\lib and C:\dm\stlport. I have also downloaded
multifile-replace and compiled it. When I try to run mfr with:

multifile-replace -s "__(in|out)([^a-zA-Z0-9_])" "__stl_\1\2" -s "#undef (__STLP_NOKEYWORDS_WORKAROUND)" "#define \1" -g stlport\\*
stlport\\stl\\* stlport\\config\\stl_dm.h

I get errors:   stlport\* : error reading file
                       stlport\stl\*: error reading file

Note: no error on stl_dm.h.
I have tried this with * and *.* in both C:\STLport-4.5.3, and in c:\dm with the same results.
What am I doing wrong?

Jim J




February 23, 2003
Christof,
    Forget this message. I got it to run. Had to switch over to my Bourne Again Shell, and change a few slashes around to do it. I
am OK now.
Jim


"Jim Jennnings" <jwjenn@mindspring.com> wrote in message news:b391ho$237v$1@digitaldaemon.com...
>
> "Christof Meerwald" <cmeerw@web.de> wrote in message news:b37fag$mgb$1@digitaldaemon.com...
> > On Sat, 22 Feb 2003 02:00:35 -0500, James W. Jennnings wrote:
> > > I have downloaded your patch to the STL-4.5.3 directory. It arrived as
> > >   STLport-4.5.3-dm.diff.txt. I deleted the ".txt" and tried the command
> > >     patch -sp1 <..\STLport-4.5.3-dm.diff
> > > I got a "file not found" error.
> > >
> > > Questions:
> > > 1) I have downloaded and unpacked STLport-4.5.3.tar.gz in C:\STLport-4.5.3
> > > 2) I have a file named STLport-4.5.3-dm.diff.txt. Is this the correct file?
> > >    Where do I put it? In C:\dm or the root directory?
> >
> > Put it in C:\ and rename it to STLport-4.5.3-dm.diff
> >
> >
> > > 3) What is patch? The only patch program I have is a cygwin program. And it wants to know what file it should patch.
> >
> > If in doubt, you can get "patch" from http://cmeerw.org/prog/dm/stl.html (http://cmeerw.org/files/dm/patch.exe)
> >
> >
> > > 4) What directory should I be in when I enter:
> > >       patch -sp1 <..\STLport-4.5.3-dm.diff ?
> >
> > C:\STLport-4.5.3
> >
> Christof,
> Sorry for posting to you directly; clicked the wrong button. Thanks for the help.I have run patch, compiled the files, and copied
> them into C:\dm\lib and C:\dm\stlport. I have also downloaded
> multifile-replace and compiled it. When I try to run mfr with:
>
> multifile-replace -s "__(in|out)([^a-zA-Z0-9_])" "__stl_\1\2" -s "#undef (__STLP_NOKEYWORDS_WORKAROUND)" "#define \1" -g
stlport\\*
> stlport\\stl\\* stlport\\config\\stl_dm.h
>
> I get errors:   stlport\* : error reading file
>                        stlport\stl\*: error reading file
>
> Note: no error on stl_dm.h.
> I have tried this with * and *.* in both C:\STLport-4.5.3, and in c:\dm with the same results.
> What am I doing wrong?
>
> Jim J
>