| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
We are not developing libarchive so we do not care about warnings.
|
|
|
|
|
| |
The PGI compiler confuses parameter name "isoent" with "struct isoent".
Rename the parameter to "curent" to avoid confusion.
|
|
|
|
|
| |
Some Linux API versions do not perform this inclusion automatically,
so types like __u64 needed by the latter are not available.
|
|
|
|
|
|
|
| |
The HP-UX <wchar.h> header provides 'mbstate_t' in C89/C90 mode only if
_XOPEN_SOURCE is defined to exactly 500. Type 'mbstate_t' was
introduced in C89/C90 Normative Amendment 1, aka C94/C95, adding support
international character sets. It is part of C99 but not C89/C90.
|
|
|
|
|
| |
Clear CMAKE_REQUIRED_(INCLUDES|LIBRARIES) so that the rest of the checks
after this one do not try to link zlib.
|
|
|
|
|
| |
Do not set CMAKE_BUILD_TYPE to Debug. Use the configuration specified by
the user.
|
|
|
|
|
| |
Do not use the copyfile.h API if the header is not available.
The Mac SDK for older OS X versions does not provide it.
|
|
|
|
|
| |
Use the same pattern already used elsewhere in archive_read_disk_posix.c
for ST_NOATIME to use MNT_NOATIME only when defined.
|
|
|
|
|
|
| |
Configure the result as definition HAVE_STRUCT_STATVFS_F_IOSIZE and use
the member only if it exists. At least one platform (IRIX) provides
struct statvfs without this member.
|
|
|
|
|
| |
Use the same pattern already used elsewhere in archive_read_disk_posix.c
to use ST_NOATIME only when defined.
|
|
|
|
|
| |
When HAVE_MBRTOWC is true we declare an extra local variable. Move the
unused argument cast to the end of the invalid_mbs function.
|
|
|
|
| |
We are not developing libarchive so we do not care about warnings.
|
|
|
|
|
|
|
|
| |
VS 6 warns verbosely when WINVER >= 0x0500. Avoid defining WINVER and
_WIN32_WINNT to higher than 0x0400 on VS 6. Provide missing API
declarations in archive_windows.h when we do not get them from
<windows.h>. Provide GetVolumePathNameW because VS 6 does not declare
it regardless of the API version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At least one compiler (Borland) defines mode_t as just "short" which is
signed. This breaks code like
switch(archive_entry_filetype(e)) {
case AE_IFREG:
...
}
if AE_IFREG and other constants have a longer signed type (int) because
sign extension of the mode_t return type from archive_entry_filetype
changes its value. Avoid the problem by ensuring the type of the
constants matches mode_t.
This change was originally made in commit a73acfbe (Fix for mode_t with
signed types, 2009-11-07). Port it to the new libarchive snapshot.
|
|
|
|
|
| |
Require ZLIB but skip LZMA and XML support. Mark ZLIB and ICONV cache
variables advanced.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mangle the open_FILE symbols to avoid conflict with open_file:
Warning: public '_archive_read_open_file'
in module 'archive_read_open_filename.c' clashes with
prior module 'archive_read_open_file.c'
Warning: public '_archive_write_open_file'
in module 'archive_write_open_filename.c' clashes with
prior module 'archive_write_open_file.c'
This workaround should not go upstream because it will break when
mixing compilers.
|
|
|
|
| |
The LL suffix is not portable. Use an explicit cast instead.
|
|
|
|
|
| |
The Borland C++ 5.81 runtime library provides wcrtomb but only the
C++ header <cwchar> actually declares the API.
|
|
|
|
|
|
| |
Restore Windows 64-bit lseek removed by upstream svn revision 3826
(Cast away __la_lseek(), use _lseeki64() instead, 2011-11-21). We
need it on Borland.
|
|
|
|
|
| |
Replay commit 41719b75 (fix typo in CheckFileOffsetBits.cmake,
2011-10-05) after import of new libarchive snapshot.
|
|
|
|
|
|
|
|
|
| |
Make changes equivalent to those originally made by commits
bd56626a (Fixes for the OSF operating system build, 2010-09-08)
92c082b1 (Add a fix for the inline keyword on the osf os, 2010-09-10)
but based on the updated libarchive snapshot.
|
|
|
|
|
| |
Replay commit d39aee48 (Install COPYING with CMake documentation,
2011-06-16) after import of new libarchive snapshot.
|
|
|
|
|
|
|
|
| |
Re-enable the option to build libarchive within CMake now that we have
imported a new snapshot. Force libarchive ENABLE_* cache options to the
values CMake needs. Set ENABLE_OPENSSL based on CMAKE_USE_OPENSSL to
preserve the behavior introduced in commit ee55a4f7 (Use OpenSSL only if
CMAKE_USE_OPENSSL, 2011-02-08).
|
|
|
|
| |
The offset argument type depends on the libarchive version.
|
| |
|
|
|
|
|
| |
CMake needs only a single static libarchive library and not a shared
one. Call it cmlibarchive to avoid confusion.
|
|
|
|
|
| |
We are not developing new libarchive features. Furthermore -Werror can
break some try_compile cases.
|
|
|
|
|
|
| |
Remove add_subdirectory() calls for directories not included in the
reduced libarchive snapshot. Remove options that configure settings in
the missing directories.
|
|
|
|
| |
Describe how to update libarchive from upstream.
|
| |
|
|\
| |
| |
| |
| | |
Add Utilities/cmlibarchive using upstream libarchive 3.0.0-r3950
snapshot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extract upstream libarchive using the following shell code.
url=https://libarchive.googlecode.com/svn/trunk
v=3.0.1
r=3950
paths="
CMakeLists.txt
COPYING
CTestConfig.cmake
build/cmake
build/pkgconfig
build/utils
build/version
libarchive/*.*
"
date=$(svn log -q -c$r $url |
sed -n "/^r/ {s/[^|]*|[^|]*|//;p;}")
svn export -r$r $url libarchive-$v-r$r &&
mkdir libarchive-$v-r$r-reduced &&
(cd libarchive-$v-r$r && tar c $paths) |
(cd libarchive-$v-r$r-reduced && tar x)
echo "r$r date: $date"
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
c213eb9 Windows-GNU: Remove extra quotes in GNUtoMS rule variable
|
| |
| |
| |
| |
| | |
CMake replaces the <TARGET...> tokens with properly quoted values so we
do not need an extra set of quotes around them.
|
|\ \
| | |
| | |
| | |
| | | |
56e0499 QtDialog: Set Ctrl+Q as the shortcut for quitting the program.
|
| | |
| | |
| | |
| | |
| | |
| | | |
QKeySequence::Quit does not work on all platforms, and since it
translates to Ctrl+Q on all platforms where it does work, Ctrl+Q was
hardcoded instead.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
56f29f4 CTest: Recognize Intel errors without space before colon (#12627)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix the regex meant to match errors of the form:
C:\some\dir\source.cpp(17): catastrophic error: could not open source file "some_header.h"
to make the space between ')' and ':' optional.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
fcb2a27 Fix and simplify Fortran test compiler compatibility check
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since commit 38aab379 (Set CMAKE_<lang>_COMPILER_ID for VS generators,
2011-09-02) the VS IDE generators set the C and C++ compiler id to MSVC
and the Fortran compiler id to Intel. This caused the Fortran test to
fail compatible compiler detection because the if() test
"${CMAKE_C_COMPILER_ID}" MATCHES "MSVC"
is evaluated as the "var MATCHES regex" signature which evaluates the
compiler id "MSVC" as a variable which is defined to 1 which does not
match "MSVC".
Combine tests for non-identical but compatible compiler vendors into a
single regex match whose left hand side will not be defined as a
variable.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
470bcfa Remove the apparently outdated README in Source/QtDialog.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Qt has been LGPL-licensed for a few years, so the clause mentioning only
developers with a paid Qt license can change the code seems to be
outdated.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
5f6985a Avoid clobbering variable 'OUTPUT' in compiler tests (#12628)
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Use an obscure name and clean up afterwards.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
5d99343 Do not link private dependent shared libraries on OS X > 10.4
|