View | Details | Raw Unified | Return to bug 105148
Collapse All | Expand All

(-)/home/trasz/hercules/Makefile (+2 lines)
Lines 13-18 Link Here
13
MAINTAINER=	bzeeb+freebsdports@zabbadoz.net
13
MAINTAINER=	bzeeb+freebsdports@zabbadoz.net
14
COMMENT=	The Hercules System/370, ESA/390, and z/Architecture Emulator
14
COMMENT=	The Hercules System/370, ESA/390, and z/Architecture Emulator
15
15
16
RUN_DEPENDS=	${LOCALBASE}/bin/god:${PORTSDIR}/sysutils/coreutils
17
16
OPTIONS=	PTHREADS "Build with pthreads instead of fthreads." on \
18
OPTIONS=	PTHREADS "Build with pthreads instead of fthreads." on \
17
		NLS "Build with native language support." on \
19
		NLS "Build with native language support." on \
18
		DEBUG "Enable for debugging hercules itself." off
20
		DEBUG "Enable for debugging hercules itself." off
(-)/home/trasz/hercules/files/patch-util-dasdlist (+36 lines)
Line 0 Link Here
1
--- util/dasdlist.orig	Sat Nov  4 16:30:04 2006
2
+++ util/dasdlist	Sat Nov  4 16:30:22 2006
3
@@ -1,4 +1,4 @@
4
-#!/bin/bash
5
+#!/bin/sh
6
 #
7
 # This command prints a track from a CKD DASD image file.
8
 # It uses the GNU Octal Dump (od) command to firstly obtain
9
@@ -22,7 +22,7 @@
10
 #
11
 # Check the first 8 bytes of the header for valid CKD DASD image file
12
 #
13
-ckdid=`od -An -s --read-bytes=8 $filename`
14
+ckdid=`god -An -s --read-bytes=8 $filename`
15
 if [ $ckdid != "CKD_P370" ]; then
16
     echo "File $filename is not a CKD DASD image file"
17
     exit 2
18
@@ -31,8 +31,8 @@
19
 #
20
 # The next 8 bytes contain the tracks/cyl and track length constants
21
 #
22
-heads=`od -An -tu4 --skip-bytes=8 --read-bytes=4 $filename`
23
-trklen=`od -An -tu4 --skip-bytes=12 --read-bytes=4 $filename`
24
+heads=`god -An -tu4 --skip-bytes=8 --read-bytes=4 $filename`
25
+trklen=`god -An -tu4 --skip-bytes=12 --read-bytes=4 $filename`
26
 
27
 echo "$filename $(($heads)) trks/cyl, $(($trklen)) bytes/trk"
28
 
29
@@ -54,5 +54,5 @@
30
 # Dump the requested track
31
 #
32
 echo "$filename Cyl $(($cyl)) Head $(($head))"
33
-echo "od -Ax -tx1 --skip-bytes=$offset --read-bytes=$num $filename"
34
-od -Ax -tx1 --skip-bytes=$offset --read-bytes=$num $filename
35
+echo "god -Ax -tx1 --skip-bytes=$offset --read-bytes=$num $filename"
36
+god -Ax -tx1 --skip-bytes=$offset --read-bytes=$num $filename

Return to bug 105148