mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Updates in preparation for package sync on gcc2h.
(cherry picked from commit 050c34d5d1
)
Change-Id: I04be220a9e771bf8d6a17c1e75ec28b28fe20ef4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7990
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
5b82b59da6
commit
4d831c4698
6
Jamfile
6
Jamfile
@ -22,15 +22,15 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
AddHaikuImageSystemPackages [ FFilterByBuildFeatures
|
||||
bash bc freetype zlib
|
||||
|
||||
!gcc2 @{ coreutils icu74 }@
|
||||
gcc2 @{ coreutils_x86 icu icu74_x86@secondary_x86 }@
|
||||
!gcc2 @{ coreutils icu74 wget }@
|
||||
gcc2 @{ coreutils_x86 wget_x86 icu icu74_x86@secondary_x86 }@
|
||||
regular_image @{
|
||||
bzip2 expat ffmpeg6 glu gutenprint9 gzip
|
||||
lame less libedit libicns
|
||||
mesa mesa_devel mesa_swpipe@!gcc2 mesa_swrast@gcc2
|
||||
netcat
|
||||
sed sharutils
|
||||
unzip wget which zip
|
||||
unzip which zip
|
||||
|
||||
!gcc2 @{ diffutils findutils gawk grep tar tcpdump zstd }@
|
||||
gcc2 @{
|
||||
|
@ -155,6 +155,7 @@ rule ArchitectureSetup architecture
|
||||
|
||||
if $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) = 1 {
|
||||
HAIKU_DEFINES_$(architecture) += _BEOS_R5_COMPATIBLE_ ;
|
||||
HAIKU_WERROR_FLAGS_$(architecture) += -Wno-unknown-pragmas ;
|
||||
}
|
||||
|
||||
# private shared kernel/libroot headers
|
||||
|
@ -129,8 +129,8 @@ if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
|
||||
|
||||
# Git
|
||||
if [ IsOptionalHaikuImagePackageAdded Git ] {
|
||||
AddHaikuImageSystemPackages git git_daemon perl ;
|
||||
AddHaikuImageSourcePackages git ;
|
||||
AddHaikuImageSystemPackages git@!gcc2 git_x86@secondary_x86 ;
|
||||
AddHaikuImageSourcePackages git@!gcc2 git_x86@secondary_x86 ;
|
||||
}
|
||||
|
||||
|
||||
|
@ -461,15 +461,22 @@ write_rgba32b(jas_matrix_t** pixels, uchar* scanline, int width)
|
||||
// #pragma mark - jasper I/O
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
typedef int jasper_length_t;
|
||||
#else
|
||||
typedef unsigned int jasper_length_t;
|
||||
#endif
|
||||
|
||||
|
||||
static int
|
||||
Read(jas_stream_obj_t* object, char* buffer, const unsigned int length)
|
||||
Read(jas_stream_obj_t* object, char* buffer, const jasper_length_t length)
|
||||
{
|
||||
return (*(BPositionIO**)object)->Read(buffer, length);
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
Write(jas_stream_obj_t* object, const char* buffer, const unsigned int length)
|
||||
Write(jas_stream_obj_t* object, const char* buffer, const jasper_length_t length)
|
||||
{
|
||||
return (*(BPositionIO**)object)->Write(buffer, length);
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ requires {
|
||||
lib:libjasper_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
lib:libjpeg_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
lib:libpng_%HAIKU_SECONDARY_PACKAGING_ARCH% >= 16.0
|
||||
lib:libtiff_%HAIKU_SECONDARY_PACKAGING_ARCH% >= 5.2
|
||||
lib:libtiff_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
lib:libwebp_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
#endif
|
||||
lib:libz_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
|
@ -33,7 +33,7 @@ requires {
|
||||
lib:libjasper_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
lib:libjpeg_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
lib:libpng16_%HAIKU_SECONDARY_PACKAGING_ARCH% >= 16.0
|
||||
lib:libtiff_%HAIKU_SECONDARY_PACKAGING_ARCH% >= 5.6
|
||||
lib:libtiff_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
lib:libwebp_%HAIKU_SECONDARY_PACKAGING_ARCH%
|
||||
|
||||
lib:libavcodec_%HAIKU_SECONDARY_PACKAGING_ARCH% >= 60
|
||||
|
Loading…
Reference in New Issue
Block a user