Skip to content
Permalink
Browse files

sysutils/pftop: no hay ALTQ

  • Loading branch information
fichtner committed Nov 2, 2016
1 parent a6d92bc commit bc90a5c9d08559048aac926e95fcac5cd7870c4f
Showing with 13 additions and 25 deletions.
  1. +2 −2 sysutils/pftop/Makefile
  2. +11 −23 sysutils/pftop/files/patch-config.h
@@ -3,7 +3,7 @@

PORTNAME= pftop
PORTVERSION= 0.7
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= sysutils net
MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/

@@ -20,7 +20,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bpf_dump.c \
.endif

MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=45
CFLAGS+= -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
CFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cache.c \
${FILESDIR}/extra-patch-cache.h \
${FILESDIR}/extra-patch-config.h \
@@ -1,23 +1,11 @@
*** config.h.orig Sat Jan 21 04:39:55 2006
--- config.h Sat Jan 21 04:40:15 2006
***************
*** 23,31 ****

#if OS_LEVEL > 32
#define HAVE_ADDR_MASK
#define HAVE_ADDR_TYPE
! #define HAVE_ALTQ
#define HAVE_RULE_TOS
#define HAVE_OP_RRG
#endif

--- 23,31 ----

#if OS_LEVEL > 32
#define HAVE_ADDR_MASK
#define HAVE_ADDR_TYPE
! /* #define HAVE_ALTQ */
#define HAVE_RULE_TOS
#define HAVE_OP_RRG
#endif

--- config.h.orig 2016-11-02 12:16:30 UTC
+++ config.h
@@ -42,7 +42,7 @@
#if OS_LEVEL > 32
#define HAVE_ADDR_MASK
#define HAVE_ADDR_TYPE
-#define HAVE_ALTQ
+/* #define HAVE_ALTQ */
#define HAVE_RULE_TOS
#define HAVE_OP_RRG
#endif

0 comments on commit bc90a5c

Please sign in to comment.
You can’t perform that action at this time.