[Exim] patch exiscan - FIX

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nigel Cass
Date:  
À: exim-users
CC: s.m.doyle
Sujet: [Exim] patch exiscan - FIX
All.

Thought I would post the fix to this problem to the list as it may save
someone a large amount of head scratching in the future.

It seems that the exiscan patch can not be applied to the exim source tree
using the native Solaris 9 patch program. Using a command line of patch -p1
< /<path>/exiscan-4.10-16.patch is unable to find the files it needs to patch.

However if you use the Solaris 9 gpatch program - command line gpatch -p1
< /<path>/exiscan-4.10-16.patch it works fine.

One to remember for Solaris users.

Nigel.

----- Forwarded message from Nigel Cass <N.Cass@???> -----
        From: Nigel Cass <N.Cass@???>
Reply-To: Nigel Cass <N.Cass@???>
 Subject: [Exim] Urgent Help required - patch exiscan
      To: exim-users@???


All.

<snip>
Having problems applying the exiscan patch to the exim source tree.

Am doing the following

tar xvzf exim-4.10.tar.gz
cd exim-4.10
cp /tmp/exiscan-4.10-16.patch .
patch -p1 < exiscan-4.10-16.patch

Basically it doesn't work and just asks me for a file to patch. As far as I
can see I'm doing nothing wrong. It just seems as if -p1 is not removing the
first component of the path names or something. Interestingly if I try to run
the patch from the directory above it attempts to run but fails each hunk as
it goes.

Has anyone seen this problem before ?

If so I would be INCREDIBLY grateful of a quick answer as I'm now tired and v.
confused over such a simple thing.

Solaris 9 btw if this may make any difference ?

TYIA.

--
Systems Engineer
University of Hull

--