svn commit: r433025 - in head/audio/sidplay2: . files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 12:42:17 UTC 2017
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;
More information about the svn-ports-head
mailing list