aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dvbcut/files
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2007-08-19 18:22:45 +0800
committerse <se@FreeBSD.org>2007-08-19 18:22:45 +0800
commit16799e9de032cd889fd5f023d20ae9ef7d56043e (patch)
treeaecb158d2b9ad45bc2d9eae97de77d157e0aa6fc /multimedia/dvbcut/files
parent62b2f29b023a35a0930b5084bf46f4973c40618e (diff)
downloadfreebsd-ports-gnome-16799e9de032cd889fd5f023d20ae9ef7d56043e.tar.gz
freebsd-ports-gnome-16799e9de032cd889fd5f023d20ae9ef7d56043e.tar.zst
freebsd-ports-gnome-16799e9de032cd889fd5f023d20ae9ef7d56043e.zip
This port depends on ffmpegg and was broken by a change in ffmpeg (the
sources, not the FreeBSD port), again. It is hard to catch up with all the API changes ffmpeg sees every few weeks. A similar patch will probably be required in other ports that depend on ffmpeg and that use the same method to access encoders/decoders. This port remains broken until the ffmpeg port installs the new header (allcodecs.h), which seems to have been forgotten by the ffmpeg developers (and until the ffmpeg port has added that file to its PLIST).
Diffstat (limited to 'multimedia/dvbcut/files')
-rw-r--r--multimedia/dvbcut/files/patch-psfile.cpp7
-rw-r--r--multimedia/dvbcut/files/patch-tsfile.cpp7
2 files changed, 8 insertions, 6 deletions
diff --git a/multimedia/dvbcut/files/patch-psfile.cpp b/multimedia/dvbcut/files/patch-psfile.cpp
index d4864d6b90a5..822a4193d31d 100644
--- a/multimedia/dvbcut/files/patch-psfile.cpp
+++ b/multimedia/dvbcut/files/patch-psfile.cpp
@@ -1,11 +1,12 @@
---- src/psfile.cpp~ Fri Apr 13 19:36:27 2007
-+++ src/psfile.cpp 2007-07-17 01:11:44 +0200
+--- src/psfile.cpp~ 2007-04-13 19:36:27.000000000 +0200
++++ src/psfile.cpp 2007-08-19 11:51:11.554951537 +0200
@@ -19,7 +19,9 @@
#include "psfile.h"
#include "streamhandle.h"
#include "stream.h"
+extern "C" {
- #include <ffmpeg/avcodec.h>
+-#include <ffmpeg/avcodec.h>
++#include <ffmpeg/allcodecs.h>
+}
psfile::psfile(const std::string &filename, inbuffer &b, int initial_offset)
diff --git a/multimedia/dvbcut/files/patch-tsfile.cpp b/multimedia/dvbcut/files/patch-tsfile.cpp
index 7f1366908076..897e766ec539 100644
--- a/multimedia/dvbcut/files/patch-tsfile.cpp
+++ b/multimedia/dvbcut/files/patch-tsfile.cpp
@@ -1,11 +1,12 @@
---- src/tsfile.cpp~ Fri Apr 13 19:36:27 2007
-+++ src/tsfile.cpp 2007-07-17 01:12:25 +0200
+--- src/tsfile.cpp~ 2007-04-13 19:36:27.000000000 +0200
++++ src/tsfile.cpp 2007-08-19 11:51:32.753587432 +0200
@@ -22,7 +22,9 @@
#include <list>
#include <utility>
+extern "C" {
- #include <ffmpeg/avcodec.h>
+-#include <ffmpeg/avcodec.h>
++#include <ffmpeg/allcodecs.h>
+}
tsfile::tsfile(const std::string &filename, inbuffer &b, int initial_offset)