delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/14/16:16:46

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: ANNOUNCE: libc patch site
Date: Tue, 14 Oct 1997 11:30:42 +0200
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 129
Message-ID: <34433BC2.71885E82@LSTM.Ruhr-UNI-Bochum.De>
NNTP-Posting-Host: c64.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

It is quite a hassle to keep libc up-to-date, 
keeping track of bugs, bugs that were fixed, and so
on. Also, there is a need to have a debuggable 
or a profiling libc. I have put a patched version
of libc on my ftp-server. You should _NOT_YET_ 
download it, as I am waiting for a bunch of patches from
ELi (he has a few days off). But you _CAN_SUBMIT_ patches 
for being incorporated. 
Here's the message file from 
ftp://ftp.lstm.ruhr-uni-bochum.de/pub/djgpp/patches:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
This is the unofficial home of the patched lib[cm].a for
DJGPP 2.01. It contains (well, will contain) the following files:

lib_cm.zip        : libc.a and libm.a, patched to whatever gets sent to
                    me. This is for those who do not want to build
                    the libraries themselves.
00index.txt       : A one line description of every patch file
ptfXXXX.zip       : Contains 
                      ptfXXXX.txt:  Description about the patch.
                      ptfXXXX.pat:  Source level patch file
                      foo.o      :  Objectfile with applied patch
                    The XXXX should ideally correspond to the bug
                    number in DJ bug tracking system, but this is
                    probably wishful thinking.

allptf.zip        : All ptfs in a single file.
libgp.zip         : libc_p.a and libc_q.a, for profiling and debugging
                    libc.

Applying a patch:
=================

For the lazy:
------------
Get lib_cm.zip, go to your djgpp subdirectory and unzip it. 
For the not so lazy:
Make a backup of lib/libc.a and lib/libm.a first.

For the less lazy:
------------------
Get the ptfs you want to install, extract the .o file
in your /djgpp/lib directory and say
 ar -svr libc.a newfile.o
to replace the old object in libc.a

For the hackers:
----------------
You'll need 
SIMTELNETMIRROR/gnu/djgpp/v2/djlsr201.zip
as a base line for applying source level patches. 

and install the sources under /djgpp/src.
unzip the required patchfile.
Type
 patch < ptfXXXX.pat
 makeall



Submitting a patch:
===================

Go to 
http://www.delorie.com/djgpp/bugs/

and create a bug report to obtain a bug number. 

 First, the patch should be tested and approved by at least 
two DJGPP gurus. I do not have the time to, and, even worse, hardly the
knowledge ;-)

Make a context diff against the old stock source. Put this into 
ptfXXXX.pat, where the XXXX is replaced by the bug number. 
The path should start relative to
/djgpp/src.

 If you are sure it works, make a zip file with the
patchfile, a short description and the objectfile. Add
a commentline to the zip file with "-z".

The comment _MUST_ start with "PTFxxxx:"

 Upload the file to
 ftp.lstm.ruhr-uni-bochum.de/incoming/djgpp

_AND_ send a mail to

 demmer AT lstm DOT ruhr-uni-bochum DOT de


WARNING:
========

I am by no means responsible for any damage caused by faulty
patches and or overwritten or damaged libraries caused by
any of the procedures outlined above. If in doubt, read the
info files for ar, patch, and diff. That's what they are for.

Tom
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Any comments, hints, and patches are appreciated. 

Once I have a reasonable number of patches, I'll update the
directory on an overnight basis (fingers crossed). I'll post
another announcement when I think this service is usable. 

If you want to mirror the directory, send me a PM to
agree on download times and adding a notice to the
message file. 

I hope this will make djgpp even better.

-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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