patch not applied - driving me crazy!

Alex Semenyaka alexs at ratmir.ru
Sat Apr 5 03:44:47 PST 2003


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


More information about the freebsd-ports mailing list