1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Fix ntraceroute on 64-bit systems.

PR:		ports/103988
Submitted by:	fenner
This commit is contained in:
Bruce M Simpson 2006-10-04 21:52:49 +00:00
parent 8cea503c48
commit 389beea239
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174487
2 changed files with 16 additions and 5 deletions

View File

@ -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 \

View File

@ -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
/*