pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/check-portability



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Mar  3 10:20:00 UTC 2021

Modified Files:
        pkgsrc/pkgtools/check-portability: Makefile
        pkgsrc/pkgtools/check-portability/files: check-portability.c

Log Message:
check-portability: Skip more irrelevant file extensions


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/pkgtools/check-portability/Makefile
cvs rdiff -u -r1.16 -r1.17 \
    pkgsrc/pkgtools/check-portability/files/check-portability.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/check-portability/Makefile
diff -u pkgsrc/pkgtools/check-portability/Makefile:1.10 pkgsrc/pkgtools/check-portability/Makefile:1.11
--- pkgsrc/pkgtools/check-portability/Makefile:1.10     Sat May 23 22:18:10 2020
+++ pkgsrc/pkgtools/check-portability/Makefile  Wed Mar  3 10:19:59 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2020/05/23 22:18:10 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2021/03/03 10:19:59 nia Exp $
 
-PKGNAME=       check-portability-20.1.1
+PKGNAME=       check-portability-20.1.2
 CATEGORIES=    pkgtools
 DISTFILES=     # none
 

Index: pkgsrc/pkgtools/check-portability/files/check-portability.c
diff -u pkgsrc/pkgtools/check-portability/files/check-portability.c:1.16 pkgsrc/pkgtools/check-portability/files/check-portability.c:1.17
--- pkgsrc/pkgtools/check-portability/files/check-portability.c:1.16    Sat May 23 22:18:11 2020
+++ pkgsrc/pkgtools/check-portability/files/check-portability.c Wed Mar  3 10:20:00 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: check-portability.c,v 1.16 2020/05/23 22:18:11 rillig Exp $ */
+/* $NetBSD: check-portability.c,v 1.17 2021/03/03 10:20:00 nia Exp $ */
 
 /*
  Copyright (c) 2020 Roland Illig
@@ -464,13 +464,20 @@ static bool
 is_irrelevant_extension(cstr ext)
 {
        return cstr_eq(ext, CSTR("bz2"))
+           || cstr_eq(ext, CSTR("bmp"))
            || cstr_eq(ext, CSTR("c"))
            || cstr_eq(ext, CSTR("cc"))
            || cstr_eq(ext, CSTR("cpp"))
            || cstr_eq(ext, CSTR("gz"))
+           || cstr_eq(ext, CSTR("html"))
+           || cstr_eq(ext, CSTR("js"))
            || cstr_eq(ext, CSTR("m4"))
+           || cstr_eq(ext, CSTR("otf"))
            || cstr_eq(ext, CSTR("pdf"))
+           || cstr_eq(ext, CSTR("png"))
            || cstr_eq(ext, CSTR("ps"))
+           || cstr_eq(ext, CSTR("svg"))
+           || cstr_eq(ext, CSTR("ttf"))
            || cstr_eq(ext, CSTR("xz"))
            || cstr_eq(ext, CSTR("zip"));
 }



Home | Main Index | Thread Index | Old Index