mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
graphics/argyllcms: Fix build on powerpc64
PR: 217215 [1] PR: 203806 [2] Submitted by: Curtis Hamilton [1] Submitted by: Justin Hibbits [2] Approved by: kwm (maintainer)
This commit is contained in:
parent
5962541ab4
commit
fe310ebf76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440675
3 changed files with 26 additions and 2 deletions
|
@ -13,8 +13,6 @@ COMMENT= ICC compatible color management system
|
||||||
|
|
||||||
LICENSE= AGPLv3
|
LICENSE= AGPLv3
|
||||||
|
|
||||||
BROKEN_powerpc64= Does not build
|
|
||||||
|
|
||||||
BUILD_DEPENDS= jam:devel/jam
|
BUILD_DEPENDS= jam:devel/jam
|
||||||
LIB_DEPENDS= libtiff.so:graphics/tiff \
|
LIB_DEPENDS= libtiff.so:graphics/tiff \
|
||||||
libpng16.so:graphics/png
|
libpng16.so:graphics/png
|
||||||
|
|
15
graphics/argyllcms/files/patch-Jambase
Normal file
15
graphics/argyllcms/files/patch-Jambase
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- Jambase.bak 2016-09-28 02:58:53.000000000 +0000
|
||||||
|
+++ Jambase 2017-05-11 19:43:36.780841000 +0000
|
||||||
|
@@ -999,7 +999,11 @@
|
||||||
|
# General defaults; a lot like UNIX
|
||||||
|
#
|
||||||
|
|
||||||
|
- AR ?= ar rusc ;
|
||||||
|
+ if ! $(AR) {
|
||||||
|
+ AR = ar rusc ;
|
||||||
|
+ } else {
|
||||||
|
+ AR += rusc ;
|
||||||
|
+ }
|
||||||
|
AS ?= as ;
|
||||||
|
ASFLAGS ?= ;
|
||||||
|
AWK ?= awk ;
|
11
graphics/argyllcms/files/patch-ccast_axTLS_os__int.h
Normal file
11
graphics/argyllcms/files/patch-ccast_axTLS_os__int.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./ccast/axTLS/os_int.h.orig
|
||||||
|
+++ ./ccast/axTLS/os_int.h
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
#if (__STDC_VERSION__ >= 199901L) /* C99 */ \
|
||||||
|
|| defined(_STDINT_H_) || defined(_STDINT_H) \
|
||||||
|
|| defined(_SYS_TYPES_H) \
|
||||||
|
+ || defined(__powerpc64__) || defined(POWERPC64) \
|
||||||
|
|| (defined(__APPLE__) && defined(__POWERPC__))
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue