diff options
author | mat <mat@FreeBSD.org> | 2018-03-29 00:52:58 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-03-29 00:52:58 +0800 |
commit | a812029dda81ea1357100708ecb69fc0d5453a09 (patch) | |
tree | 7d80b7280a8817ac2b805eed017ff5667530ee08 | |
parent | 6714bf68b87af33984c61987034a3aa06373c655 (diff) | |
download | freebsd-ports-gnome-a812029dda81ea1357100708ecb69fc0d5453a09.tar.gz freebsd-ports-gnome-a812029dda81ea1357100708ecb69fc0d5453a09.tar.zst freebsd-ports-gnome-a812029dda81ea1357100708ecb69fc0d5453a09.zip |
Fix build with Perl 5.26.
Sponsored by: Absolight
-rw-r--r-- | news/husky/files/patch-hpt_src_perl.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/news/husky/files/patch-hpt_src_perl.c b/news/husky/files/patch-hpt_src_perl.c new file mode 100644 index 000000000000..b0b95370007a --- /dev/null +++ b/news/husky/files/patch-hpt_src_perl.c @@ -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 |