Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2017 12:42:16 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433025 - in head/audio/sidplay2: . files
Message-ID:  <201702011242.v11CgGib072710@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Feb  1 12:42:16 2017
New Revision: 433025
URL: https://svnweb.freebsd.org/changeset/ports/433025

Log:
  audio/sidplay2: oops, fix typo in r433015

Modified:
  head/audio/sidplay2/Makefile   (contents, props changed)
  head/audio/sidplay2/files/patch-src_args.cpp   (contents, props changed)

Modified: head/audio/sidplay2/Makefile
==============================================================================
--- head/audio/sidplay2/Makefile	Wed Feb  1 12:32:46 2017	(r433024)
+++ head/audio/sidplay2/Makefile	Wed Feb  1 12:42:16 2017	(r433025)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sidplay2
 PORTVERSION=	2.0.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	audio emulators
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/sidplay-${PORTVERSION}
 DISTNAME=	sidplay-${PORTVERSION}

Modified: head/audio/sidplay2/files/patch-src_args.cpp
==============================================================================
--- head/audio/sidplay2/files/patch-src_args.cpp	Wed Feb  1 12:32:46 2017	(r433024)
+++ head/audio/sidplay2/files/patch-src_args.cpp	Wed Feb  1 12:42:16 2017	(r433025)
@@ -14,8 +14,9 @@
      {   // Read in MM:SS format
          int val;
 -        *sep = '\0';
+-        val  = atoi (str);
 +        char *tmp = strndup(str, sep - str);
-         val  = atoi (str);
++        val  = atoi (tmp);
 +        free(tmp);
          if (val < 0 || val > 99)
              return false;



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