ports/55080: [PATCH] devel/spin port build fix
zhuravlev alexander
zaa at ulstu.ru
Wed Jul 30 19:50:19 UTC 2003
>Number: 55080
>Category: ports
>Synopsis: [PATCH] devel/spin port build fix
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 30 12:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: zhuravlev alexander
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Ulyanovsk State Technical University
>Environment:
System: FreeBSD ns.ulstu.ru 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Jul 20 14:37:02 MSD 2003 root at ns.ulstu.ru:/usr/obj/usr/src/sys/HP i386
>Description:
[ns:/usr/ports/devel/spin.orig]#make
===> Extracting for spin-4.0.6
>How-To-Repeat:
cd /usr/ports/devel/spin && make
>Fix:
--- patch-spin begins here ---
diff -urN spin.orig/Makefile spin/Makefile
--- spin.orig/Makefile Wed Jun 4 18:43:05 2003
+++ spin/Makefile Wed Jul 30 08:36:36 2003
@@ -30,12 +30,12 @@
if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \
${REINPLACE_CMD} \
-e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \
- -e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin4.0/xspin402.tcl
+ -e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin4.0/xspin406.tcl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spin ${PREFIX}/bin
${RM} -f ${PREFIX}/bin/xspin
- ${INSTALL_SCRIPT} ${WRKDIR}/Xspin4.0/xspin402.tcl ${PREFIX}/bin/xspin
+ ${INSTALL_SCRIPT} ${WRKDIR}/Xspin4.0/xspin406.tcl ${PREFIX}/bin/xspin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/spin/Doc
diff -urN spin.orig/distinfo spin/distinfo
--- spin.orig/distinfo Wed Jun 4 18:43:05 2003
+++ spin/distinfo Wed Jul 30 08:26:02 2003
@@ -1,2 +1,2 @@
-MD5 (spin/spin406.tar.gz) = 8a598bbdc8ddb23dfe0b82b2130726ca
+MD5 (spin/spin406.tar.gz) = 11a2e8e3a006de829e4aa0ffb8855a98
MD5 (spin/html.tar.gz) = 18fb3308fac90091de71235941fbdc20
diff -urN spin.orig/files/patch-make_unix spin/files/patch-make_unix
--- spin.orig/files/patch-make_unix Fri Apr 11 20:33:33 2003
+++ spin/files/patch-make_unix Wed Jul 30 23:25:33 2003
@@ -1,13 +1,13 @@
---- make_unix.orig Mon Apr 7 20:30:46 2003
-+++ make_unix Mon Apr 7 20:31:36 2003
+--- make_unix.orig Wed Jul 30 23:24:38 2003
++++ make_unix Wed Jul 30 23:25:19 2003
@@ -12,8 +12,9 @@
# [a more up-to-date book documenting Spin will appear in 2003]
# CC=gcc # or any other ansi compatible c compiler
-CC=cc -g -DNXT # -DNXT enables the X operator in LTL
-CFLAGS=-ansi -D_POSIX_SOURCE # on some systems add: -I/usr/include
-+# CC=cc -g -DNXT # -DNXT enables the X operator in LTL
-+# CFLAGS=-ansi -D_POSIX_SOURCE # on some systems add: -I/usr/include
++#CC=cc -g -DNXT # -DNXT enables the X operator in LTL
++#CFLAGS=-ansi -D_POSIX_SOURCE # on some systems add: -I/usr/include
+CFLAGS += -DNXT
# on Solaris: add -DSOLARIS
diff -urN spin.orig/files/patch-xspin spin/files/patch-xspin
--- spin.orig/files/patch-xspin Fri Apr 11 20:33:33 2003
+++ spin/files/patch-xspin Wed Jul 30 23:28:15 2003
@@ -1,5 +1,5 @@
---- ../Xspin4.0/xspin402.tcl.orig Mon Apr 7 20:37:27 2003
-+++ ../Xspin4.0/xspin402.tcl Mon Apr 7 20:40:10 2003
+--- ../Xspin4.0/xspin406.tcl.orig Mon Jun 9 19:41:17 2003
++++ ../Xspin4.0/xspin406.tcl Wed Jul 30 23:27:23 2003
@@ -1,20 +1,4 @@
-#!/bin/sh
-# the next line restarts using wish \
--- patch-spin ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
>> Checksum mismatch for spin/spin406.tar.gz.
>> Checksum OK for spin/html.tar.gz.
===> Refetch for 1 more times files: spin/spin406.tar.gz
>> spin406.tar.gz doesn't seem to exist in /usr/ports/distfiles/spin.
>> Attempting to fetch from http://spinroot.com/spin/Src/.
>> Checksum mismatch for spin/spin406.tar.gz.
>> Checksum OK for spin/html.tar.gz.
===> Giving up on fetching files: spin/spin406.tar.gz
Make sure the Makefile and distinfo file (/usr/ports/devel/spin.orig/distinfo)
are up to date. If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1
Stop in /usr/ports/devel/spin.orig.
*** Error code 1
Stop in /usr/ports/devel/spin.orig.
More information about the freebsd-ports-bugs
mailing list