Hi I'm tried to update samba I tried to apply the patch but i have this error patch -p1 < patch.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- | |diff -urN /usr/ports/net/samba35/Makefile samba35/Makefile |--- /usr/ports/net/samba35/Makefile 2011-02-24 20:32:01.000000000 -0500 |+++ samba35/Makefile 2011-06-01 19:06:28.000000000 -0400 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 6. Hunk #2 succeeded at 73. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urN /usr/ports/net/samba35/distinfo samba35/distinfo |--- /usr/ports/net/samba35/distinfo 2010-11-15 07:29:21.000000000 -0500 |+++ samba35/distinfo 2011-06-01 18:34:50.000000000 -0400 -------------------------- Patching file distinfo using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urN /usr/ports/net/samba35/files/sernet.patch samba35/files/sernet.patch |--- /usr/ports/net/samba35/files/sernet.patch 2010-10-25 22:41:58.000000000 -0400 |+++ samba35/files/sernet.patch 2011-06-01 18:43:00.000000000 -0400 -------------------------- Patching file files/sernet.patch using Plan A... Hunk #1 failed at 1. 1 out of 1 hunks failed--saving rejects to files/sernet.patch.rej Hmm... Ignoring the trailing garbage. done If I try to install samba i have this errors: ===> Applying extra patch /usr/ports/net/samba35/files/sernet.patch Ignoring previously applied (or reversed) patch. 2 out of 2 hunks ignored--saving rejects to source3/passdb/pdb_ldap.c.rej *** Error code 2 Stop in /usr/ports/net/samba35. *** Error code 1 Stop in /usr/ports/net/samba35.
we don't ship any patch, especially nothing which patches up things from /usr/ports/. This seems to be something that is related to your distribution.