Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (52m)  pkgsrc-2024Q1 (20d)  pkgsrc-2023Q4 (67d)  pkgsrc-2023Q2 (99d)  pkgsrc-2023Q3 (179d) 

2024-06-07 07:42:41 UTC Now

2012-01-03 01:18:46 UTC MAIN commitmail json YAML

Fix undefined behavior (promoted from a warning to an error in recent gcc)
by casting string objects to const char * before passing to printf.

While here, switch PKG_DESTDIR_SUPPORT from "destdir" to "user-destdir"
(no reason I can see for the former, it appears to date way back) and
add patch comments.

PKGREVISION -> 9, since with netbsd-5 and older -current the issue wasn't
fatal at compile time.

(dholland)