summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-23 03:25:29 +0000
committerSam James <sam@gentoo.org>2022-11-23 03:25:29 +0000
commitda92fccebd1473ea4f1c6ce5e1647ac04ce7023d (patch)
tree1e9db965b386486ac4f5b03884c64438c87a2b33 /media-libs/libogg
parentmedia-libs/opus: EAPI 8, fix -Wstrict-prototypes in configure (diff)
downloadgentoo-da92fccebd1473ea4f1c6ce5e1647ac04ce7023d.tar.gz
gentoo-da92fccebd1473ea4f1c6ce5e1647ac04ce7023d.tar.bz2
gentoo-da92fccebd1473ea4f1c6ce5e1647ac04ce7023d.zip
media-libs/libogg: EAPI 8, fix -Wstrict-prototypes in configure
We may well have people proactively trying to use it and it's cheap to fix & build. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libogg')
-rw-r--r--media-libs/libogg/files/libogg-1.3.5-macro-wstrict-prototypes.patch20
-rw-r--r--media-libs/libogg/libogg-1.3.5-r1.ebuild (renamed from media-libs/libogg/libogg-1.3.5.ebuild)3
2 files changed, 22 insertions, 1 deletions
diff --git a/media-libs/libogg/files/libogg-1.3.5-macro-wstrict-prototypes.patch b/media-libs/libogg/files/libogg-1.3.5-macro-wstrict-prototypes.patch
new file mode 100644
index 000000000000..3da8dc74c614
--- /dev/null
+++ b/media-libs/libogg/files/libogg-1.3.5-macro-wstrict-prototypes.patch
@@ -0,0 +1,20 @@
+https://gitlab.xiph.org/xiph/ogg/-/merge_requests/14
+
+From f6097edcf4fe5ff40077fec7733fe32827f75128 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Wed, 23 Nov 2022 03:23:55 +0000
+Subject: [PATCH] ogg.m4: fix -Wstrict-prototypes
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/ogg.m4
++++ b/ogg.m4
+@@ -62,7 +62,7 @@ dnl
+ #include <string.h>
+ #include <ogg/ogg.h>
+
+-int main ()
++int main (void)
+ {
+ system("touch conf.oggtest");
+ return 0;
+GitLab
diff --git a/media-libs/libogg/libogg-1.3.5.ebuild b/media-libs/libogg/libogg-1.3.5-r1.ebuild
index e7006959b9f2..438b3c5c4cc0 100644
--- a/media-libs/libogg/libogg-1.3.5.ebuild
+++ b/media-libs/libogg/libogg-1.3.5-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit multilib-minimal
@@ -16,6 +16,7 @@ IUSE="static-libs"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.4-libdir-m4.patch
+ "${FILESDIR}"/${PN}-1.3.5-macro-wstrict-prototypes.patch
)
MULTILIB_WRAPPED_HEADERS=(