summaryrefslogtreecommitdiffstats
path: root/package/argp-standalone
Commit message (Collapse)AuthorAgeFilesLines
* argp-standalone: fix build with gcc 7.xMatt Weber2017-11-012-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | Back in commit a662ff7e79630ca0875dd8529fe54db27a275007 ("package/argp-standalone: Fix build with c99 compilers"), we fixed the build of argp-standalone with compilers defaulting to C99 inline semantics, i.e starting from gcc 5.x. This was done as part of a patch that used "inline" instead of "extern inline". However, using "inline" once again broke the build with gcc 7.x. To fix this, revert back to using just "extern inline" (hence removing a patch of patch 0003-fix_build_with_c99_compilers.patch) and instead use -fgnu89-inline in the CFLAGS. See https://gcc.gnu.org/gcc-5/porting_to.html for more details. Fixes: http://autobuild.buildroot.net/results/a9cedc54829b7bd2dd7ae6ff2bd6c6db242f1c35/ Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> [Thomas: also drop the patch of 0003-fix_build_with_c99_compilers.patch that is no longer needed.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: use SPDX short identifier for LGPLv2/LGPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2/LGPLv2+ is LGPL-2.0/LGPL-2.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2(\+)?/LGPL-2.0\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/argp-standalone: Fix build with c99 compilersVicente Bergas2016-01-141-0/+80
| | | | | | | | | Add patch from: http://review.gluster.org/6034 Signed-off-by: Vicente Bergas <vicencb@gmail.com> Tested-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/argp-standalone: is useless for (e)glibc toolchainsRomain Naour2015-05-031-0/+2
| | | | | | | | | | | | According to Thomas's remark [1], (e)glibc toolchains provide it's own argp.h version. Also, it appears that argp.h from glibc is more up to date should be preferred to argp-standalone one. [1] http://lists.busybox.net/pipermail/buildroot/2015-May/127511.html Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* argp-standalone: fix build issue caused by UCHAR_MAX definitionThomas Petazzoni2015-05-011-7/+17
| | | | | | | | | | | | | The issue was simply that the patch from Max Filippov forgot to include <limits.h> to get the definition of UCHAR_MAX. Fixes: http://autobuild.buildroot.org/results/bd1/bd120ada4830fda3db96da945513d4f6f7b2d419/ and lots of similar build failures. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* argp-standalone: restrict value range passed to isprint functionMax Filippov2015-05-011-0/+35
| | | | | | | | | | | | | | | | | | According to C standards isprint argument shall be representable as an unsigned char or be equal to EOF, otherwise the behaviour is undefined. Passing arbitrary ints leads to segfault in nm program from elfutils. Restrict isprint argument range to values representable by unsigned char. Note: a similar change was done to the internal argp implementation of glibc in commit https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=9055724a92433ffa4c36f93d918ee1b3dfa1d6f7. [Thomas: add a reference to the corresponding glibc fix.] Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* argp-standalone: Add hash fileAndré Hentschel2015-03-131-0/+2
| | | | | Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* argp-standalone: add license informationThomas Petazzoni2013-03-241-0/+1
| | | | | | | | There is unfortunately no license file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* argp-standlone: build position independent codeThomas Petazzoni2013-01-071-0/+3
| | | | | | | | | Even though argp-standalone is built as a static library, it might get linked in a shared library, so we must built it as position-independent code. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* argp-standalone: new packageGustavo Zacarias2010-11-053-0/+106
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud