aboutsummaryrefslogtreecommitdiff
path: root/lib/libmagic/config.h
Commit message (Collapse)AuthorAgeFilesLines
* libmagic: Unbreak for older FreeBSD releases.Xin LI2025-01-081-0/+5
| | | | | | | | | | byteswap.h is introduced in FreeBSD 13.2 but was not available in earlier versions. In order to support upgrading from an earlier FreeBSD release we would need to tell the build system that fact. PR: bin/273736 Reported by: philip MFC after: 3 days
* MFV: file 5.46.Xin LI2024-12-081-63/+84
| | | | MFC after: 2 weeks
* Disable byteswap.h for now.Xin LI2023-09-121-1/+1
| | | | | | | Ideally we should be testing __FreeBSD_version (1400079) and/or BOOTSTRAPPING from an older version, but restore compatibility to older FreeBSD versions and macOS while we find out a better way to fix it.
* MFV: file 5.45.Xin LI2023-09-101-4/+25
| | | | MFC after: 3 days
* file: upgrade to 5.43.Xin LI2022-09-251-26/+82
| | | | MFC after: 3 days
* file: upgrade to 5.42.Xin LI2022-07-041-3/+18
| | | | MFC after: 2 weeks
* file: Fix cross-compilation on Darwin/macOSJose Luis Duran2022-01-071-0/+2
| | | | | | | | | Darwin/macOS does not have pipe2(2). Apply a similar guard as in f3d7ace4b235422e5ccff0315f2965ac935241d8 after 43a5ec4eb41567cc92586503212743d89686d78f. Pull Request: https://github.com/freebsd/freebsd-src/pull/574
* file: Turns out we need xlocal.h protectionWarner Losh2022-01-041-0/+2
| | | | | | | | | | | | | | It turns out that we still need xlocal.h protection for when we're cross building on Linux. Linux doesn't have this file, but os/x does. Before, we'd assume we didn't have it, like old FreeBSD, when cross compiling. After the latest update, all that code was removed so cross compiling needs to be handled separaetly. Do so by defining HAVE_XLOCALE_H only when we're not building on linux. This allows us to build the mkmagic build tool needed to build file(1). Sponsored by: Netflix Reviewed by: jrtc27 Differential Revision: https://reviews.freebsd.org/D33741
* file: upgrade to 5.41.Xin LI2022-01-041-3/+6
| | | | MFC after: 2 weeks
* libmagic: Remove support for older FreeBSD where xlocale was not available.Xin LI2022-01-031-18/+18
| | | | | | | | | | The MINIMUM_SUPPORTED_OSREL is 1002501 (FreeBSD 10.3), and xlocale is supported there. While I'm there, explicitly use config.h generated with --disable-bzlib --disable-xzlib instead of deleting them manually. MFC after: 2 weeks
* MFV r362254: file 5.39.Xin LI2020-06-171-3/+3
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=362258
* MFV r357712: file 5.38.Xin LI2020-02-111-8/+4
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=357757
* MFV r354582: file 5.37.Xin LI2019-11-101-24/+12
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=354595
* MFV r323678: file 5.32Gordon Tetlow2017-09-171-3/+3
| | | | | | | | | Approved by: emaste (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D12400 Notes: svn path=/head/; revision=323683
* MFV r308392: file 5.29.Xin LI2016-11-071-3/+3
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=308420
* MFV r302218: file 5.28.Xin LI2016-06-271-3/+6
| | | | | | | | | Relnotes: yes MFC after: 2 weeks Approved by: re (gjb) Notes: svn path=/head/; revision=302221
* MFV r299716: file 5.27Xin LI2016-05-141-3/+3
| | | | | | | | MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=299736
* MFV r298178:Xin LI2016-04-181-3/+6
| | | | | | | | | | Update file to 5.26. MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=298192
* MFV r288140: update file to 5.25.Xin LI2015-09-231-3/+3
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=288143
* MFV r287451 + 287452: file 5.24 + fix for bin/181436.Xin LI2015-09-041-3/+3
| | | | | | | | PR: 181436 MFC after: 2 weeks Notes: svn path=/head/; revision=287453
* MFV r284234:Xin LI2015-06-101-3/+15
| | | | | | | | | Update file to 5.23. MFC after: 2 weeks Notes: svn path=/head/; revision=284237
* Since the merge of file 5.21 in r276415 and r276416, stable/9 andDimitry Andric2015-01-131-0/+16
| | | | | | | | | | | | | | | | | | | | stable/10 cannot be built from FreeBSD 8.x. This is because the build-tools stage requires libmagic, but lib/libmagic/config.h was generated on head, and it now enables using the xlocale.h APIs, which are not supported on 8.x (and on 9.x before __FreeBSD_version 900506). See also the start of this thread on -stable: https://lists.freebsd.org/pipermail/freebsd-stable/2015-January/081521.html To fix this, conditionalize the use of xlocale.h APIs to make bootstrapping from older FreeBSD versions work correctly. Reviewed by: delphij MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D1518 Notes: svn path=/head/; revision=277147
* MFV r276568:Xin LI2015-01-021-3/+3
| | | | | | | | | Update file to 5.22. MFC after: 2 weeks Notes: svn path=/head/; revision=276577
* MFV r275696: file 5.21.Xin LI2014-12-111-3/+18
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=275698
* MFV r267843: update file/libmagic to 5.19.Xin LI2014-06-261-56/+120
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=267897
* r235638 is not the clean way to add support for building on ancient FreeBSDDavid E. O'Brien2012-09-111-2/+0
| | | | | | | | | | | versions. Instead use Imp's good work on "legacy" and follow the outcome of the previous TRB discussions on this topic. Now use the libc getline() if it exists, and only where it doesn't create a bootstraping version. Notes: svn path=/head/; revision=240377
* Don't depend on getline being on the build machine. That'sMarcel Moolenaar2012-05-191-0/+2
| | | | | | | not the case for FreeBSD 7.x machines. Notes: svn path=/head/; revision=235638
* Update file(1) to version 5.11.David E. O'Brien2012-04-191-12/+66
| | | | Notes: svn path=/head/; revision=234449
* Update to a config.h created by a file 5.03 configure script. This causesMarius Strobl2010-05-201-38/+57
| | | | | | | | | | | | | file.1 to contain the correct version number and SIZEOF_LONG_LONG to be defined as appropriate, which is crucial for 64-bit big-endian ELF files to be handled correctly on big-endian systems. PR: 146387 Reviewed by: delphij MFC after: 3 days Notes: svn path=/head/; revision=208341
* Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.David E. O'Brien2009-05-041-33/+47
| | | | Notes: svn path=/head/; revision=191771
* Add strndup(3) prototype to string.h.Konstantin Belousov2008-12-081-1/+1
| | | | | | | | | | | | | | This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit. No objections from: kan Notes: svn path=/head/; revision=185777
* Update for the 'file' 4.23 import.David E. O'Brien2008-01-131-4/+23
| | | | Notes: svn path=/head/; revision=175299
* FreeBSD has <limits.h>.David E. O'Brien2007-05-241-0/+3
| | | | Notes: svn path=/head/; revision=169967
* Update for the 'file' 4.21 import.David E. O'Brien2007-05-241-1/+1
| | | | Notes: svn path=/head/; revision=169965
* Update for the 'file' 4.19 import.David E. O'Brien2007-05-241-1/+10
| | | | Notes: svn path=/head/; revision=169946
* Update for the 'file' 4.17 import.David E. O'Brien2006-06-191-54/+48
| | | | Notes: svn path=/head/; revision=159769
* Catch up with file 4.12 import.David E. O'Brien2004-12-281-2/+2
| | | | Notes: svn path=/head/; revision=139371
* Bmake the library containing and processing the magic.David E. O'Brien2004-08-091-0/+215
Notes: svn path=/head/; revision=133362