Sun Aug 6 09:12:15 2023 UTC ()
gst-plugins1-bad: use gnu99 mode for posix function visibility


(nia)
diff -r1.45 -r1.46 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common

cvs diff -r1.45 -r1.46 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common (expand / switch to unified diff)

--- pkgsrc/multimedia/gst-plugins1-bad/Makefile.common 2023/08/02 16:17:17 1.45
+++ pkgsrc/multimedia/gst-plugins1-bad/Makefile.common 2023/08/06 09:12:15 1.46
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.45 2023/08/02 16:17:17 nia Exp $ 1# $NetBSD: Makefile.common,v 1.46 2023/08/06 09:12:15 nia Exp $
2# used by audio/gst-plugins1-dts/Makefile 2# used by audio/gst-plugins1-dts/Makefile
3# used by audio/gst-plugins1-faac/Makefile 3# used by audio/gst-plugins1-faac/Makefile
4# used by audio/gst-plugins1-faad/Makefile 4# used by audio/gst-plugins1-faad/Makefile
5# used by audio/gst-plugins1-fluidsynth/Makefile 5# used by audio/gst-plugins1-fluidsynth/Makefile
6# used by audio/gst-plugins1-gme/Makefile 6# used by audio/gst-plugins1-gme/Makefile
7# used by audio/gst-plugins1-ladspa/Makefile 7# used by audio/gst-plugins1-ladspa/Makefile
8# used by audio/gst-plugins1-lv2/Makefile 8# used by audio/gst-plugins1-lv2/Makefile
9# used by audio/gst-plugins1-modplug/Makefile 9# used by audio/gst-plugins1-modplug/Makefile
10# used by audio/gst-plugins1-musepack/Makefile 10# used by audio/gst-plugins1-musepack/Makefile
11# used by audio/gst-plugins1-sndfile/Makefile 11# used by audio/gst-plugins1-sndfile/Makefile
12# used by audio/gst-plugins1-soundtouch/Makefile 12# used by audio/gst-plugins1-soundtouch/Makefile
13# used by graphics/gst-plugins1-webp/Makefile 13# used by graphics/gst-plugins1-webp/Makefile
14# used by multimedia/gst-plugins1-aom/Makefile 14# used by multimedia/gst-plugins1-aom/Makefile
@@ -23,27 +23,28 @@ @@ -23,27 +23,28 @@
23.include "../../multimedia/gstreamer1/version.mk" 23.include "../../multimedia/gstreamer1/version.mk"
24 24
25DISTNAME= gst-plugins-bad-${GST_VERSION} 25DISTNAME= gst-plugins-bad-${GST_VERSION}
26MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-plugins-bad/ 26MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-plugins-bad/
27EXTRACT_SUFX= .tar.xz 27EXTRACT_SUFX= .tar.xz
28 28
29USE_LANGUAGES= c c++ 29USE_LANGUAGES= c c++
30USE_TOOLS+= pkg-config 30USE_TOOLS+= pkg-config
31 31
32DISTINFO_FILE= ${.CURDIR}/../../multimedia/gst-plugins1-bad/distinfo 32DISTINFO_FILE= ${.CURDIR}/../../multimedia/gst-plugins1-bad/distinfo
33PATCHDIR= ${.CURDIR}/../../multimedia/gst-plugins1-bad/patches 33PATCHDIR= ${.CURDIR}/../../multimedia/gst-plugins1-bad/patches
34 34
35# "error: 'for' loop initial declarations are only allowed in C99 mode" 35# "error: 'for' loop initial declarations are only allowed in C99 mode"
36FORCE_C_STD= c99 36# needs default visibility for fdopen (etc.) on some platforms
 37FORCE_C_STD= gnu99
37 38
38PKGCONFIG_OVERRIDE= output/pkgconfig/*.pc 39PKGCONFIG_OVERRIDE= output/pkgconfig/*.pc
39PKGCONFIG_OVERRIDE_STAGE= pre-install 40PKGCONFIG_OVERRIDE_STAGE= pre-install
40 41
41PYTHON_VERSIONS_INCOMPATIBLE= 27 42PYTHON_VERSIONS_INCOMPATIBLE= 27
42PYTHON_FOR_BUILD_ONLY= tool 43PYTHON_FOR_BUILD_ONLY= tool
43 44
44# grep '^option' meson_options.txt | grep feature | \ 45# grep '^option' meson_options.txt | grep feature | \
45# sed -e "s/',.*//g" -e "s/option('//g" | \ 46# sed -e "s/',.*//g" -e "s/option('//g" | \
46# xargs printf 'GST_PLUGINS_SET+=\t%s\n' 47# xargs printf 'GST_PLUGINS_SET+=\t%s\n'
47 48
48# unpackaged dependencies: 49# unpackaged dependencies:
49# dssim 50# dssim