The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c4e2333cb2a59e44004d824a1093d9bf1d9fe273

commit c4e2333cb2a59e44004d824a1093d9bf1d9fe273
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2023-09-25 14:55:43 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2023-09-25 14:55:43 +0000

    Update a few tools to not embed $FreeBSD$ in generated files
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D41959
---
 tools/test/iconv/tablegen/tablegen.c | 2 --
 tools/tools/drm/gen-drm_pciids       | 4 ----
 tools/tools/locale/tools/cldr2def.pl | 1 -
 3 files changed, 7 deletions(-)

diff --git a/tools/test/iconv/tablegen/tablegen.c 
b/tools/test/iconv/tablegen/tablegen.c
index 843f8f6cb135..ecc1c7fdb44d 100644
--- a/tools/test/iconv/tablegen/tablegen.c
+++ b/tools/test/iconv/tablegen/tablegen.c
@@ -254,7 +254,6 @@ main (int argc, char *argv[])
                if (dflag && iconvctl(cd, ICONV_SET_FALLBACKS, &fbs) != 0)
                        err(1, NULL);
                if (cflag) {
-                       printf("# $FreeBSD$\n\n");
                        printf("TYPE\t\tROWCOL\n");
                        printf("NAME\t\tUCS/%s\n", argv[0]);
                        printf("%s", citrus_common);
@@ -266,7 +265,6 @@ main (int argc, char *argv[])
                if (dflag && (iconvctl(cd, ICONV_SET_FALLBACKS, &fbs) != 0))
                        err(1, NULL);
                if (cflag) {
-                       printf("# $FreeBSD$\n\n");
                        printf("TYPE\t\tROWCOL\n");
                        printf("NAME\t\t%s/UCS\n", argv[0]);
                        printf("%s", citrus_common);
diff --git a/tools/tools/drm/gen-drm_pciids b/tools/tools/drm/gen-drm_pciids
index ecb8e3aef6e4..472c75cb80dc 100755
--- a/tools/tools/drm/gen-drm_pciids
+++ b/tools/tools/drm/gen-drm_pciids
@@ -156,10 +156,6 @@ foreach my $vendor_define (sort keys(%linux_pciids)) {
 
 print STDERR "\nWrite FreeBSD header to stdout...\n";
 print <<"EOF";
-/*
- * \$FreeBSD\$
- */
-
 /*
  * Generated by $progname from:
  *   o  previous FreeBSD's drm_pciids.h
diff --git a/tools/tools/locale/tools/cldr2def.pl 
b/tools/tools/locale/tools/cldr2def.pl
index 8e48f32f263c..e59e6d3b13a1 100755
--- a/tools/tools/locale/tools/cldr2def.pl
+++ b/tools/tools/locale/tools/cldr2def.pl
@@ -947,7 +947,6 @@ sub make_makefile {
        }
        open(FOUT, ">$TYPE.draft/Makefile");
        print FOUT <<EOF;
-# \$FreeBSD\$
 # Warning: Do not edit. This file is automatically generated from the
 # tools in /usr/src/tools/tools/locale.
 

Reply via email to