aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/axel/files/patch-src_conf.h
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-01-22 12:32:07 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2023-01-22 12:33:00 -0800
commit56ca26b6882feb87c3132fd0448cdb633aa1a679 (patch)
treec029b771bda2871eedd20559088496130aea81ec /ftp/axel/files/patch-src_conf.h
parent4cbc811bc9f0b1c36afec483edbb883ae32ad653 (diff)
ftp/axel: Fix build on some systems due to the conflict with if_t symbol
Reported by: fallout
Diffstat (limited to 'ftp/axel/files/patch-src_conf.h')
-rw-r--r--ftp/axel/files/patch-src_conf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ftp/axel/files/patch-src_conf.h b/ftp/axel/files/patch-src_conf.h
new file mode 100644
index 000000000000..fc8be24b838b
--- /dev/null
+++ b/ftp/axel/files/patch-src_conf.h
@@ -0,0 +1,13 @@
+- workaround for https://github.com/axel-download-accelerator/axel/issues/399
+
+--- src/conf.h.orig 2023-01-22 20:27:54 UTC
++++ src/conf.h
+@@ -65,7 +65,7 @@ typedef struct {
+ AXEL_PROGRESS_STYLE_PERCENTAGE,
+ } progress_style;
+
+- if_t *interfaces;
++ if_t_ *interfaces;
+
+ sa_family_t ai_family;
+