[Midnightbsd-cvs] mports: graphics/lcms: update to 1.17

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jun 25 12:04:04 EDT 2008


Log Message:
-----------
update to 1.17

Modified Files:
--------------
    mports/graphics/lcms:
        Makefile (r1.2 -> r1.3)
        distinfo (r1.1 -> r1.2)

Removed Files:
-------------
    mports/graphics/lcms/files:
        patch-32bit
        patch-config

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/graphics/lcms/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L graphics/lcms/Makefile -L graphics/lcms/Makefile -u -r1.2 -r1.3
--- graphics/lcms/Makefile
+++ graphics/lcms/Makefile
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	lcms
-PORTVERSION=	1.15
+PORTVERSION=	1.17
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
@@ -21,6 +21,9 @@
 USE_GNOME=	gnomehack gnometarget lthack
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-jpeg --without-tiff
+CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
 USE_LDCONFIG=	yes
 
 post-patch:
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/graphics/lcms/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L graphics/lcms/distinfo -L graphics/lcms/distinfo -u -r1.1 -r1.2
--- graphics/lcms/distinfo
+++ graphics/lcms/distinfo
@@ -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.17.tar.gz) = 07bdbb4cfb05d21caa58fe3d1c84ddc1
+SHA256 (lcms-1.17.tar.gz) = 5ef3b4dab30956772009e29dba33fe1256cf9da161106a1e70b0966c96d14583
+SIZE (lcms-1.17.tar.gz) = 898816
--- graphics/lcms/files/patch-config
+++ /dev/null
@@ -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
- 
--- graphics/lcms/files/patch-32bit
+++ /dev/null
@@ -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);
- }


More information about the Midnightbsd-cvs mailing list