Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 11:59:22 +0200 (CEST)
From:      Anton Berezin <tobez@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/84791: [PATCH] Add amd64 support to devel/st
Message-ID:  <20050811095922.7970812546C@heechee.tobez.org>
Resent-Message-ID: <200508111000.j7BA0dhc091784@freefall.freebsd.org>

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

>Number:         84791
>Category:       ports
>Synopsis:       [PATCH] Add amd64 support to devel/st
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 11 10:00:39 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 5.4-STABLE amd64
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD heechee.tobez.org 5.4-STABLE FreeBSD 5.4-STABLE #3: Sun Jul 31 12:08:57 CEST 2005 root@heechee.tobez.org:/usr/obj/usr/src/sys/TU4A amd64


>Description:

Currently, devel/st is only for i386 and alpha.

>How-To-Repeat:

N/A

>Fix:

Not sure about bumping PORTREVISION.

diff -u --show-c-function -ruN --exclude=CVS /usr/ports/devel/st/Makefile ./Makefile
--- /usr/ports/devel/st/Makefile	Mon Jan 24 20:53:31 2005
+++ ./Makefile	Thu Aug 11 11:49:21 2005
@@ -16,7 +16,7 @@ MAINTAINER=	alfred@FreeBSD.org
 COMMENT=	State Threads Library for Internet Applications
 
 INSTALLS_SHLIB=	yes
-ONLY_FOR_ARCHS=	i386 alpha
+ONLY_FOR_ARCHS=	i386 alpha amd64
 
 .include <bsd.port.pre.mk>
 
diff -u --show-c-function -ruN --exclude=CVS /usr/ports/devel/st/files/patch-md.h ./files/patch-md.h
--- /usr/ports/devel/st/files/patch-md.h	Thu Jan  1 01:00:00 1970
+++ ./files/patch-md.h	Thu Aug 11 11:49:23 2005
@@ -0,0 +1,11 @@
+--- md.h.orig	Thu Aug 11 11:15:00 2005
++++ md.h	Thu Aug 11 11:33:23 2005
+@@ -154,6 +154,8 @@
+ #define MD_JB_SP   2
+ #elif defined(__alpha__)
+ #define MD_JB_SP  34
++#elif defined(__amd64__)
++#define MD_JB_SP  2
+ #else
+ #error Unknown CPU architecture
+ #endif

>Release-Note:
>Audit-Trail:
>Unformatted:



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