This wrapper is useful independently of pandoc-drawio-filter — it's
useful in any other situation in which somebody might want to use
draw.io diagrams in a build process.
So, make it accessible from the top level to facilitate reuse.
Without the change build fails on upstream gcc-10 as:
ld: ./.libs/libykpers_args.a(ykpers-args.o):/build/ykpers-1.20.0/ykpers-args.h:36:
multiple definition of `usage'; ykpersonalize.o:/build/ykpers-1.20.0/ykpers-args.h:36: first defined here
btrfs-progs currently builds the Python bindings for libbtrfsutil but doesn't
actually install them. With this patch, the bindings are installed and exposed
as python3Packages.btrfsutil.
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: liblsh.a(unix_user.o):/build/lsh-2.0.4/src/server_userauth.h:108: multiple definition of
`server_userauth_none_preauth'; lshd.o:/build/lsh-2.0.4/src/server_userauth.h:108: first defined here
This was added in 07d12fbef1 ("fontforge: get rid of output hash
depending on git"), to explain the line:
export GIT="$(type -P true)".
This line was removed in e9848d11ad ("fontforge: 20190801 -> 20200314"),
but I forgot to remove the comment.
Fixes: e9848d11ad ("fontforge: 20190801 -> 20200314")
Without the change build fails on upstream gcc-10 as:
ld: /build/ccadKet8.o:/build/source/cloudfsapi.h:73: multiple definition of
`public_container'; /build/ccoYHN4x.o:/build/source/cloudfsapi.h:73: first defined here
Has a few fixes. Among other things fixes upstream gcc-10 build failure:
ld: bt-agent.o:(.bss+0x0): multiple definition of `agent_need_unregister';
lib/agent-helper.o:(.bss+0x0): first defined here