mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build with Perl 5.26.
Sponsored by: Absolight
This commit is contained in:
parent
8ca44828b2
commit
e3cfe61ef4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465820
1 changed files with 14 additions and 0 deletions
14
news/husky/files/patch-hpt_src_perl.c
Normal file
14
news/husky/files/patch-hpt_src_perl.c
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- hpt/src/perl.c.orig 2018-03-28 16:01:18 UTC
|
||||||
|
+++ hpt/src/perl.c
|
||||||
|
@@ -109,9 +109,9 @@ extern "C" {
|
||||||
|
# define min(a, b) ((a) < (b) ? (a) : (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifdef __GNUC__
|
||||||
|
+/*#ifdef __GNUC__
|
||||||
|
# define Perl___notused Perl___notused __attribute__ ((unused))
|
||||||
|
-#endif
|
||||||
|
+#endif*/
|
||||||
|
|
||||||
|
#ifndef LL_PERL
|
||||||
|
# define LL_PERL LL_EXEC
|
Loading…
Add table
Reference in a new issue