From johans@stack.nl  Thu Nov 25 00:47:36 2004
Return-Path: <johans@stack.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E677616A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Nov 2004 00:47:36 +0000 (GMT)
Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4880043D54
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Nov 2004 00:47:36 +0000 (GMT)
	(envelope-from johans@stack.nl)
Received: by mailhost.stack.nl (Postfix, from userid 65534)
	id 4378E1F1A3; Thu, 25 Nov 2004 01:47:35 +0100 (CET)
Received: from mailhost.gletsjer.net (ntp.gletsjer.net [IPv6:2001:610:1108:5202::123])
	by mailhost.stack.nl (Postfix) with ESMTP id 6CBB41F072
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Nov 2004 01:47:34 +0100 (CET)
Received: by mailhost.gletsjer.net (Postfix, from userid 801)
	id D5B163DC7; Thu, 25 Nov 2004 01:47:22 +0100 (CET)
Message-Id: <20041125004722.D5B163DC7@mailhost.gletsjer.net>
Date: Thu, 25 Nov 2004 01:47:22 +0100 (CET)
From: Johan van Selst <johans@stack.nl>
Reply-To: Johan van Selst <johans@stack.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer] security/sks fix for amd64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         74349
>Category:       ports
>Synopsis:       [maintainer] security/sks fix for amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 00:50:33 GMT 2004
>Closed-Date:    Fri Nov 26 08:53:48 GMT 2004
>Last-Modified:  Fri Nov 26 08:53:48 GMT 2004
>Originator:     Johan van Selst
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD coyote.gletsjer.net 6.0-CURRENT FreeBSD 6.0-CURRENT #16: Sun Oct 31 21:50:25 CET 2004 root@coyote.gletsjer.net:/spare3/obj/spare3/src/sys/coyote i386


	
>Description:
	The patch below fixes detection and build problems for
	security/sks on amd64 platforms.
	This introduces a new patchfile patch-number.ml

	This patch shouldn't conflict with ports/74170
	
>How-To-Repeat:
	
>Fix:

	


diff -urN sks/files/patch-number.ml sks/files/patch-number.ml
--- sks/files/patch-number.ml	Thu Jan  1 01:00:00 1970
+++ sks/files/patch-number.ml	Thu Nov 25 00:36:46 2004
@@ -0,0 +1,11 @@
+--- number.ml	Thu Oct 21 04:56:03 2004
++++ number.ml	Thu Nov 25 00:25:35 2004
+@@ -18,7 +18,7 @@
+ (** Basic operations and definitions for multi-precistion integers. *)
+
+ (* Change to Dlong for non x86 platforms *)
+-module Nx = Numerix.Slong
++module Nx = Numerix.Clong
+
+ let two = Nx.of_int 2
+ let one = Nx.of_int 1
diff -urN sks/files/sks.numerix.patch sks/files/sks.numerix.patch
--- sks/files/sks.numerix.patch	Tue Nov  9 17:39:05 2004
+++ sks/files/sks.numerix.patch	Thu Nov 25 00:45:04 2004
@@ -8,6 +8,26 @@
    echo "$as_me:$LINENO: result: $ocaml_version" >&5
  echo "${ECHO_T}$ocaml_version" >&6
    echo "$as_me:$LINENO: checking for Ocaml directory" >&5
+--- numerix-0.19/config/config.sub	Thu Nov 25 00:33:31 2004
++++ numerix-0.19/config/config.sub	Thu Nov 25 00:35:01 2004
+@@ -155,7 +155,7 @@
+  		| alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
+ 		| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
+ 		| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
+-		| mipstx39 | mipstx39el \
++		| mipstx39 | mipstx39el | amd64 \
+ 		| sparc | sparclet | sparclite | sparc64 | v850)
+ 		basic_machine=$basic_machine-unknown
+                ;;
+@@ -181,7 +181,7 @@
+ 	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+ 	      | sparc64-* | mips64-* | mipsel-* \
+ 	      | mips64el-* | mips64orion-* | mips64orionel-*  \
+-	      | mipstx39-* | mipstx39el-* \
++	      | mipstx39-* | mipstx39el-* | amd64-* \
+ 	      | f301-*)
+ 	        ;;
+ 	# Recognize the various machine names and aliases which stand
 --- numerix-0.19/lib/kernel/string.c	Sat Oct 16 15:47:19 2004
 +++ numerix-0.19/lib/kernel/string.c	Sat Oct 16 15:14:17 2004
 @@ -38,7 +38,7 @@
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sergei 
State-Changed-When: Fri Nov 26 08:53:30 GMT 2004 
State-Changed-Why:  
Committed on 2004-11-25 - thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74349 
>Unformatted:
