Bill Hoffman
7eac77605d
Do not use external lzma library as it causes link errors on several machines and we don't need it.
2009-11-05 15:54:19 -05:00
Zach Mullen
ac3f37e0b6
Fix linker errors for libarchive in AIX as well.
2009-11-05 15:48:50 -05:00
Zach Mullen
a01badcc7a
Fix statement not reached warning for libarchive.
2009-11-05 14:15:28 -05:00
Zach Mullen
557a42a9dd
Fix libarchive linker errors on SunOS for mkdev/major/minor
2009-11-05 14:06:45 -05:00
Zach Mullen
5a6cb44e96
Fixed a few of the SunOS build errors in libarchive.
2009-11-05 13:40:06 -05:00
Brad King
593bb64d16
libarchive: Use consistent function storage class
...
Functions declared 'static' should be defined 'static' too.
2009-11-04 17:25:35 -05:00
Brad King
4c6f63a409
libarchive: Fix integer type defaults for Windows
...
Most of the integer type defaults needed for MSVC and Borland actually
work with all Windows compilers. This commit generalizes the defaults
to avoid compiler-specific tests.
2009-11-04 17:17:57 -05:00
Brad King
f4b70b6323
libarchive: Provide SetFilePointerEx for VS 6
2009-11-04 16:31:40 -05:00
Brad King
e5075bb8e8
libarchive: Fix unconfigured header logic
...
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.
2009-11-04 16:06:44 -05:00
Brad King
7f5361f040
libarchive: Fix dev_t configuration
2009-11-04 16:06:34 -05:00
Brad King
9bc63eb30f
libarchive: Fix intptr_t and uintptr_t configuration
2009-11-04 16:06:26 -05:00
Brad King
d785cb0021
libarchive: Fix wincrypt.h inclusion on VS 6
...
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.
2009-11-04 16:06:17 -05:00
Brad King
c9a9c88634
libarchive: Fix Borland integer constants
...
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.
2009-11-04 13:10:11 -05:00
Brad King
12baf7b7f1
libarchive: Disable Borland warnings
...
We disable warnings to silence them while making minimal changes to
third-party code.
2009-11-04 13:09:59 -05:00
Brad King
ccd831c559
libarchive: Disable MSVC warnings
...
We disable warnings to silence them while making minimal changes to
third-party code.
2009-11-04 13:09:41 -05:00
Bill Hoffman
7fba9849f9
Fix for warning on dash8 that caused a build failure because of -WError
2009-11-04 10:45:52 -05:00
Bill Hoffman
2733f4f8e7
Fix for dash17 ACL requires linking to a library acl that we don't want to depend on.
2009-11-03 17:40:44 -05:00
Bill Hoffman
b9e88cd4c8
remove makefiles as they cause the in source build test of cmake to fail
2009-11-03 10:21:50 -05:00
Bill Hoffman
ca73562e54
borland builds, but still has some link errors
2009-11-02 10:51:29 -05:00
Bill Hoffman
8ba2a40404
Fixes for borland, compiles with lots of warnings, but compiles, might fix vs70 again too.
2009-11-01 12:41:17 -05:00
Bill Hoffman
1db02b4d4e
Fix for haiku
2009-10-31 09:39:58 -04:00
Bill Hoffman
a533cc6093
Try to fix borland
2009-10-30 22:29:08 -04:00
Bill Hoffman
53082a4f34
Try to fix old hpux
2009-10-30 18:07:45 -04:00
Bill Hoffman
7ff27819de
Remove unused variable to fix warning
2009-10-30 17:10:09 -04:00
Bill Hoffman
7b22ab1990
Remove unused variable to fix warning
2009-10-30 17:05:57 -04:00
Bill Hoffman
7a35b9ba3a
only use archive_entry_copy_bhfi.c on windows so we don't get empty .o file warnings
2009-10-30 17:01:49 -04:00
Bill Hoffman
4e123ec1b1
Fix for VS 7 or lower not having ULL postfix for types
2009-10-30 16:36:46 -04:00
David Cole
cfa5932321
Fix compile issues on Mac OSX 10.3 on midworld dashboard.
2009-10-30 16:22:08 -04:00
Bill Hoffman
fb51d98562
Switch to using libarchive from libtar for cpack and cmake -E tar
...
This allows for a built in bzip and zip capability, so external tools
will not be needed for these packagers. The cmake -E tar xf should be
able to handle all compression types now as well.
2009-10-30 13:10:56 -04:00