pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/fuppes Fix iconv error handling. Bump revis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/374de4058b01
branches: trunk
changeset: 358553:374de4058b01
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Feb 14 21:25:50 2017 +0000
description:
Fix iconv error handling. Bump revision.
diffstat:
multimedia/fuppes/Makefile | 4 ++--
multimedia/fuppes/distinfo | 4 ++--
multimedia/fuppes/patches/patch-src_lib_Common_Common.cpp | 13 +++++++++++--
3 files changed, 15 insertions(+), 6 deletions(-)
diffs (55 lines):
diff -r ac84e0617e6c -r 374de4058b01 multimedia/fuppes/Makefile
--- a/multimedia/fuppes/Makefile Tue Feb 14 21:24:49 2017 +0000
+++ b/multimedia/fuppes/Makefile Tue Feb 14 21:25:50 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2017/01/16 23:45:13 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2017/02/14 21:25:50 joerg Exp $
DISTNAME= fuppes-0.660
-PKGREVISION= 30
+PKGREVISION= 31
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuppes/}
diff -r ac84e0617e6c -r 374de4058b01 multimedia/fuppes/distinfo
--- a/multimedia/fuppes/distinfo Tue Feb 14 21:24:49 2017 +0000
+++ b/multimedia/fuppes/distinfo Tue Feb 14 21:25:50 2017 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 23:54:24 agc Exp $
+$NetBSD: distinfo,v 1.9 2017/02/14 21:25:50 joerg Exp $
SHA1 (fuppes-0.660.tar.gz) = ca729343754e0d775fb8291fda8b3ac64ef64df2
RMD160 (fuppes-0.660.tar.gz) = 4a1f278fd4cb00d80ce2efae57201aaa73d11840
SHA512 (fuppes-0.660.tar.gz) = 36076f57fb0c7266b392f1fc0949de5422dcc1533cb6e2d5e09698f36b0b734bfd063396c5574c7446641f9de6b2589ccf8979f5ce4b04c7a97fe1928a7e49ec
Size (fuppes-0.660.tar.gz) = 685373 bytes
SHA1 (patch-include_fuppes__plugin.h) = bfe692659f2b2033c5acf197845c3adfc9ed516f
-SHA1 (patch-src_lib_Common_Common.cpp) = c9f1cfd036c9e5b95065bd28d75c497edfbfe32f
+SHA1 (patch-src_lib_Common_Common.cpp) = 740b88bbcfc4333d7b3b957d963be65152ef3282
SHA1 (patch-src_lib_HTTP_HTTPParser.cpp) = ddc3feba5a0d381dd2896f18943a946b556f2812
SHA1 (patch-src_plugins_database__sqlite3.cpp) = 99408f855d5d0f09d8b620785022a205a7c1f621
SHA1 (patch-src_plugins_metadata__libavformat.c) = a66c05432d6a12beca47f8f2d496b522655b2159
diff -r ac84e0617e6c -r 374de4058b01 multimedia/fuppes/patches/patch-src_lib_Common_Common.cpp
--- a/multimedia/fuppes/patches/patch-src_lib_Common_Common.cpp Tue Feb 14 21:24:49 2017 +0000
+++ b/multimedia/fuppes/patches/patch-src_lib_Common_Common.cpp Tue Feb 14 21:25:50 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_lib_Common_Common.cpp,v 1.1 2013/04/30 22:34:31 joerg Exp $
+$NetBSD: patch-src_lib_Common_Common.cpp,v 1.2 2017/02/14 21:25:50 joerg Exp $
---- src/lib/Common/Common.cpp.orig 2013-04-30 12:37:10.000000000 +0000
+--- src/lib/Common/Common.cpp.orig 2009-12-20 20:26:29.000000000 +0000
+++ src/lib/Common/Common.cpp
@@ -38,6 +38,7 @@
@@ -10,3 +10,12 @@
#endif
#include <sys/stat.h>
#include <sys/types.h>
+@@ -466,7 +467,7 @@ std::string ToUTF8(std::string p_sValue,
+ icv = iconv_open("UTF-8", p_sEncoding.c_str());
+ }
+
+- if(icv < 0)
++ if(icv == (iconv_t)-1)
+ return p_sValue;
+
+ size_t nInbytes = p_sValue.length();
Home |
Main Index |
Thread Index |
Old Index