diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2021-04-10 22:32:46 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2021-04-10 23:50:51 +0000 |
commit | d7ef5c4e1cf7c952ab1b3d2113dce9a5e108820f (patch) | |
tree | c1c1ed51274e9691f0865f8ccb5e0ac1d0b48318 /audio/harp/files/patch-plugins_vorbis_vorbis.c | |
parent | 23b483f91717bbb3f357f1ddc668f1c63c1c4820 (diff) | |
download | ports-d7ef5c4e1cf7c952ab1b3d2113dce9a5e108820f.tar.gz ports-d7ef5c4e1cf7c952ab1b3d2113dce9a5e108820f.zip |
audio/harp: fix build on 13- and 14-
Multiple "plugins" defined a translation-unit global variable `h`,
leading to linker errors. Those are supposed to be used only
from that TU, so make them static, drop BROKEN, and bump
PORTREVISION because there is a microscopic change in symbols
in the package.
Diffstat (limited to 'audio/harp/files/patch-plugins_vorbis_vorbis.c')
-rw-r--r-- | audio/harp/files/patch-plugins_vorbis_vorbis.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/harp/files/patch-plugins_vorbis_vorbis.c b/audio/harp/files/patch-plugins_vorbis_vorbis.c new file mode 100644 index 000000000000..673a245720de --- /dev/null +++ b/audio/harp/files/patch-plugins_vorbis_vorbis.c @@ -0,0 +1,11 @@ +--- plugins/vorbis/vorbis.c.orig 2021-04-10 21:47:11 UTC ++++ plugins/vorbis/vorbis.c +@@ -21,7 +21,7 @@ + + #define VORB_CONTINUE (-50) + +-struct vorbisHandles{ ++static struct vorbisHandles{ + OggVorbis_File *vf; + unsigned int *total; + int rate; |