diff --git a/pan2-git/Makefile b/pan2-git/Makefile index 96457aa740..11ae930663 100644 --- a/pan2-git/Makefile +++ b/pan2-git/Makefile @@ -2,7 +2,7 @@ DISTNAME= pan2-2 CATEGORIES= news -MASTER_SITES= https://gitlab.gnome.org/GNOME/pan +MASTER_SITES= https://gitlab.gnome.org/GNOME/pan/ GIT_REPO= https://gitlab.gnome.org/GNOME/pan.git MAINTAINER= rhialto@falu.nl diff --git a/pan2-git/distinfo b/pan2-git/distinfo index 3d1891dd0c..f21768646f 100644 --- a/pan2-git/distinfo +++ b/pan2-git/distinfo @@ -1,5 +1,6 @@ $NetBSD$ SHA1 (patch-configure.ac) = e71544a02c6c3fa09fe79f78eb39ebd31e0d8a3c -SHA1 (patch-filenames) = e68d7cd688a5b80a515cbe8e93e5bc4f5204033c +SHA1 (patch-filenames) = bd7c49c59be49ba899b1c426aa69968c2443a12c SHA1 (patch-pan-general-e-util.cc) = c252f074b139b100f3f879261b1ba894b5f3350c +SHA1 (patch-pan_usenet-utils_mime-utils.cc) = 072d8ccd5b92af252fd4a1b7d1ef121b0b517f85 diff --git a/pan2-git/patches/patch-filenames b/pan2-git/patches/patch-filenames index bd3dd0a815..9969a27501 100644 --- a/pan2-git/patches/patch-filenames +++ b/pan2-git/patches/patch-filenames @@ -1,3 +1,5 @@ +$NetBSD$ + diff --git a/pan/tasks/decoder.cc b/pan/tasks/decoder.cc index b4c21ae..04ea40a 100644 --- pan/tasks/decoder.cc diff --git a/pan2-git/patches/patch-pan_usenet-utils_mime-utils.cc b/pan2-git/patches/patch-pan_usenet-utils_mime-utils.cc new file mode 100644 index 0000000000..04773fe396 --- /dev/null +++ b/pan2-git/patches/patch-pan_usenet-utils_mime-utils.cc @@ -0,0 +1,18 @@ +$NetBSD$ + +iconv prototype was changed to what non-NetBSD has. + +--- pan/usenet-utils/mime-utils.cc.orig 2020-04-15 08:49:36.084023027 +0000 ++++ pan/usenet-utils/mime-utils.cc +@@ -77,11 +77,7 @@ namespace pan + outbuf = out + converted; + outleft = outlen - converted; + +-#if defined(__NetBSD__) +- converted = iconv (cd, &inbuf, &inleft, &outbuf, &outleft); +-#else + converted = iconv (cd, (char **) &inbuf, &inleft, &outbuf, &outleft); +-#endif + + if (converted != (size_t) -1 && errno == 0) { + /*