summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive
Commit message (Collapse)AuthorAgeFilesLines
* libarchive: Include cm_zlib.h to get zlib used by CMakeBrad King2011-12-2212-12/+12
|
* libarchive: Build one static cmlibarchive for CMakeBrad King2011-12-221-21/+3
| | | | | CMake needs only a single static libarchive library and not a shared one. Call it cmlibarchive to avoid confusion.
* libarchive: Do not build subdirectories not in reduced snapshotBrad King2011-12-221-2/+0
| | | | | | Remove add_subdirectory() calls for directories not included in the reduced libarchive snapshot. Remove options that configure settings in the missing directories.
* Merge branch 'libarchive-upstream' into update-libarchiveBrad King2011-12-20148-0/+97189
| | | | | Add Utilities/cmlibarchive using upstream libarchive 3.0.0-r3950 snapshot.
* libarchive: Remove our copy to make room for new importBrad King2011-12-20227-95642/+0
|
* libarchive: Fix ssize_t detection with mingwrt 3.20Brad King2011-09-161-1/+1
| | | | | | | | This version of MinGW defines _SSIZE_T_ for ssize_t. This patch is based on upstream libarchive SVN commit 3649 (Fix build with mingwrt 3.20, 2011-08-27). Inspired-by: Tim Kientzle <kientzle@freebsd.org>
* libarchive: Define major/minor/makedev only where needed (#11648)Brad King2011-02-073-16/+11
| | | | | | | | | | | If neither MAJOR_IN_MKDEV or MAJOR_IN_SYSMACROS is defined then provide our own implementation of these macros locally. This complements the change in commit cf5ad183 (Fix major() check for LSB 4.0, 2011-01-12). This patch is based on upstream libarchive SVN commit 1553 (Shuffle the major/minor/makedev support a bit; this should work on both Windows and Haiku, 2009-10-31). Inspired-by: Tim Kientzle <kientzle@freebsd.org>
* Merge topic 'fix_osf_build'David Cole2010-11-093-4/+12
|\ | | | | | | | | | | 92c082b Add a fix for the inline keyword on the osf os. bd56626 Fixes for the OSF operating system build.
| * Add a fix for the inline keyword on the osf os.Bill Hoffman2010-09-101-1/+1
| |
| * Fixes for the OSF operating system build.Bill Hoffman2010-09-082-3/+11
| |
* | libarchive: Fix purposeful crashBrad King2010-09-101-1/+1
|/ | | | | | Dereferencing a 0-pointer is undefined behavior, not a deterministic crash. Use a 1-pointer instead. This also avoids a warning by Clang about the undefined behavior.
* libarchive: Remove SCHILY dev,ino,nlink attributes (#11176)Brad King2010-08-271-10/+0
| | | | | | At least one version of GNU tar (1.15.1 with Fedora patches) does not recognize these attributes and exits with error. Do not generate them. Patch from upstream libarchive svn r2563.
* Fix build on borland windows, by adding back typedef for pid_t.Bill Hoffman2010-05-061-2/+2
|
* Win64 fixes for mingw-w64 compilationRuben Van Boxem2010-05-051-1/+3
|
* Fix prototype to match header, for bug # 10543.Bill Hoffman2010-05-051-1/+1
|
* For HP, preprocessor if on multiple lines not allowed, make a long line.Bill Hoffman2010-05-041-2/+1
|
* Fixes for bug # 10543, build on older sunpro now works.Bill Hoffman2010-05-041-1/+3
|
* Remove another c++ comment from the c code.Bill Hoffman2010-04-281-1/+1
|
* Get rid of c++ style comments in C code.Bill Hoffman2010-04-274-16/+12
|
* libarchive: Remove unused STDC_HEADERS try_runBrad King2009-11-302-4/+0
| | | | | This was the only try_run() in libarchive, and the result was not used in the source code. We remove it to allow cross-compiling to work.
* libarchive: Include integer types very earlyBrad King2009-11-181-8/+8
| | | | | | | | In libarchive/archive_platform.h we should include <stdint.h> or <inttypes.h> immediately after "config.h" to define integer types referenced by configuration results. For example, on a non-conformant platform ssize_t might default to int64_t, so int64_t must be defined before ssize_t is used (and ssize_t is used in archive_windows.h).
* remove the last of the windows W4 warningsBill Hoffman2009-11-122-2/+4
|
* Remove a few more warningsBill Hoffman2009-11-121-2/+2
|
* libarchive: Borland provides umask, not _umaskBrad King2009-11-101-0/+2
|
* try to get rid of some warnings on hpuxBill Hoffman2009-11-082-6/+6
|
* remove a few more windows warningsBill Hoffman2009-11-081-1/+6
|
* Fix for mode_t with signed typesBill Hoffman2009-11-081-8/+8
|
* link in additional libraries that the configure step findsBill Hoffman2009-11-071-0/+1
|
* Fix hpux build on heartBill Hoffman2009-11-061-0/+3
|
* libarchive: Fix get(pw|gr)name_r commentBrad King2009-11-061-1/+1
| | | | | | The commit "libarchive: Define _XOPEN_SOURCE for get(pwu|grg)id_r" introduced a comment referring to get(pwu|grg)id_r in a source file that actually uses the functions get(pw|gr)name_r. We fix the comment.
* libarchive: Initialize passwd/group lookup resultBrad King2009-11-062-0/+4
| | | | | | | The "result" argument to functions get(pwu|grg)id_r and get(pw|gr)name_r does not appear in the signatures provided on older platforms. We set the pointer to the result memory in case the function ignores it, thus ensuring initialization.
* libarchive: Fix try-compile for SIZE_MAXBrad King2009-11-051-0/+3
| | | | | | This constant may be defined in one of a few headers. We teach the try-compile for it to test all the headers together instead of only one header.
* libarchive: Add try-compile for 'major'Brad King2009-11-051-4/+0
| | | | | | | The commit "Fix libarchive linker errors on SunOS for mkdev/major/minor" hard-coded #include lines for getting mkdev/major/minor on the Sun. Instead we add missing try-compile tests to make sure the proper headers get included through the standard mechanism.
* libarchive: Define _XOPEN_SOURCE for get(pwu|grg)id_rBrad King2009-11-052-20/+12
| | | | | | The commit "Fixed a few of the SunOS build errors in libarchive" changed the call to these functions to use the old signatures. Instead we now define _XOPEN_SOURCE to get the improved modern signatures.
* Fix linker errors for libarchive in AIX as well.Zach Mullen2009-11-051-1/+1
|
* Fix statement not reached warning for libarchive.Zach Mullen2009-11-051-1/+0
|
* Fix libarchive linker errors on SunOS for mkdev/major/minorZach Mullen2009-11-051-0/+4
|
* Fixed a few of the SunOS build errors in libarchive.Zach Mullen2009-11-052-4/+20
|
* libarchive: Use consistent function storage classBrad King2009-11-043-3/+3
| | | | Functions declared 'static' should be defined 'static' too.
* libarchive: Provide SetFilePointerEx for VS 6Brad King2009-11-041-0/+14
|
* libarchive: Fix unconfigured header logicBrad King2009-11-042-29/+30
| | | | | | | The commit "libarchive: Fix Borland integer constants" introduced use of HAVE_* configured macros into archive.h and archive_entry.h where they are not allowed. This commit replaces the logic with something that does not depend on the configured macros.
* libarchive: Fix wincrypt.h inclusion on VS 6Brad King2009-11-041-0/+4
| | | | | | The VS 6 version of wincrypt.h only works if _WIN32_WINNT >= 0x0400. We block its inclusion through windows.h by defining NOCRYPT, and then define _WIN32_WINNT and include it only when necessary.
* libarchive: Fix Borland integer constantsBrad King2009-11-045-4/+28
| | | | | | | Some versions of Borland provide <stdint.h>, so we use it when possible. However, the 64-bit signed and unsigned integer min/max constants cause overflow warnings from Borland itself! For these constants we fall back on our default definitions.
* libarchive: Disable Borland warningsBrad King2009-11-043-0/+15
| | | | | We disable warnings to silence them while making minimal changes to third-party code.
* libarchive: Disable MSVC warningsBrad King2009-11-041-0/+4
| | | | | We disable warnings to silence them while making minimal changes to third-party code.
* Fix for warning on dash8 that caused a build failure because of -WErrorBill Hoffman2009-11-041-2/+2
|
* remove makefiles as they cause the in source build test of cmake to failBill Hoffman2009-11-032-420/+0
|
* borland builds, but still has some link errorsBill Hoffman2009-11-027-4/+15
|
* Fixes for borland, compiles with lots of warnings, but compiles, might fix ↵Bill Hoffman2009-11-017-32/+61
| | | | vs70 again too.
* Fix for haikuBill Hoffman2009-10-312-0/+47
|