[Samba] Printing patch

Uwe Lienig Uwe.Lienig at fif.mw.htw-dresden.de
Wed Aug 28 22:25:01 GMT 2002


Hi samba fellows,

I'm trying to patch my fresh source tree of samba-2.2.5 with (gnu)patch
following version
======================================
$ > patch --version
patch 2.5.4
Copyright 1984-1988 Larry Wall
Copyright 1989-1999 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

written by Larry Wall and Paul Eggert
$ >
======================================

While I'm in the base samba tree (this means where all the source doc ... and
the like subdirs are) the patch

patch -p 1 < ../ftp-files/patches/samba-2.2.5/samba-2.2.5-printing.patch

went fine.

But the others will not work for me. Do I need some other patch program or did I
miss one option to patch ?

The error message is
======================================
$  > patch -p 1 < ../ftp-files/patches/samba-2.2.5/Makefile.in.patch 
missing header for unified diff at line 7 of patch
can't find file to patch at input line 7
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|RCS file: /data/cvs/samba/source/Makefile.in,v
|retrieving revision 1.227.2.145
|retrieving revision 1.227.2.146
|diff -b -p -u -r1.227.2.145 -r1.227.2.146
|--- Makefile.in        2002/07/10 22:34:57     1.227.2.145
|+++ Makefile.in        2002/07/26 14:10:25     1.227.2.146
--------------------------
File to patch:
======================================

Thanks for help.

-- 
Uwe Lienig  | fon: (+49 351) 462 2780 | mailto:uwe.lienig at fif.mw.htw-dresden.de
            | fax: (+49 351) 462 3476 | http://www.fif.mw.htw-dresden.de
HTW Dresden | parcels: Gutzkowstr. 22 | letters: PF 12 07 01       
   -FiF-    |          01069 Dresden  |          01008 Dresden



More information about the samba mailing list