Add fix for -fno-common

This commit is contained in:
benoit 2021-01-30 07:14:29 +00:00
parent 80d4fd60ce
commit 936a7b9b81
2 changed files with 17 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2019/07/12 20:51:04 sthen Exp $
# $OpenBSD: Makefile,v 1.11 2021/01/30 07:14:29 benoit Exp $
COMMENT= passive web application security assessment tool
DISTNAME= ratproxy-1.58
REVISION= 1
REVISION = 2
CATEGORIES= www security
FIX_EXTRACT_PERMISSIONS=Yes

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-ssl_h,v 1.1 2021/01/30 07:14:29 benoit Exp $
Fix -fno-common build failure.
--- ssl.h.org Sat Jan 30 08:09:44 2021
+++ ssl.h Sat Jan 30 08:09:56 2021
@@ -25,7 +25,7 @@
#include "types.h"
-_s32 ssl_cli_tap, ssl_srv_tap;
+extern _s32 ssl_cli_tap, ssl_srv_tap;
void ssl_setup(void);