[MacPorts] #64913: vlang fails for PowerPC: -latomic flag needed, Header file <sys/errno.h>, needed for module `sync` was not found
MacPorts
noreply at macports.org
Fri Apr 15 13:25:15 UTC 2022
#64913: vlang fails for PowerPC: -latomic flag needed, Header file <sys/errno.h>,
needed for module `sync` was not found
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: harens
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, snowleopard
Port: vlang |
---------------------------+-------------------------------------------
Comment (by harens):
> Yes, I will do that today, I hope. Line numbers did not change with the
latest version update?
Good catch. Here's the updated version:
{{{#!sh
> sudo port extract vlang
> # Remove errno header
> sudo sed -i "" "10d" "$(port work
vlang)/v-weekly.2022.15/vlib/sync/sync_darwin.c.v"
> # Remove -no-pie flag
> sudo sed -i "" "255d" "$(port work
vlang)/v-weekly.2022.15/vlib/v/builder/cc.v"
> sudo sed -i "" "91657d" "$(port work vlang)/vc-
48b30963c895f6b0d9aa353066a286c100b56b0c/v.c"
> # Remove Objective-C Flag
> sudo sed -i "" "337d" "$(port work
vlang)/v-weekly.2022.15/vlib/v/builder/cc.v"
> sudo sed -i "" "91730d" "$(port work vlang)/vc-
48b30963c895f6b0d9aa353066a286c100b56b0c/v.c"
> sudo port -o install vlang
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64913#comment:32>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list