Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 16:17:28 +0200 (CEST)
From:      Florian Smeets <flo@kasimir.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nishida@sfc.wide.ad.jp
Subject:   ports/135707: [PATCH] net/tcpillust: update to 2.01, unbreak on 8-CURRENT
Message-ID:  <20090618141728.869DA39B1E@280r.solomo.de>
Resent-Message-ID: <200906181420.n5IEK1jR033641@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135707
>Category:       ports
>Synopsis:       [PATCH] net/tcpillust: update to 2.01, unbreak on 8-CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 18 14:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Florian Smeets
>Release:        FreeBSD 8.0-CURRENT sparc64
>Organization:
>Environment:
System: FreeBSD 280r.solomo.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Tue Jun 16 16:47:44 CEST 2009
>Description:
- Update to 2.01
- add patch to fix the build after the removal of net/slip.h

Added file(s):
- files/patch-binread.c

Port maintainer (nishida@sfc.wide.ad.jp) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- tcpillust-2.01.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/tcpillust.orig/Makefile /usr/ports/net/tcpillust/Makefile
--- /usr/ports/net/tcpillust.orig/Makefile	2009-06-18 13:46:51.000000000 +0200
+++ /usr/ports/net/tcpillust/Makefile	2009-06-18 14:44:01.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	tcpillust
-PORTVERSION=	2.01a
-PORTREVISION=	1
+PORTVERSION=	2.01
 CATEGORIES=	net tcl tk
 MASTER_SITES=	http://www.jp.nishida.org/tcpillust/
 
@@ -50,10 +49,4 @@
 	${INSTALL_DATA} ${WRKSRC}/sample/* ${DOCSDIR}
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800064
-BROKEN=		does not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/tcpillust.orig/distinfo /usr/ports/net/tcpillust/distinfo
--- /usr/ports/net/tcpillust.orig/distinfo	2009-06-18 13:46:51.000000000 +0200
+++ /usr/ports/net/tcpillust/distinfo	2009-06-18 14:50:28.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (tcpillust-2.01a.tar.gz) = 316da48755e6fdac5c2652d54964e935
-SHA256 (tcpillust-2.01a.tar.gz) = c8124986317971dbe0c5e15d4c4c61a58d9645a7bed84f17e5fb54961673e433
-SIZE (tcpillust-2.01a.tar.gz) = 101794
+MD5 (tcpillust-2.01.tar.gz) = 316da48755e6fdac5c2652d54964e935
+SHA256 (tcpillust-2.01.tar.gz) = c8124986317971dbe0c5e15d4c4c61a58d9645a7bed84f17e5fb54961673e433
+SIZE (tcpillust-2.01.tar.gz) = 101794
diff -ruN --exclude=CVS /usr/ports/net/tcpillust.orig/files/patch-binread.c /usr/ports/net/tcpillust/files/patch-binread.c
--- /usr/ports/net/tcpillust.orig/files/patch-binread.c	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/net/tcpillust/files/patch-binread.c	2009-06-18 16:15:35.000000000 +0200
@@ -0,0 +1,16 @@
+--- binread.c.orig	2009-06-18 16:05:29.000000000 +0200
++++ binread.c	2009-06-18 16:06:26.000000000 +0200
+@@ -35,8 +35,13 @@
+ #if defined (linux) || defined(__APPLE__)
+ #define __FAVOR_BSD
+ #else
++#if defined(__FreeBSD__)
++#include <osreldate.h>
++#if __FreeBSD_version < 800064
+ #include <net/slip.h>
+ #endif
++#endif
++#endif
+ #include <netinet/in.h>
+ #include <netinet/in_systm.h>
+ #include <net/if.h>
--- tcpillust-2.01.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090618141728.869DA39B1E>