ports/84791: [PATCH] Add amd64 support to devel/st

Anton Berezin tobez at FreeBSD.org
Thu Aug 11 10:00:40 UTC 2005


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list