www.digitalmars.com         C & C++   DMDScript  

c++.stl.port - STLport patch

reply "James W. Jennnings" <jwjenn mindspring.com> writes:
"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 ?
Feb 21 2003
parent reply Christof Meerwald <cmeerw web.de> writes:
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?
Feb 22 2003
parent reply "Jim Jennnings" <jwjenn mindspring.com> writes:
"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
Feb 22 2003
parent "Jim Jennnings" <jwjenn mindspring.com> writes:
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
Feb 22 2003