Skip to content

Commit

Permalink
lrzsz: update to support clang 16
Browse files Browse the repository at this point in the history
  • Loading branch information
jptrainor authored and mascguy committed Dec 10, 2024
1 parent 113ec12 commit 06adcf0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions comms/lrzsz/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ PortSystem 1.0
name lrzsz
version 0.12.20
revision 4

categories comms
license GPL-2+
maintainers nomaintainer
platforms darwin

description free XMODEM/YMODEM/ZMODEM implementation

long_description ${name} is a Unix communication package providing the \
XMODEM, YMODEM, and ZMODEM file transfer protocols.

homepage https://ohse.de/uwe/software/lrzsz.html
master_sites https://ohse.de/uwe/releases/

Expand All @@ -26,6 +23,14 @@ configure.args --program-transform-name=s/l// \
--mandir=${prefix}/share/man \
--disable-nls

# workaround for clang 16+
if {[string match *clang* ${configure.cc}]} {
configure.cflags-append \
-Wno-implicit-int \
-Wno-error=unknown-warning-option \
-Wno-unknown-warning-option
}

patchfiles implicit.patch \
patch-man-lrz.diff \
patch-man-lsz.diff \
Expand Down

0 comments on commit 06adcf0

Please sign in to comment.