Better fix for gcc3 inline function size limit; from form@.

Help with testing sturm@ naddy@.
This commit is contained in:
grange 2004-11-07 11:13:12 +00:00
parent 182373cbb4
commit 3bf39a6b9a
2 changed files with 2 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2004/10/29 08:37:08 grange Exp $
# $OpenBSD: Makefile,v 1.4 2004/11/07 11:13:12 grange Exp $
COMMENT= "IPv4/IPv6 traffic collector"
@ -17,7 +17,7 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/
MAKE_ENV= BINDIR=${TRUEPREFIX}/sbin MANDIR=${TRUEPREFIX}/man/cat
CFLAGS+= -DCNUPM_USER=\"_cnupm\"
CFLAGS+= -DCNUPM_USER=\"_cnupm\" -finline-limit-1000
FLAVORS= static
FLAVOR?=

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-cnupm_collect_c,v 1.1 2004/11/04 05:08:00 grange Exp $
--- cnupm/collect.c.orig Wed Nov 3 23:31:56 2004
+++ cnupm/collect.c Wed Nov 3 23:32:09 2004
@@ -83,7 +83,7 @@ int collect_ports = 1;
RB_HEAD(ct_tree, ct_entry) ct_head;
-static __inline int
+static int
ct_entry_compare(struct ct_entry *a, struct ct_entry *b)
{
int diff;