diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-01 22:40:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-01 22:40:19 +0000 |
commit | 356a572f0ae3dcd010278a0250b3d90c548754e8 (patch) | |
tree | 7b74f73b8cfe28863e9c0875de993d0bd908996c /net/gated/patches | |
parent | da41e88a2a92be466281bed38a8f0f8f977bab29 (diff) | |
download | pkgsrc-356a572f0ae3dcd010278a0250b3d90c548754e8.tar.gz |
Add DragonFly support. Fix va_arg integer promotion problem, bump
revision for that.
Diffstat (limited to 'net/gated/patches')
-rw-r--r-- | net/gated/patches/patch-aj | 21 | ||||
-rw-r--r-- | net/gated/patches/patch-ak | 13 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net/gated/patches/patch-aj b/net/gated/patches/patch-aj new file mode 100644 index 00000000000..6f8cd5b8082 --- /dev/null +++ b/net/gated/patches/patch-aj @@ -0,0 +1,21 @@ +$NetBSD: patch-aj,v 1.1 2006/06/01 22:40:19 joerg Exp $ + +--- src/configs/dragonfly.orig 2004-07-10 22:21:01.000000000 +0200 ++++ src/configs/dragonfly +@@ -11,8 +11,8 @@ mantype bsd42 + + cc cc + #cflags -g +-cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow +-cflags -O -g ++#cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow ++cflags -O -g -DUSE_MMAP + + ldflags -lkvm + +@@ -40,4 +40,4 @@ path_pid /var/run/%s.pid + path_version /var/run/%s.version + path_unix /netbsd + +-protocols bgp egp hello icmp rip ospf iso slsp isis rdisc ++protocols bgp egp icmp rip ospf slsp rdisc diff --git a/net/gated/patches/patch-ak b/net/gated/patches/patch-ak new file mode 100644 index 00000000000..105facf0500 --- /dev/null +++ b/net/gated/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1 2006/06/01 22:40:19 joerg Exp $ + +--- src/str.c.orig 2006-06-01 22:35:58.000000000 +0000 ++++ src/str.c +@@ -226,7 +226,7 @@ static char sccsid[] = "@(#)doprnt.c 5.3 + + #define ARG() \ + _ulong = flags&LONGINT ? va_arg(ap, long) : \ +- flags&SHORTINT ? va_arg(ap, short) : va_arg(ap, int); ++ flags&SHORTINT ? va_arg(ap, int) : va_arg(ap, int); + + #define todigit(c) ((c) - '0') + #define tochar(n) ((n) + '0') |