You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-block/nwutil/files/1.4-rename-debug.patch

41 lines
1.5 KiB

diff -ur work.orig/Makefile work/Makefile
--- work.orig/Makefile 2004-06-27 21:29:50.711871000 +0000
+++ work/Makefile 2004-06-27 21:31:11.591871000 +0000
@@ -2,8 +2,8 @@
CC = gcc
CFLAGS = -O2 -fsigned-char -omit-frame-pointer -Wall
-OBJS = start_wdog set_therm fan_ctrl debug
-MANPGS = start_wdog.8 set_therm.8 fan_ctrl.8 debug.8
+OBJS = start_wdog set_therm fan_ctrl nwdebug
+MANPGS = start_wdog.8 set_therm.8 fan_ctrl.8 nwdebug.8
PREFIX = $(DESTDIR)/usr
all: $(OBJS)
diff -ur work.orig/debug.8 work/debug.8
--- work.orig/debug.8 2004-06-27 21:29:50.711871000 +0000
+++ work/debug.8 2004-06-27 21:30:54.931871000 +0000
@@ -1,8 +1,8 @@
-.TH debug 8 "November 8 1998" "CCC" "Corel NetWinder Utilities"
+.TH nwdebug 8 "November 8 1998" "CCC" "Corel NetWinder Utilities"
.SH NAME
-debug \- low-level hardware debugger utility
+nwdebug \- low-level hardware debugger utility
.SH SYNOPSIS
-.B debug
+.B nwdebug
.SH DESCRIPTION
This program allows you to display and/or modify memory or I/O registers.
It bears some resemblance to the DOS program of the same name. This is not
@@ -22,8 +22,8 @@
ie. what the CPU sees at one particular address will be addressed at a
different address if a PCI device needs to do DMA.
.SH FILES
-.I /sbin/debug
-.I /man/man8/debug.8
+.I /sbin/nwdebug
+.I /man/man8/nwdebug.8
.SH DIAGNOSTICS
The program must be run by the super-user or it will fail with a polite
error message. This is to avoid arbitrary users from writing values into