slackbuilds_ponce/multimedia/vobsub2srt/climits.diff
Andrew Clemons 36dad0dc23
multimedia/vobsub2srt: Fix build with newer g++.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-02-21 14:31:07 +07:00

11 lines
398 B
Diff

diff -Naur VobSub2SRT-1.0pre7.orig/src/vobsub2srt.c++ VobSub2SRT-1.0pre7/src/vobsub2srt.c++
--- VobSub2SRT-1.0pre7.orig/src/vobsub2srt.c++ 2015-08-31 05:45:47.000000000 +1200
+++ VobSub2SRT-1.0pre7/src/vobsub2srt.c++ 2022-02-21 20:17:27.612072700 +1300
@@ -30,6 +30,7 @@
#include <string>
#include <cstdio>
#include <vector>
+#include <climits>
using namespace std;
#include "langcodes.h++"