mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
gnu diff3: apply patch to committed src, rather than at build time
This appears to be a leftover from the time we used a less-capable VCS. Reviewed by: delphij MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D37368
This commit is contained in:
parent
032b04626b
commit
3a13b5ac83
@ -230,7 +230,6 @@ main (int argc, char **argv)
|
|||||||
initialize_main (&argc, &argv);
|
initialize_main (&argc, &argv);
|
||||||
program_name = argv[0];
|
program_name = argv[0];
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
|
||||||
textdomain (PACKAGE);
|
textdomain (PACKAGE);
|
||||||
c_stack_action (0);
|
c_stack_action (0);
|
||||||
|
|
||||||
|
@ -20,10 +20,4 @@ CFLAGS+=-DDEFAULT_DIFF_PROGRAM=\"/usr/bin/diff\"
|
|||||||
|
|
||||||
WARNS?= 0
|
WARNS?= 0
|
||||||
|
|
||||||
.for f in diff3.c
|
|
||||||
${f}: ${DIFFSRC}/${f} ${.CURDIR}/${f}.diff
|
|
||||||
patch -s -o ${.TARGET} < ${.CURDIR}/${f}.diff ${DIFFSRC}/${f}
|
|
||||||
CLEANFILES+= ${f}
|
|
||||||
.endfor
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
$FreeBSD$
|
|
||||||
--- diff3.c.orig 2004-04-12 15:44:35.000000000 +0800
|
|
||||||
+++ diff3.c 2007-06-15 14:49:23.903835977 +0800
|
|
||||||
@@ -230,7 +230,6 @@
|
|
||||||
initialize_main (&argc, &argv);
|
|
||||||
program_name = argv[0];
|
|
||||||
setlocale (LC_ALL, "");
|
|
||||||
- bindtextdomain (PACKAGE, LOCALEDIR);
|
|
||||||
textdomain (PACKAGE);
|
|
||||||
c_stack_action (0);
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user