From owner-freebsd-ports Fri Sep 6 4:40:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 504A137B400 for ; Fri, 6 Sep 2002 04:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 963C543E42 for ; Fri, 6 Sep 2002 04:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g86Be2JU036666 for ; Fri, 6 Sep 2002 04:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g86Be2bG036665; Fri, 6 Sep 2002 04:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 151A237B400; Fri, 6 Sep 2002 04:33:35 -0700 (PDT) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F88743E4A; Fri, 6 Sep 2002 04:33:34 -0700 (PDT) (envelope-from alane@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (alane@localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.5/8.12.5) with ESMTP id g86BWqvB059741; Fri, 6 Sep 2002 07:32:52 -0400 (EDT) (envelope-from alane@wwweasel.geeksrus.net) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.12.5/8.12.5/Submit) id g86BWqdw059702; Fri, 6 Sep 2002 07:32:52 -0400 (EDT) (envelope-from alane) Message-Id: <200209061132.g86BWqdw059702@wwweasel.geeksrus.net> Date: Fri, 6 Sep 2002 07:32:52 -0400 (EDT) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: sobomax@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42475: graphics/jasper: jas_types.h refs undefined types Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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