Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-mgmt/send: fix build with -fno-common
Declare two external variables as extern properly. This unbreaks the build on FreeBSD 13+. While we are at it, add missing USES=ncurses. Approved by: portmgr (build fix blanket)
- Loading branch information
1 parent
da38f71
commit beea7cf
Showing
3 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
net-mgmt/send/files/patch-libs-libpkixipext-pkixip_ext_gram.y
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- sendd/params_gram.y.orig 2023-04-11 00:49:19 UTC | ||
+++ sendd/params_gram.y | ||
@@ -77,7 +77,7 @@ static void yyerror(char *); | ||
extern char *params_text; | ||
extern int params_lex(void); | ||
|
||
-int params_linecnt; | ||
+extern int params_linecnt; | ||
|
||
static const char *derfile; | ||
static const char *keyfile; |