diff options
author | miwi <miwi@FreeBSD.org> | 2007-05-30 15:43:39 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-05-30 15:43:39 +0800 |
commit | c2e6a0e898e95772b4cc04c2c2896841d127981f (patch) | |
tree | f7dbe70f22520a664b4b7a1e50a72cf245049197 /multimedia | |
parent | d9b85132acb1b5d21631fe2b8bd8b3e1226be900 (diff) | |
download | freebsd-ports-gnome-c2e6a0e898e95772b4cc04c2c2896841d127981f.tar.gz freebsd-ports-gnome-c2e6a0e898e95772b4cc04c2c2896841d127981f.tar.zst freebsd-ports-gnome-c2e6a0e898e95772b4cc04c2c2896841d127981f.zip |
- Fix build with gcc 4.2
PR: 113093
Submitted by: Anish Mistry <amistry@am-productions.biz> (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/avidemux2/Makefile | 2 | ||||
-rw-r--r-- | multimedia/avidemux2/files/patch-avidemux_ADM_lavformat_ADM_lavformat.cpp | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile index 9ad182842b72..fe99a2053eb3 100644 --- a/multimedia/avidemux2/Makefile +++ b/multimedia/avidemux2/Makefile @@ -7,7 +7,7 @@ PORTNAME= avidemux2 PORTVERSION= 2.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://fixounet.free.fr/avidemux/ \ ${MASTER_SITE_BERLIOS} diff --git a/multimedia/avidemux2/files/patch-avidemux_ADM_lavformat_ADM_lavformat.cpp b/multimedia/avidemux2/files/patch-avidemux_ADM_lavformat_ADM_lavformat.cpp new file mode 100644 index 000000000000..52fdd95b59db --- /dev/null +++ b/multimedia/avidemux2/files/patch-avidemux_ADM_lavformat_ADM_lavformat.cpp @@ -0,0 +1,28 @@ +--- avidemux/ADM_lavformat/ADM_lavformat.cpp.orig Mon May 28 10:32:13 2007 ++++ avidemux/ADM_lavformat/ADM_lavformat.cpp Mon May 28 10:33:09 2007 +@@ -260,10 +260,12 @@ + switch(_fps1000) + { + case 25000: ++ { + c->time_base= (AVRational){1001,25025}; + //c->frame_rate = 25025; + //c->frame_rate_base = 1001; + break; ++ } + case 23976: + /* + c->frame_rate = 24000; +@@ -276,10 +278,12 @@ + break; + } + case 29970: ++ { + c->time_base= (AVRational){1001,30000}; + //c->frame_rate = 30000; + //c->frame_rate_base = 1001; + break; ++ } + default: + if(_type==MUXER_MP4 || _type==MUXER_PSP) + { |