FreeBSD Bugzilla – Attachment 37335 Details for
Bug 59475
Update: multimedia/avifile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.62 KB, created by
Holger Lamm
on 2003-11-19 15:20:17 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Holger Lamm
Created:
2003-11-19 15:20:17 UTC
Size:
2.62 KB
patch
obsolete
>diff -Nur avifile.orig/Makefile avifile/Makefile >--- avifile.orig/Makefile Wed Nov 19 15:21:02 2003 >+++ avifile/Makefile Wed Nov 19 09:46:14 2003 >@@ -6,13 +6,12 @@ > # > > PORTNAME= avifile >-PORTVERSION= 0.7.34.20030319 >+PORTVERSION= 0.7.38 > PORTEPOCH= 2 > CATEGORIES= multimedia > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >-DISTNAME= ${PORTNAME}-${PORTVERSION:C/.(.{8})$/-\1/} >-EXTRACT_SUFX= .tgz >+DISTNAME= ${PORTNAME}-0.7-${PORTVERSION} > > MAINTAINER= holger@e-gitt.net > COMMENT= AVI player/converter with numerous codecs, including MPEG-4(DivX ;-)) >@@ -26,8 +25,6 @@ > USE_LIBTOOL= yes > GNU_CONFIGURE= yes > INSTALLS_SHLIB= yes >- >-WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:C/^(.{3}).*/\1/}-${PORTVERSION:C/^(.{6}).+$/\1/} > > LIBTOOLFILES= acinclude.m4 > CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ >diff -Nur avifile.orig/distinfo avifile/distinfo >--- avifile.orig/distinfo Wed Nov 19 15:21:02 2003 >+++ avifile/distinfo Wed Nov 12 21:40:51 2003 >@@ -1 +1 @@ >-MD5 (avifile-0.7.34-20030319.tgz) = 5b3a831ed3d12a5d12d23b8d9673b88d >+MD5 (avifile-0.7-0.7.38.tar.gz) = db90c4bc0a8a8182b1ec084feca86bbb >diff -Nur avifile.orig/files/patch-ffmpeg::libavformat::flvenc.c avifile/files/patch-ffmpeg::libavformat::flvenc.c >--- avifile.orig/files/patch-ffmpeg::libavformat::flvenc.c Thu Jan 1 01:00:00 1970 >+++ avifile/files/patch-ffmpeg::libavformat::flvenc.c Wed Nov 19 10:09:08 2003 >@@ -0,0 +1,18 @@ >+--- ffmpeg/libavformat/flvenc.c.orig Wed Nov 19 10:06:53 2003 >++++ ffmpeg/libavformat/flvenc.c Wed Nov 19 10:08:10 2003 >+@@ -226,11 +226,12 @@ >+ { >+ ByteIOContext *pb = &s->pb; >+ FLVContext *flv = s->priv_data; >+- >++ int64_t file_size; >++ int flags = 0; >++ >+ Dump(flv,pb,1); >+ >+- int64_t file_size = url_ftell(pb); >+- int flags = 0; >++ file_size = url_ftell(pb); >+ flags |= flv->hasAudio ? 4 : 0; >+ flags |= flv->hasVideo ? 1 : 0; >+ url_fseek(pb, 4, SEEK_SET); >diff -Nur avifile.orig/files/patch-lib::common::String.cpp avifile/files/patch-lib::common::String.cpp >--- avifile.orig/files/patch-lib::common::String.cpp Thu Jan 1 01:00:00 1970 >+++ avifile/files/patch-lib::common::String.cpp Wed Nov 19 10:52:53 2003 >@@ -0,0 +1,19 @@ >+--- lib/common/String.cpp.orig Wed Nov 19 10:51:12 2003 >++++ lib/common/String.cpp Wed Nov 19 10:52:01 2003 >+@@ -3,6 +3,7 @@ >+ #include <ctype.h> >+ #include <stdio.h> >+ #include <stdarg.h> >++#include <stdlib.h> >+ >+ AVM_BEGIN_NAMESPACE; >+ >+@@ -170,7 +171,7 @@ >+ #else >+ // a bit poor hack but should be sufficient >+ // eventually write full implementation >+- s = malloc(1000); >++ s = (char *)malloc(1000); >+ r = vsnprintf(str, 999, fmt, ap); >+ #endif >+ if (s)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59475
: 37335