1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/graphics/lcms/files/patch-ab
Trevor Johnson 1aae05025c Add new port of LCMS 1.06, the Little Color Management System, a
graphics library.  Color management is the process of keeping
"profiles" which describe the response of scanners, cameras,
monitors, printers and such to light, and compensating for the
different response curves as images are transferred from one device
to another.

PR:		22420
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
2000-11-03 17:03:33 +00:00

16 lines
417 B
Plaintext

--- source/cmsmtrx.c Thu May 18 18:08:13 2000
+++ source/cmsmtrx.c Mon Oct 30 09:53:39 2000
@@ -33,2 +33,3 @@
#include "lcms.h"
+#include <sys/types.h>
@@ -250,3 +251,3 @@
#ifdef USE_INT64
- __int64 l = (__int64) a * b + 0x8000i64;
+ u_int64_t l = (u_int64_t) a * b + (u_int64_t)0x8000;
return (Fixed32) (l >> 16);
@@ -711,2 +712,2 @@
VEC3scaleAndCut(&r -> v[2], &v -> v[2], d);
-}
+}