Skip to content

Commit

Permalink
sysutils/pftop: no hay ALTQ
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Nov 2, 2016
1 parent a6d92bc commit bc90a5c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 25 deletions.
4 changes: 2 additions & 2 deletions sysutils/pftop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand All @@ -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 \
Expand Down
34 changes: 11 additions & 23 deletions sysutils/pftop/files/patch-config.h
Original file line number Diff line number Diff line change
@@ -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.