diff options
author | bms <bms@FreeBSD.org> | 2006-10-05 05:52:49 +0800 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2006-10-05 05:52:49 +0800 |
commit | 053d58e947dada86171ff70fa440061513946b6a (patch) | |
tree | c95130f2b514d537cd49e0fb830f3a836a3f700f /net | |
parent | 17aaff4cd07638c4cc339e363e8acd3b701a5d13 (diff) | |
download | freebsd-ports-graphics-053d58e947dada86171ff70fa440061513946b6a.tar.gz freebsd-ports-graphics-053d58e947dada86171ff70fa440061513946b6a.tar.zst freebsd-ports-graphics-053d58e947dada86171ff70fa440061513946b6a.zip |
Fix ntraceroute on 64-bit systems.
PR: ports/103988
Submitted by: fenner
Diffstat (limited to 'net')
-rw-r--r-- | net/ntraceroute/Makefile | 10 | ||||
-rw-r--r-- | net/ntraceroute/files/patch-traceroute_640.c | 11 |
2 files changed, 16 insertions, 5 deletions
diff --git a/net/ntraceroute/Makefile b/net/ntraceroute/Makefile index 4b036709aa5..630fad491d8 100644 --- a/net/ntraceroute/Makefile +++ b/net/ntraceroute/Makefile @@ -19,15 +19,15 @@ COMMENT= Ubiquitous network routing analysis tool WRKSRC= ${WRKDIR} -NOMAN= defined +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= . -do-extract: - @${RM} -rf ${WRKDIR} - @${MKDIR} ${WRKDIR} +NOMAN= defined do-build: ${CC} -o ${WRKSRC}/${PORTNAME} -lm \ - ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} + ${WRKSRC}/${DISTFILES} do-install: ${INSTALL} ${COPY} ${STRIP} -o root -g wheel -m 04555 \ diff --git a/net/ntraceroute/files/patch-traceroute_640.c b/net/ntraceroute/files/patch-traceroute_640.c new file mode 100644 index 00000000000..01e1b7e35d9 --- /dev/null +++ b/net/ntraceroute/files/patch-traceroute_640.c @@ -0,0 +1,11 @@ +--- /usr/ports/distfiles/ntraceroute/traceroute_640.c Sun Nov 6 15:43:00 2005 ++++ ./traceroute_640.c Wed Oct 4 11:07:20 2006 +@@ -790,7 +790,7 @@ + struct icmp icmp_probe; + } ip_payload; + #endif /* V6.3.0 */ +-}; ++} __attribute__((packed)); + + #ifdef SPRAY + /* |