ports/63940: fix for change in spin tarball
Jonathan Hanna
jhanna at h24-81-10-24.vc.shawcable.net
Mon Mar 8 20:00:43 UTC 2004
>Number: 63940
>Category: ports
>Synopsis: fix for change in spin tarball
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 08 12:00:38 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Hanna
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD cub.pangolin-systems.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Mar 2 23:03:59 PST 2004 jhanna at cub.pangolin-systems.com:/usr/obj/usr/src/sys/CUB.debug i386
>Description:
The xspin now distributed whith spin 4.1.2 has changed a bit,
though the spin version has not changed. The xspin in the
tarball has also aquired <cr><lf> line endings.
>How-To-Repeat:
>Fix:
diff -urNP spin.orig/Makefile spin/Makefile
--- spin.orig/Makefile Mon Feb 23 14:34:47 2004
+++ spin/Makefile Mon Mar 8 11:45:21 2004
@@ -39,6 +39,10 @@
post-extract:
@cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples
+pre-patch:
+ ${TR} -d '\015' < ${WRKDIR}/Xspin4.1/xspin412.tcl > ${WRKDIR}/Xspin4.1/xspin412.tcl.tmp
+ ${MV} -f ${WRKDIR}/Xspin4.1/xspin412.tcl.tmp ${WRKDIR}/Xspin4.1/xspin412.tcl
+
post-patch:
@WISH=`(cd ${LOCALBASE}/bin ; ${LS} wish8* ) | tail -1` ; \
if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \
diff -urNP spin.orig/distinfo spin/distinfo
--- spin.orig/distinfo Mon Feb 23 14:34:47 2004
+++ spin/distinfo Mon Mar 8 11:26:06 2004
@@ -1,2 +1,2 @@
-MD5 (spin/spin412.tar.gz) = 6cbc680c4e441611e31b052201f13848
-SIZE (spin/spin412.tar.gz) = 321465
+MD5 (spin/spin412.tar.gz) = 0c25485f37ef44d01328833b293734a2
+SIZE (spin/spin412.tar.gz) = 322223
diff -urNP spin.orig/files/patch-xspin spin/files/patch-xspin
--- spin.orig/files/patch-xspin Mon Feb 23 14:34:47 2004
+++ spin/files/patch-xspin Mon Mar 8 11:45:48 2004
@@ -1,29 +1,11 @@
---- ../Xspin4.1/xspin412.tcl.orig Mon Feb 23 12:57:50 2004
-+++ ../Xspin4.1/xspin412.tcl Mon Feb 23 12:59:00 2004
-@@ -1,25 +1,4 @@
+--- ../Xspin4.1/xspin412.tcl.orig Mon Mar 8 11:27:07 2004
++++ ../Xspin4.1/xspin412.tcl Mon Mar 8 11:31:09 2004
+@@ -1,6 +1,6 @@
-#!/bin/sh
--# the next line restarts using wish \
--exec wish c:/cygwin/bin/xspin -- $*
--
--# make sure this is where (a copy of) this script is stored
--#
--
--# cd ;# enable this line to cd to you home directory by default
--
--# on PCs:
--# adjust the first argument to wish above with the name and
--# location of this file on your system, if different.
--#
--# Cygwin:
--# if you use cygwin, do not refer to the file as /usr/bin/xspin
--# /usr/bin is a symbolic link to /bin, which really
--# lives in c:/cygwin, hence the contortions above
--#
--# on Unix/Linux/Solaris systems
--# replace the first line with something like
--# #!/usr/bin/wish -f
--# using the pathname for the wish executable on your system
+#!%%LOCALBASE%%/bin/%%WISH%% -f
+ # the next line restarts using wish \
+-exec wish c:/cygwin/bin/xspin -- $*
++# exec wish c:/cygwin/bin/xspin -- $*
+
+ # cd ;# enable to cd to home directory by default
- #======================================================================#
- # Tcl/Tk Spin Controller, written by Gerard J. Holzmann, 1995-2004. #
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list