ncmpcpp: update to 0.7.7

This commit is contained in:
Alessio Sergi 2016-11-01 10:51:55 +01:00
parent 30541ee441
commit 8d347c7a5b
2 changed files with 2 additions and 13 deletions

View file

@ -1,11 +0,0 @@
--- src/utility/html.cpp.orig 2016-10-31 08:28:47.304056301 +0100
+++ src/utility/html.cpp 2016-10-31 08:28:25.476945846 +0100
@@ -66,7 +66,7 @@ void stripHtmlTags(std::string &s)
for (size_t i = s.find("<"); i != std::string::npos; i = s.find("<"))
{
size_t j = s.find(">", i)+1;
- if (s.compare(i, std::min(3ul, j-i), "<p ") == 0 || s.compare(i, j-i, "</p>") == 0)
+ if (s.compare(i, std::min(3ul, (unsigned long)j-i), "<p ") == 0 || s.compare(i, j-i, "</p>") == 0)
s.replace(i, j-i, "\n");
else
s.replace(i, j-i, "");

View file

@ -1,6 +1,6 @@
# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.7.6
version=0.7.7
revision=1
build_style=gnu-configure
configure_args="
@ -14,7 +14,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ncmpcpp.rybczak.net/"
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=8c2234a325659b9c1596ecb4065e969324308e90cd031ac0442510bb9a6f3310
checksum=b7bcbec83b1f88cc7b21f196b10be09a27b430566c59f402df170163464d01ef
# Required by waddwstr() with ncurses on musl
CXXFLAGS="-D_XOPEN_SOURCE=600"