1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Submitted by: Patrick MARIE <mycroft@virgaria.org>

Unbreak netdude in -current and bump PORTREVISION.
This commit is contained in:
Foxfair Hu 2003-05-14 07:42:58 +00:00
parent 9d2bb418fc
commit 5fe8bcd942
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80965
3 changed files with 21 additions and 3 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= netdude
PORTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -29,6 +30,12 @@ INSTALL_SHLIB= yes
MAN1= netdude.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
EXTRA_PATCHES= ${FILESDIR}/protocols-fddi::nd_fddi.h.patch
.endif
post-patch:
@${REINPLACE_CMD} -e "s|gtk-config|${GTK_CONFIG}|g" \
-e "s|glib-config|${GLIB_CONFIG}|g" ${WRKSRC}/configure
@ -43,4 +50,4 @@ post-patch:
-e "s|->un.echo.sequence|->icmp_seq|g" \
${WRKSRC}/protocols/icmp/nd_icmp.c
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,11 +1,11 @@
--- protocols/fddi/nd_fddi_callbacks.c.orig Wed Nov 20 21:37:07 2002
+++ protocols/fddi/nd_fddi_callbacks.c Wed Nov 20 21:38:04 2002
@@ -22,7 +22,9 @@
@@ -22,7 +22,8 @@
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include <sys/types.h>
#include <netinet/if_fddi.h>
-#include <netinet/if_fddi.h>
+#define FDDI_K_ALEN 6
#include <netdude/nd_debug.h>

View File

@ -0,0 +1,11 @@
--- protocols/fddi/nd_fddi.h.orig Tue May 13 10:34:37 2003
+++ protocols/fddi/nd_fddi.h Tue May 13 10:40:53 2003
@@ -26,7 +26,7 @@
#ifndef __nd_fddi_h
#define __nd_fddi_h
-#include <netinet/if_fddi.h>
+#include <net/fddi.h>
#include <netdude/nd_gettext.h>
#include <netdude/nd_packet.h>