Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2004 01:47:22 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74349: [maintainer] security/sks fix for amd64
Message-ID:  <20041125004722.D5B163DC7@mailhost.gletsjer.net>
Resent-Message-ID: <200411250050.iAP0oXQ7070332@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         74349
>Category:       ports
>Synopsis:       [maintainer] security/sks fix for amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 00:50:33 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041125004722.D5B163DC7>