svn commit: r422453 - head/audio/mp3blaster/files

Ed Maste emaste at FreeBSD.org
Mon Sep 19 18:00:04 UTC 2016


Author: emaste (src committer)
Date: Mon Sep 19 18:00:03 2016
New Revision: 422453
URL: https://svnweb.freebsd.org/changeset/ports/422453

Log:
  audio/mp3blaster: fix build with Clang 3.9
  
  PR:		212623
  Approved by:	novel

Added:
  head/audio/mp3blaster/files/patch-src__global.cc   (contents, props changed)

Added: head/audio/mp3blaster/files/patch-src__global.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mp3blaster/files/patch-src__global.cc	Mon Sep 19 18:00:03 2016	(r422453)
@@ -0,0 +1,11 @@
+--- src/global.cc.orig	2016-09-12 14:29:38.335706000 -0400
++++ src/global.cc	2016-09-12 14:26:46.344490000 -0400
+@@ -371,7 +371,7 @@
+ is_sid(const char *filename)
+ {
+ #ifdef HAVE_SIDPLAYER
+-	char *ext = strrchr(filename, '.');
++	const char *ext = strrchr(filename, '.');
+ 	if (ext) {
+ 		if (!strcasecmp(ext, ".psid")) return 1;
+ 		if (!strcasecmp(ext, ".sid")) return 1;


More information about the svn-ports-head mailing list