1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 1.16

- Add missed manpage entries [1]

PR:		ports/107173
Submitted by:	Radim Kolar SF.NET <hsn@sendmail.cz> [1]
This commit is contained in:
Stanislav Sedov 2006-12-29 20:18:35 +00:00
parent 980bb53894
commit 1db83699fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180993
4 changed files with 7 additions and 46 deletions

View File

@ -6,8 +6,8 @@
#
PORTNAME= lcms
PORTVERSION= 1.15
PORTREVISION= 1
PORTVERSION= 1.16
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
@ -32,6 +32,7 @@ OPTIONS= TIFFICC "Build color profile applier for tiff" off \
.if defined(WITH_TIFFICC)
LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff
PLIST_SUB+= TIFFICC=""
MAN1+= tifficc.1
.else
CONFIGURE_ARGS= --without-tiff
PLIST_SUB+= TIFFICC="@comment "
@ -40,6 +41,7 @@ PLIST_SUB+= TIFFICC="@comment "
.if defined(WITH_JPEGICC)
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
PLIST_SUB+= JPEGICC=""
MAN1+= jpegicc.1
.else
CONFIGURE_ARGS= --without-jpeg
PLIST_SUB+= JPEGICC="@comment "

View File

@ -1,3 +1,3 @@
MD5 (lcms-1.15.tar.gz) = 76c921973fdea4f880944a024197f924
SHA256 (lcms-1.15.tar.gz) = 930ef7de15eb028c1cdbfe3f1170aaa1d5b0b4d45a8fa496d944216e155122c2
SIZE (lcms-1.15.tar.gz) = 777834
MD5 (lcms-1.16.tar.gz) = b07b623f3e712373ff713fb32cf23651
SHA256 (lcms-1.16.tar.gz) = aa10a5295029c0fadaf95e33608121c04bf6044f165e0b418a1c4919b71a6993
SIZE (lcms-1.16.tar.gz) = 911546

View File

@ -1,15 +0,0 @@
This patch fixes assumptions made in different parts of the code
regarding the sizeof long and int. The original code appears to use them
interchangeably, even though it expects them to be 32 bit wide.
--- src/cmsmtrx.c Tue Feb 13 12:08:06 2001
+++ src/cmsmtrx.c Wed Sep 5 10:28:02 2001
@@ -705,6 +705,6 @@
void VEC3scaleAndCut(LPWVEC3 r, LPVEC3 v, double d)
{
- r -> n[VX] = (int) floor(v -> n[VX] * d + .5);
- r -> n[VY] = (int) floor(v -> n[VY] * d + .5);
- r -> n[VZ] = (int) floor(v -> n[VZ] * d + .5);
+ r -> n[VX] = (icInt32Number) floor(v -> n[VX] * d + .5);
+ r -> n[VY] = (icInt32Number) floor(v -> n[VY] * d + .5);
+ r -> n[VZ] = (icInt32Number) floor(v -> n[VZ] * d + .5);
}

View File

@ -1,26 +0,0 @@
--- include/lcms.h.orig Sat Nov 26 17:23:47 2005
+++ include/lcms.h Mon Aug 7 21:28:13 2006
@@ -47,7 +47,13 @@
// Uncomment this one if you are using big endian machines (only meaningful
// when NON_WINDOWS is used)
-// #define USE_BIG_ENDIAN 1
+
+#include <sys/endian.h>
+#if BYTE_ORDER == BIG_ENDIAN
+# define USE_BIG_ENDIAN 1
+#elif BYTE_ORDER != LITTLE_ENDIAN
+# error "Unexpected BYTE_ORDER on this architecture"
+#endif
// Uncomment this one if your compiler/machine does support the
// "long long" type This will speedup fixed point math. (USE_C only)
@@ -134,7 +140,7 @@
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
# include <sys/types.h>
# define USE_INT64 1
-# define LCMSSLONGLONG int_64_t
+# define LCMSSLONGLONG int64_t
# define LCMSULONGLONG u_int64_t
#endif