mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
community/handbrake: fix build with GCC 14
This commit is contained in:
parent
c9bab9db22
commit
a777a84958
@ -55,6 +55,7 @@ subpackages="$pkgname-lang $pkgname-gtk"
|
||||
source="https://github.com/HandBrake/HandBrake/releases/download/$pkgver/HandBrake-$pkgver-source.tar.bz2
|
||||
handbrake-9999-remove-dvdnav-dup.patch
|
||||
fix-missing-x265-link-flag.patch
|
||||
gcc14.patch
|
||||
"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
options="!check"
|
||||
@ -115,4 +116,5 @@ sha512sums="
|
||||
e5cc0fee5bf063c4cdb8f64a772dac6800a7214bfdc65042c121e0e81878599fe615b499ebf6466bb78740314374ad8b8fa364fb24ff86852183e7dbbf565617 HandBrake-1.6.1-source.tar.bz2
|
||||
a3d57dd37d518286a62554cfcc4722d6fd588a0c3966d30785100edc4476febb2b48fc4f9b2a7eb5b5dc049043fabd4398e1e190e10cbd63c25b2936824977d3 handbrake-9999-remove-dvdnav-dup.patch
|
||||
59dc985a3664849556890bd92abc7e652e47ace066f33894d518abe97439bedc00c7cc6832ec49e81aea509b51ff6b64888bfbf32d74a03634bd6578aecee3f0 fix-missing-x265-link-flag.patch
|
||||
3dd33ec338d4b479c2c4c6492f2c23b3d48fadb9089e8e22e5f4b381f920d0db95720d70ca1007989ceb613e06accfa3b0d5124aecbb3fe509d09d00cbd3a1dc gcc14.patch
|
||||
"
|
||||
|
30
community/handbrake/gcc14.patch
Normal file
30
community/handbrake/gcc14.patch
Normal file
@ -0,0 +1,30 @@
|
||||
--- HandBrake-1.6.1.orig/libhb/encavcodec.c
|
||||
+++ HandBrake-1.6.1/libhb/encavcodec.c
|
||||
@@ -8,6 +8,7 @@
|
||||
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
+#include <time.h>
|
||||
#include "handbrake/handbrake.h"
|
||||
#include "handbrake/hb_dict.h"
|
||||
#include "handbrake/hbffmpeg.h"
|
||||
--- HandBrake-1.6.1.orig/libhb/muxavformat.c
|
||||
+++ HandBrake-1.6.1/libhb/muxavformat.c
|
||||
@@ -7,6 +7,7 @@
|
||||
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
+#include <time.h>
|
||||
#include <ogg/ogg.h>
|
||||
#include "libavcodec/bsf.h"
|
||||
#include "libavformat/avformat.h"
|
||||
--- HandBrake-1.6.1.orig/libhb/work.c
|
||||
+++ HandBrake-1.6.1/libhb/work.c
|
||||
@@ -7,6 +7,7 @@
|
||||
For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
+#include <time.h>
|
||||
#include "handbrake/handbrake.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include "handbrake/decomb.h"
|
Loading…
Reference in New Issue
Block a user