bird/1: -fno-common fix from upstream
This commit is contained in:
parent
898c0de739
commit
2770feb5b0
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2020/08/01 11:20:57 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2021/02/01 20:15:46 sthen Exp $
|
||||
|
||||
COMMENT-main= ${COMMENT}
|
||||
COMMENT-doc= ${COMMENT} (documentation)
|
||||
@ -6,6 +6,7 @@ COMMENT-doc= ${COMMENT} (documentation)
|
||||
PORTROACH= limit:^1\.
|
||||
DISTNAME= bird-1.6.8
|
||||
REVISION= 0
|
||||
REVISION-main= 1
|
||||
|
||||
WANTLIB-main= c curses pthread readline
|
||||
|
||||
|
19
net/bird/1/patches/patch-sysdep_unix_krt_h
Normal file
19
net/bird/1/patches/patch-sysdep_unix_krt_h
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-sysdep_unix_krt_h,v 1.1 2021/02/01 20:15:46 sthen Exp $
|
||||
|
||||
From e4f91ee4cb11a10df6a61ab4ffcdc8e2da3c3483 Mon Sep 17 00:00:00 2001
|
||||
From: Vincent Bernat <vincent@bernat.ch>
|
||||
Date: Mon, 28 Sep 2020 16:30:56 +0200
|
||||
Subject: [PATCH] Unix: fix compilation with GCC 10
|
||||
|
||||
Index: sysdep/unix/krt.h
|
||||
--- sysdep/unix/krt.h.orig
|
||||
+++ sysdep/unix/krt.h
|
||||
@@ -112,7 +112,7 @@ struct kif_proto {
|
||||
struct kif_state sys; /* Sysdep state */
|
||||
};
|
||||
|
||||
-struct kif_proto *kif_proto;
|
||||
+extern struct kif_proto *kif_proto;
|
||||
|
||||
#define KIF_CF ((struct kif_config *)p->p.cf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user