I made file patch-zz-local-1.diff
and file I fill with the info
After that, I write
and then
the program shows me "failed to apply FreeBSD patch--zz--local-1.diff"
and file I fill with the info
Code:
diff -rup srca/racoon/localconf.c srcb/racoon/localconf.c
--- src/racoon/localconf.c 2012-01-29 21:17:41.000000000 +0000
+++ src/racoon/localconf.c 2012-01-29 21:19:09.000000000 +0000
@@ -207,7 +207,8 @@ getpsk(str, len)
if (*p == '\0')
continue; /* no 2nd parameter */
p--;
- if (strncmp(buf, str, len) == 0 && buf[len] == '\0') {
+ if (strcmp(buf, "*") == 0 ||
+ (strncmp(buf, str, len) == 0 && buf[len] == '\0')) {
p++;
keylen = 0;
for (q = p; *q != '\0' && *q != '\n'; q++)
After that, I write
make config-recursive
and then
make install clean
the program shows me "failed to apply FreeBSD patch--zz--local-1.diff"