Date: Fri, 6 Sep 2002 07:32:52 -0400 (EDT) From: Alan Eldridge <ports@geeksrus.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sobomax@FreeBSD.org Subject: ports/42475: graphics/jasper: jas_types.h refs undefined types Message-ID: <200209061132.g86BWqdw059702@wwweasel.geeksrus.net>
next in thread | raw e-mail | index | archive | help
>Number: 42475 >Category: ports >Synopsis: graphics/jasper: jas_types.h refs undefined types >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 06 04:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.6-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Aug 31 23:40:18 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: jas_types.h references undefined types when filling in stuff from stdint.h that we don't have (why don't we have stdint.h??). This causes errors when, e.g., configuring ImageMagick, because jas_types.h doesn't compile without a bunch of things defined for it. >How-To-Repeat: >Fix: mkdir files cvs add this file ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: graphics/jasper/files/patch-src-libjasper-include-jasper-jas_types.h =================================================================== RCS file: graphics/jasper/files/patch-src-libjasper-include-jasper-jas_types.h diff -N graphics/jasper/files/patch-src-libjasper-include-jasper-jas_types.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ graphics/jasper/files/patch-src-libjasper-include-jasper-jas_types.h 6 Sep 2002 11:24:01 -0000 @@ -0,0 +1,43 @@ +--- src/libjasper/include/jasper/jas_types.h.orig Tue Jan 15 17:07:34 2002 ++++ src/libjasper/include/jasper/jas_types.h Fri Sep 6 07:22:09 2002 +@@ -204,7 +204,7 @@ + #endif + /**********/ + #if !defined(UINT_FAST8_MIN) +-typedef uchar uint_fast8_t; ++typedef unsigned char uint_fast8_t; + #define UINT_FAST8_MIN 0 + #define UINT_FAST8_MAX 255 + #endif +@@ -216,7 +216,7 @@ + #endif + /**********/ + #if !defined(UINT_FAST16_MIN) +-typedef ushort uint_fast16_t; ++typedef unsigned short uint_fast16_t; + #define UINT_FAST16_MIN USHRT_MIN + #define UINT_FAST16_MAX USHRT_MAX + #endif +@@ -228,19 +228,19 @@ + #endif + /**********/ + #if !defined(UINT_FAST32_MIN) +-typedef uint uint_fast32_t; ++typedef unsigned int uint_fast32_t; + #define UINT_FAST32_MIN UINT_MIN + #define UINT_FAST32_MAX UINT_MAX + #endif + /**********/ + #if !defined(INT_FAST64_MIN) +-typedef longlong int_fast64_t; ++typedef long long int_fast64_t; + #define INT_FAST64_MIN LLONG_MIN + #define INT_FAST64_MAX LLONG_MAX + #endif + /**********/ + #if !defined(UINT_FAST64_MIN) +-typedef ulonglong uint_fast64_t; ++typedef unsigned long long uint_fast64_t; + #define UINT_FAST64_MIN ULLONG_MIN + #define UINT_FAST64_MAX ULLONG_MAX + #endif ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209061132.g86BWqdw059702>