aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mkcsmapper
Commit message (Collapse)AuthorAgeFilesLines
* usr.bin: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-163-3/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* update external URLWolfram Schneider2022-02-051-1/+1
|
* Remove mkcsmapper_static and mkesdb_static from build-toolsAlex Richardson2021-08-021-0/+6
| | | | | | | Build them as part of the bootstrap-tools phase instead. Reviewed by: emaste (no objections) Differential Revision: https://reviews.freebsd.org/D28181
* mkcsmapper: Fix UBSan signed shift errorAlex Richardson2020-09-211-1/+1
| | | | | | | usr.bin/mkcsmapper/yacc.y:466:18: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Notes: svn path=/head/; revision=365970
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-273-0/+6
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Update URLs in usr.binEitan Adler2017-10-291-2/+2
| | | | | | | | | - http -> https - contents have moved locations - removal of URL if I could not find new location Notes: svn path=/head/; revision=325095
* Adopt SRCTOP in usr.binWarner Losh2017-03-122-5/+5
| | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* Revert the change from errx/strerror to errc to appease gcc 4.2Baptiste Daroussin2016-07-091-1/+1
| | | | Notes: svn path=/head/; revision=302481
* Sync usage between program and man page. Increase column width. [1]Baptiste Daroussin2016-07-082-13/+11
| | | | | | | | | | | Simplifay the usage() function Replace errx/strerror with errc Submitted by: wiz@NetBSD.org [1] Obtained from: NetBSD Notes: svn path=/head/; revision=302473
* Add RCS Id. Sort options in SYNOPSIS. Fix macro usage. Fix Dd.Baptiste Daroussin2016-07-081-5/+5
| | | | | | | | Submitted by: wiz@NetBSD.org Obtained from: NetBSD Notes: svn path=/head/; revision=302471
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-6/+0
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-011-0/+26
| | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* mdoc: sort SEE ALSO.Joel Dahl2014-12-261-2/+2
| | | | Notes: svn path=/head/; revision=276258
* use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* To avoid having to explicitly test COMPILER_TYPE for settingDimitry Andric2013-12-221-3/+1
| | | | | | | | | | | | | | | | | | clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC after: 1 week Notes: svn path=/head/; revision=259730
* Attempt to deal with a compile failure that shows up with gcc, whichPeter Wemm2013-07-031-0/+2
| | | | | | | | has -Werror on. Without this, yylex() is inconsistently or redundantly defined. Notes: svn path=/head/; revision=252582
* Prevent shadowing.Ed Schouten2013-05-253-5/+5
| | | | | | | | The name line_number seems to be used as a function parameter name for one of the Lex functions. Change the name to linenumber. Notes: svn path=/head/; revision=250984
* Let iconv build on -HEAD properly.Ed Schouten2013-05-231-0/+2
| | | | | | | | | - Add NO_WMISSING_VARIABLE_DECLARATIONS where we use Yacc/Lex. - Add variable declarations where possible. - Add missing static keyword. Notes: svn path=/head/; revision=250938
* For mkcsmapper, conditionalize gcc-specific compile flags.Dimitry Andric2012-11-141-2/+6
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=243035
* Ensure mkcsmapper and mkesdb compile with clang, if WITH_ICONV isDimitry Andric2012-09-111-0/+1
| | | | | | | | | | | | defined. Submitted by: zeising PR: bin/167481 MFC after: 3 days X-MFC-With: r238197 Notes: svn path=/head/; revision=240365
* Fix spellingEitan Adler2012-07-071-1/+1
| | | | | | | | | PR: bin/167480 Submitted by: zeising Approved by: cperciva Notes: svn path=/head/; revision=238197
* Fix world after byacc import:Baptiste Daroussin2012-05-221-1/+0
| | | | | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor) Notes: svn path=/head/; revision=235789
* [mdoc] Fixed .Dt call.Ruslan Ermilov2011-05-251-1/+1
| | | | Notes: svn path=/head/; revision=222286
* Add the BSD-licensed Citrus iconv to the base system with default offGabor Kovesdan2011-02-256-0/+984
setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009 Notes: svn path=/head/; revision=219019