From 15ac742fe5ccafbbd452c46e836e4ca68436e471 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Fri, 22 Sep 2006 02:23:13 +0000 Subject: [PATCH] use off_t/int64_t consistently (match prototype) --- x11/vlc/Makefile | 4 ++-- x11/vlc/patches/patch-modules_access_ftp_c | 12 ++++++++++++ x11/vlc/patches/patch-modules_access_mms_mmsh_c | 12 ++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 x11/vlc/patches/patch-modules_access_ftp_c create mode 100644 x11/vlc/patches/patch-modules_access_mms_mmsh_c diff --git a/x11/vlc/Makefile b/x11/vlc/Makefile index 30072b7d4ed..a7e36161ff1 100644 --- a/x11/vlc/Makefile +++ b/x11/vlc/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.36 2006/08/01 10:50:19 espie Exp $ +# $OpenBSD: Makefile,v 1.37 2006/09/22 02:23:13 pvalchev Exp $ SHARED_ONLY= Yes COMMENT= "videolan client; multimedia player" V= 0.8.4a DISTNAME= vlc-${V} -PKGNAME= ${DISTNAME}p6 +PKGNAME= ${DISTNAME}p7 CATEGORIES= x11 MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${V}/ diff --git a/x11/vlc/patches/patch-modules_access_ftp_c b/x11/vlc/patches/patch-modules_access_ftp_c new file mode 100644 index 00000000000..a681ec6a0ca --- /dev/null +++ b/x11/vlc/patches/patch-modules_access_ftp_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-modules_access_ftp_c,v 1.1 2006/09/22 02:23:13 pvalchev Exp $ +--- modules/access/ftp.c.orig Thu Sep 21 19:06:22 2006 ++++ modules/access/ftp.c Thu Sep 21 19:06:43 2006 +@@ -540,7 +540,7 @@ static int ftp_ReadCommand( access_t *p_ + return( i_answer / 100 ); + } + +-static int ftp_StartStream( access_t *p_access, off_t i_start ) ++static int ftp_StartStream( access_t *p_access, int64_t i_start ) + { + access_sys_t *p_sys = p_access->p_sys; + diff --git a/x11/vlc/patches/patch-modules_access_mms_mmsh_c b/x11/vlc/patches/patch-modules_access_mms_mmsh_c new file mode 100644 index 00000000000..d5297eea0f6 --- /dev/null +++ b/x11/vlc/patches/patch-modules_access_mms_mmsh_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-modules_access_mms_mmsh_c,v 1.1 2006/09/22 02:23:13 pvalchev Exp $ +--- modules/access/mms/mmsh.c.orig Thu Sep 21 19:13:09 2006 ++++ modules/access/mms/mmsh.c Thu Sep 21 19:15:03 2006 +@@ -565,7 +565,7 @@ error: + /***************************************************************************** + * + *****************************************************************************/ +-static int Start( access_t *p_access, off_t i_pos ) ++static int Start( access_t *p_access, int64_t i_pos ) + { + access_sys_t *p_sys = p_access->p_sys; + int i_streams = 0;