Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 17:54:07 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r370383 - in branches/2014Q4/graphics/gimageview: . files
Message-ID:  <201410071754.s97Hs7rK021797@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct  7 17:54:07 2014
New Revision: 370383
URL: https://svnweb.freebsd.org/changeset/ports/370383
QAT: https://qat.redports.org/buildarchive/r370383/

Log:
  MFH: r370352
  
  - Fix checking unitialized variable
  - While here, add LICENSE
  
  PR:		194210
  Submitted by:	enslay@gmail.com
  Approved by:	portmgr (bdrewery)

Added:
  branches/2014Q4/graphics/gimageview/files/patch-plugins__image_view__gimv_mplayer.c
     - copied unchanged from r370352, head/graphics/gimageview/files/patch-plugins__image_view__gimv_mplayer.c
Modified:
  branches/2014Q4/graphics/gimageview/Makefile
Directory Properties:
  branches/2014Q4/   (props changed)

Modified: branches/2014Q4/graphics/gimageview/Makefile
==============================================================================
--- branches/2014Q4/graphics/gimageview/Makefile	Tue Oct  7 17:52:38 2014	(r370382)
+++ branches/2014Q4/graphics/gimageview/Makefile	Tue Oct  7 17:54:07 2014	(r370383)
@@ -3,13 +3,16 @@
 
 PORTNAME=	gimageview
 PORTVERSION=	0.2.27
-PORTREVISION=	17
+PORTREVISION=	18
 CATEGORIES=	graphics
 MASTER_SITES=	SF/gtkmmviewer/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet another GTK+ based image viewer
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
 		libpng15.so:${PORTSDIR}/graphics/png
 

Copied: branches/2014Q4/graphics/gimageview/files/patch-plugins__image_view__gimv_mplayer.c (from r370352, head/graphics/gimageview/files/patch-plugins__image_view__gimv_mplayer.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2014Q4/graphics/gimageview/files/patch-plugins__image_view__gimv_mplayer.c	Tue Oct  7 17:54:07 2014	(r370383, copy of r370352, head/graphics/gimageview/files/patch-plugins__image_view__gimv_mplayer.c)
@@ -0,0 +1,20 @@
+Fixes check on unitialized variable
+--- plugins/image_view/gimv_mplayer.c.orig	2004-09-29 03:42:14.000000000 -0500
++++ plugins/image_view/gimv_mplayer.c	2014-10-06 23:43:40.000000000 -0400
+@@ -1480,13 +1480,13 @@
+    gint i, len, size;
+    gchar *src, *end;
+ 
++   src = buf;
++   size = bufsize;
++
+    g_return_if_fail (buf && stock_buf);
+    g_return_if_fail (size > 0 || size < GIMV_MPLAYER_BUF_SIZE);
+    g_return_if_fail (remain_size);
+ 
+-   src = buf;
+-   size = bufsize;
+-
+    while (src && size >= 0) {
+       end = NULL;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410071754.s97Hs7rK021797>