pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pan2-git: fix build on NetBSD, fix pkglint
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Wed Apr 15 10:56:04 2020 +0200
Changeset: c4c418c57299d766b33e345a577cc27053beeaeb
Modified Files:
pan2-git/Makefile
pan2-git/distinfo
pan2-git/patches/patch-filenames
Added Files:
pan2-git/patches/patch-pan_usenet-utils_mime-utils.cc
Log Message:
pan2-git: fix build on NetBSD, fix pkglint
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c4c418c57299d766b33e345a577cc27053beeaeb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
pan2-git/Makefile | 2 +-
pan2-git/distinfo | 3 ++-
pan2-git/patches/patch-filenames | 2 ++
pan2-git/patches/patch-pan_usenet-utils_mime-utils.cc | 18 ++++++++++++++++++
4 files changed, 23 insertions(+), 2 deletions(-)
diffs:
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@localhost
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) {
+ /*
Home |
Main Index |
Thread Index |
Old Index