Question about 'patching' source code.
David Wall <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Message-ID | <[email protected]> |
I regularly 'build' GnuCOBOL compiler from source code - however it is supplied in 'tar' format. I use 'tar' to unpack it and then I need to make changes to certain files all the time. Is there any program in Mingw 6.3.0 that I can utilise to do these patches for me. I installed msys-patch and checked thru the documentation - but it processes a 'diff' file and that confused me no end. Maybe I'll have to investigate how to produce a 'diff' file. What I'd like to do is tell a patch program to: 1. Find this file 2. Find this text in the file 3. Replace found text with new text. It would be easier to do within Mingw - rather than exit and make the patches manually then continue with the build. In plain DOS I have a program that can do that sort of stuff but it won't run under Mingw. Sorry to ask such a stupid question. Thanks in anticipation. David Wall _______________________________________________ MinGW-Users mailing list [email protected] This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.osdn.me/mailman/listinfo/mingw-users Also: mailto:[email protected]?subject=unsubscribe