Bugfixing update to ffmpegthumbnailer-2.0.7

This commit is contained in:
dcoppa 2011-09-30 09:18:17 +00:00
parent 991dfa9e3a
commit 76d6da9841
4 changed files with 13 additions and 37 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.16 2011/06/28 13:43:03 dcoppa Exp $
# $OpenBSD: Makefile,v 1.17 2011/09/30 09:18:17 dcoppa Exp $
COMMENT= lightweight video thumbnailer for file managers
DISTNAME= ffmpegthumbnailer-2.0.6
DISTNAME= ffmpegthumbnailer-2.0.7
CATEGORIES= graphics multimedia
MASTER_SITES= http://ffmpegthumbnailer.googlecode.com/files/
@ -29,7 +29,7 @@ WANTLIB= avcodec avformat avutil bz2 c gsm jpeg m mp3lame ogg \
z
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.67
AUTOCONF_VERSION=2.68
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng"
CONFIGURE_ARGS= --disable-as-needed

View File

@ -1,5 +1,5 @@
MD5 (ffmpegthumbnailer-2.0.6.tar.gz) = UAPOqtwcWhvh27NHOaErqw==
RMD160 (ffmpegthumbnailer-2.0.6.tar.gz) = jGNcbTW2meqdLvdT/HCqI4J8Clc=
SHA1 (ffmpegthumbnailer-2.0.6.tar.gz) = xWXrMZEOoDgBBF4ZIwhwx+dysaY=
SHA256 (ffmpegthumbnailer-2.0.6.tar.gz) = 6XUsD9PJu+IDgrUnoR1dSr8jhtChiud/wOax7rALfc0=
SIZE (ffmpegthumbnailer-2.0.6.tar.gz) = 340052
MD5 (ffmpegthumbnailer-2.0.7.tar.gz) = K1cmiUeS70hHk9zpVooGWg==
RMD160 (ffmpegthumbnailer-2.0.7.tar.gz) = DBi2szjI5zJThqW1NeqQriDV5zw=
SHA1 (ffmpegthumbnailer-2.0.7.tar.gz) = uPU3GqmV/v0ft14wbozXboyfOnM=
SHA256 (ffmpegthumbnailer-2.0.7.tar.gz) = pxFVM50XIBoT/D67ZJsNAMerLVqIgNoHHIFXppxvYSs=
SIZE (ffmpegthumbnailer-2.0.7.tar.gz) = 359864

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_ac,v 1.1 2011/06/28 13:43:03 dcoppa Exp $
--- configure.ac.orig Thu Jan 6 20:03:14 2011
+++ configure.ac Tue Jun 28 15:24:27 2011
$OpenBSD: patch-configure_ac,v 1.2 2011/09/30 09:18:17 dcoppa Exp $
--- configure.ac.orig Thu Sep 29 21:04:13 2011
+++ configure.ac Thu Sep 29 21:06:21 2011
@@ -46,6 +46,18 @@ if test "x$enable_as_needed" != "xno"; then
esac
fi
@ -20,21 +20,12 @@ $OpenBSD: patch-configure_ac,v 1.1 2011/06/28 13:43:03 dcoppa Exp $
#########################################################################
# Check ffmpeg libraries
#########################################################################
@@ -106,7 +118,7 @@ fi
########################################################################
# Compiler flags
########################################################################
-CXXFLAGS=-D__STDC_CONSTANT_MACROS
+CXXFLAGS="${CXXFLAGS} -D__STDC_CONSTANT_MACROS"
########################################################################
# Check debug mode
@@ -118,7 +130,7 @@ AC_ARG_ENABLE(debug,
AM_CONDITIONAL(DEBUG, test "$enable_debug" = "yes")
if test "$DEBUG" = "yes"; then
AC_DEFINE(ENABLE_DEBUG, [], "Enable debug mode")
- CXXFLAGS+=" -g -O1 -Wall -Werror -Wfatal-errors"
+ CXXFLAGS="${CXXFLAGS} -g -Wall -Werror -Wfatal-errors"
- CXXFLAGS="$CXXFLAGS -g -O1 -Wall -Werror -Wfatal-errors"
+ CXXFLAGS="$CXXFLAGS -g -Wall -Werror -Wfatal-errors"
fi
AC_ARG_ENABLE(unittests,

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-libffmpegthumbnailer_pngwriter_cpp,v 1.1 2011/07/08 20:38:01 naddy Exp $
Fix build with png-1.5.
--- libffmpegthumbnailer/pngwriter.cpp.orig Tue Jul 5 17:36:44 2011
+++ libffmpegthumbnailer/pngwriter.cpp Tue Jul 5 17:37:03 2011
@@ -49,7 +49,7 @@ PngWriter::PngWriter(std::vector<uint8_t>& outputBuffe
, m_InfoPtr(NULL)
{
init();
- png_set_write_fn(m_PngPtr, (voidp) &outputBuffer, writeDataCallback, NULL);
+ png_set_write_fn(m_PngPtr, &outputBuffer, writeDataCallback, NULL);
}
PngWriter::~PngWriter()