Ini saya baru tau ya... bener atau ga -nya ga tau.... :p
Makefile.rej atau file yg berakhiran ".rej" itu adalah file yg script-nya ga
bisa di patch langsung ke file yg akan di patch.
Buka file Makefile.rej -nya, kemudian liat script yg depannya ada tanda "+"
lalu kopi dan taruh tepat dibawah script di file Makefile yang sama dengan
file Makefile.rej.
Contoh :

isi file asal.c.rej :
***************
*** 96,101 ****
  int bmfok = 0;
  stralloc bmf = {0};
  struct constmap mapbmf;

  void setup()
  {
--- 96,103 ----
  int bmfok = 0;
  stralloc bmf = {0};
  struct constmap mapbmf;
+ int sigsok = 0;  # Line ini yg dikopi
+ stralloc sigs = {0}; #Line ini yg dikopi

  void setup()
  {

Isi file asal.c sebelum di patch:
--snip-
int bmfok = 0;
stralloc bmf = {0};
struct constmap mapbmf;

void setup()
{
--snip--

Isi file asal.c setelah di patch:
--snip--
int bmfok = 0;
stralloc bmf = {0};
struct constmap mapbmf;
int sigsok = 0;
stralloc sigs = {0};

void setup()
{
--snip--

Nah kira-kira gitu...  Untuk file qmail-smtp.c.rej juga sama seperti itu.
Mudah-mudahan membantu.

-inong-



> Hai all,
>
> Saya baru saja mencoba utk mem-patch qmail di source dir dgn mfcheck, lalu
muncul error spt ini:
>
> patch -p1 < /root/qmail/patches/qmail-1.03-mfcheck.3.patch
> patching file Makefile
> Hunk #1 FAILED at 1536.
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
> patching file qmail-control.9
> patching file qmail-smtpd.8
> Hunk #1 succeeded at 119 (offset 22 lines).
> patching file qmail-smtpd.c
> Hunk #1 FAILED at 23.
> Hunk #2 succeeded at 56 (offset 4 lines).
> Hunk #3 succeeded at 126 (offset 10 lines).
> Hunk #4 succeeded at 220 (offset 4 lines).
> Hunk #5 succeeded at 284 (offset 16 lines).
> 1 out of 5 hunks FAILED -- saving rejects to file qmail-smtpd.c.rej
>
> Sebelumnya pernah berhasil tp setelah mempatch smtp-auth keluar error tsb.
> Saya sudah coba cari di arsip, ada kasus yang sama tp belum ada
solusinya.. Mungkin ada teman2 yg punya
> pengalaman spt saya yg bisa bantu.
>
> Terima Kasih
>
> --
> Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
> Arsip dan info di http://linux.or.id/milis.php
> FAQ milis http://linux.or.id/faq.php
>


-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php

Kirim email ke