ntop 3.3.10_0 fails to patch under Snow Leopard
Biko:~ sck$ sudo port selfupdate && port outdated
---> Updating the ports tree
---> Updating MacPorts base sources using rsync
MacPorts base version 1.8.2 installed,
MacPorts base version 1.8.2 downloaded.
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
The following installed ports are outdated:
ntop 3.3.9_2 < 3.3.10_0
Biko:~ sck$ sudo port clean ntop
---> Cleaning ntop
Biko:~ sck$ sudo port upgrade ntop
---> Computing dependencies for ntop
---> Fetching ntop
---> Verifying checksum(s) for ntop
---> Extracting ntop
---> Applying patches to ntop
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/work/ntop-3.3.10" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/ntop/files/patch-external-geoip.diff'" returned error 1
Command output: patching file configure.in
Hunk #1 FAILED at 1883.
Hunk #2 FAILED at 2048.
2 out of 2 hunks FAILED -- saving rejects to file configure.in.rej
patching file initialize.c
Hunk #1 FAILED at 467.
Hunk #2 FAILED at 484.
2 out of 2 hunks FAILED -- saving rejects to file initialize.c.rej
patching file Makefile.am
Error: Unable to upgrade port: 1
Before reporting a bug, first run the command again with the -d flag to get complete output.
Biko:~ sck$
configure.in.rej