[ci] Fix netbsd job to upgrade existing packages
[xapian.git] / xapian-maintainer-tools / c++stdcheaders
blob8f1e162726c488cfbaee846b65055c41a5c7b3e4
1 #!/usr/bin/perl -wpi
2 # Copyright (C) 2009 Olly Betts
4 # Copying and distribution of this file, with or without modification,
5 # are permitted in any medium without royalty provided the copyright
6 # notice and this notice are preserved.
8 # Run with a list of files to update, e.g. for the whole xapian-core tree:
9 # ./c++stdcheaders */*{,/*}.{h,cc}
11 s/^(#\s*include <)(assert|ctype|errno|float|limits|math|setjmp|signal|stdarg|stddef|stdint|stdio|stdlib|string|time)\.h>/$1c$2>/