Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 15:44:42 +0400
From:      Alex Semenyaka <alexs@ratmir.ru>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        ports@freebsd.org
Subject:   Re: patch not applied - driving me crazy!
Message-ID:  <20030405114442.GA7623@snark.ratmir.ru>
In-Reply-To: <20030405101033.GA27489@k7.mavetju>
References:  <20030405101033.GA27489@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 05, 2003 at 08:10:33PM +1000, Edwin Groothuis wrote:
> This is driving me crazy, I have one (1) patch, created by myself
> with diff -u, happily stored in files/, cleanly detected by the
> ports-framework which refuses to be applied:
>     --------------------------
    ||--- src/ccmalloc.in.orig       Wed Jan 30 06:23:55 2002
    ||+++ src/ccmalloc.in    Sat Apr  5 02:05:19 2003
>     --------------------------
>     File to patch: ____

Did you play around with WRKSRC or PATCH_WRKSRC? I tried to reproduce the
problem with the simplest patch:

--- src/ccmalloc.in.orig        Sat Apr  5 15:34:27 2003
+++ src/ccmalloc.in     Fri Sep 13 13:23:55 2002
@@ -8,3 +8,3 @@
 # use 'gcc' alone.
-#
+
 COMPILERS=@COMPILERS@

...but it just applied without complaining:

===>  Patching for ccmalloc-0.4.0
===>  Applying FreeBSD patches for ccmalloc-0.4.0

For debugging you can try "make -n patch" first. If the reason is not still
clean I usually use something like "make -n patch | sh -x"

								SY, Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030405114442.GA7623>