Skip to content

Commit

Permalink
Use patch file.
Browse files Browse the repository at this point in the history
  • Loading branch information
xukl committed Apr 13, 2018
1 parent 2e5f693 commit e75ea4e
Show file tree
Hide file tree
Showing 6 changed files with 166 additions and 2,027 deletions.
28 changes: 5 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,16 @@ See [bsdgames](https://packages.debian.org/wheezy/bsdgames).

### Environments

You should have Cygwin on Windows or msys2 on Windows with the ``ncurses`` lib.
You should have Cygwin on Windows or msys2 on Windows with the ``ncurses-devel`` lib.

### Make

Just get into the root directory of this repo and type `make`.

## Contents

patch.c at hunt/, hunt.c and otto.c at hunt/hunt.


### patch.h
### Apply patches

Included by **otto.c**.

Some definations like `sigblock`, `sigmask`, etc, are added here.

These code are copied from **glibc**.


### hunt.c

Add check `ip->ifa_broadaddr` against `NULL`.
`patch -p0 < patch_file.patch`

### Make

### otto.c
Generate the makefile, then `make`.

Include ../patch.h.

## Run

Expand Down
Loading

0 comments on commit e75ea4e

Please sign in to comment.