From nobody@FreeBSD.org  Wed Apr 30 08:08:31 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E1E02106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Apr 2008 08:08:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D6DFD8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Apr 2008 08:08:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3U87qbc047542
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Apr 2008 08:07:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m3U87q56047541;
	Wed, 30 Apr 2008 08:07:52 GMT
	(envelope-from nobody)
Message-Id: <200804300807.m3U87q56047541@www.freebsd.org>
Date: Wed, 30 Apr 2008 08:07:52 GMT
From: bf <bf2006a@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] lang/sbcl: add lutex support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         123250
>Category:       ports
>Synopsis:       [PATCH] lang/sbcl: add lutex support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 30 08:10:01 UTC 2008
>Closed-Date:    Thu Jun 05 08:40:29 UTC 2008
>Last-Modified:  Thu Jun 05 08:40:29 UTC 2008
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:
.. , enable memory usage limits on bootstrap, re-add distinfo on x86-64 binary, and sort pkg-plist.  New boostrap binaries should be made for i386 and x86-64, and sent upstream to Sourceforge (they stopped making them at version 1.0.6 for FreeBSD, although they've continued for Linux), or hosted on our servers, especially if we are going to discontinue support for FreeBSD 5.x in ports after it's upcoming security end-of-life (in which case we'd then make binaries for 6.x and switch the build dependency to compat 6.x).

b.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN sbcl.orig/Makefile sbcl/Makefile
--- sbcl.orig/Makefile	2008-04-29 21:55:54.000000000 -0400
+++ sbcl/Makefile	2008-04-12 23:24:12.827020000 -0400
@@ -2,7 +2,7 @@
 # Date created:				2002-11-26
 # Whom:					des
 #
-# $FreeBSD: ports/lang/sbcl/Makefile,v 1.57 2008/04/30 01:55:54 edwin Exp $
+# $FreeBSD: ports/lang/sbcl/Makefile,v 1.55 2008/03/19 12:47:18 lippe Exp $
 #
 
 PORTNAME=	sbcl
@@ -48,7 +48,10 @@
 BOOT_ARCH_OS_LIST=	x86-freebsd x86-64-freebsd
 .elif ${ARCH} == "i386"
 BOOT_ARCH_OS_LIST=	x86-freebsd
-LISP_EXTRA_ARG=	--dynamic-space-size 512
+#users may set the following variable (the MB of memory to be reserved for the bootstrap
+#on startup) to an appropriate value, which may be useful on low-memory systems
+MEMORY?=	512
+LISP_EXTRA_ARG=	--dynamic-space-size ${MEMORY}
 .elif ${ARCH} == "amd64"
 BOOT_ARCH_OS_LIST=	x86-64-freebsd
 LISP_EXTRA_ARG=
diff -ruN sbcl.orig/distinfo sbcl/distinfo
--- sbcl.orig/distinfo	2008-04-29 21:55:54.000000000 -0400
+++ sbcl/distinfo	2008-04-12 23:30:15.847815000 -0400
@@ -4,3 +4,6 @@
 MD5 (sbcl-1.0.6-x86-freebsd-binary.tar.bz2) = 5bab7372003ae385d436bec88443c897
 SHA256 (sbcl-1.0.6-x86-freebsd-binary.tar.bz2) = 0e6a0befbbd5da42a02a8d280836814433f544d57b2b425291b03afa37f1f6f5
 SIZE (sbcl-1.0.6-x86-freebsd-binary.tar.bz2) = 7860437
+MD5 (sbcl-1.0.6-x86-64-freebsd-binary.tar.bz2) = 1b4aa3a600a1ce2d00dfebd73a5f00ed
+SHA256 (sbcl-1.0.6-x86-64-freebsd-binary.tar.bz2) = 154277a45531c60294c03d93b2f6509bd622f863f10c65cd079ee3f007a92de0
+SIZE (sbcl-1.0.6-x86-64-freebsd-binary.tar.bz2) = 7634730
diff -ruN sbcl.orig/files/customize-target-features.lisp sbcl/files/customize-target-features.lisp
--- sbcl.orig/files/customize-target-features.lisp	2006-12-01 19:20:41.000000000 -0500
+++ sbcl/files/customize-target-features.lisp	2008-03-21 16:34:24.807778000 -0400
@@ -4,4 +4,5 @@
          (disable (x)
            (setf features (remove x features))))
     (enable :sb-thread)
+    (enable :sb-lutex)
     features))
diff -ruN sbcl.orig/pkg-plist sbcl/pkg-plist
--- sbcl.orig/pkg-plist	2008-04-23 16:37:58.000000000 -0400
+++ sbcl/pkg-plist	2008-03-21 18:33:21.156494000 -0400
@@ -84,20 +84,20 @@
 lib/sbcl/sb-cltl2/tests.lisp
 lib/sbcl/sb-cover/.cvsignore
 lib/sbcl/sb-cover/Makefile
+lib/sbcl/sb-cover/cover.fasl
 lib/sbcl/sb-cover/cover.lisp
 lib/sbcl/sb-cover/sb-cover.asd
-lib/sbcl/sb-cover/sb-cover.texinfo
-lib/sbcl/sb-cover/test-data-1.lisp
-lib/sbcl/sb-cover/test-data-2.lisp
-lib/sbcl/sb-cover/tests.lisp
-lib/sbcl/sb-cover/cover.fasl
-lib/sbcl/sb-cover/tests.fasl
 lib/sbcl/sb-cover/sb-cover.fasl
+lib/sbcl/sb-cover/sb-cover.texinfo
 lib/sbcl/sb-cover/test-data-1.fasl
+lib/sbcl/sb-cover/test-data-1.lisp
 lib/sbcl/sb-cover/test-data-2.fasl
+lib/sbcl/sb-cover/test-data-2.lisp
 lib/sbcl/sb-cover/test-data-3.fasl
 lib/sbcl/sb-cover/test-data-3.lisp
 lib/sbcl/sb-cover/test-passed
+lib/sbcl/sb-cover/tests.fasl
+lib/sbcl/sb-cover/tests.lisp
 lib/sbcl/sb-executable/sb-executable.fasl
 lib/sbcl/sb-grovel/.cvsignore
 lib/sbcl/sb-grovel/Makefile


>Release-Note:
>Audit-Trail:

From: bf <bf2006a@yahoo.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/123250: [PATCH] lang/sbcl: add lutex support
Date: Wed, 30 Apr 2008 01:13:28 -0700 (PDT)

 Oops, please reclassify this PR as ports/. 
 
 Sorry and thanks,
 
 b.
 
 
 
       ____________________________________________________________________________________
 Be a better friend, newshound, and 
 know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Apr 30 08:23:30 UTC 2008 
Responsible-Changed-Why:  
ports pr. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123250 
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sat May 17 13:16:54 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123250 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123250: commit references a PR
Date: Thu,  5 Jun 2008 08:39:40 +0000 (UTC)

 stas        2008-06-05 08:39:35 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/sbcl            Makefile distinfo pkg-plist 
     lang/sbcl/files      customize-target-features.lisp 
   Log:
   - Update to 1.0.17.
   - Update bootstrap binaries to the latest version. Also, add bootstrap
     for each supported FreeBSD version to eliminate compat-XXX dependency.
   - Add a knob to specify SBCL dynamic space size (useful for low-memory
     systems). [1]
   - Enable sb-luted for threaded SBCL. [1]
   - FreeBSD 5.x cleanup.
   
   PR:             ports/123250 (based on) [1]
   Submitted by:   bf <bf2006a@yahoo.com>
   
   Revision  Changes    Path
   1.60      +50 -29    ports/lang/sbcl/Makefile
   1.45      +21 -9     ports/lang/sbcl/distinfo
   1.2       +1 -0      ports/lang/sbcl/files/customize-target-features.lisp
   1.31      +12 -8     ports/lang/sbcl/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: stas 
State-Changed-When: Thu Jun 5 08:40:28 UTC 2008 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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