aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvbcut
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2007-08-19 10:22:45 +0000
committerStefan Eßer <se@FreeBSD.org>2007-08-19 10:22:45 +0000
commitc8445bf54018722d296d3c133645b33e9f4bb2a1 (patch)
tree907313fcddc768138c9756ac4bdd752666f95728 /multimedia/dvbcut
parent75f81dae8ac5a8c13421ba7f07263fdd23db112d (diff)
downloadports-c8445bf54018722d296d3c133645b33e9f4bb2a1.tar.gz
ports-c8445bf54018722d296d3c133645b33e9f4bb2a1.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).
Notes
Notes: svn path=/head/; revision=197908
Diffstat (limited to 'multimedia/dvbcut')
-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)