pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qemu-git: Detect native NetBSD curses(3)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Apr 26 12:37:41 2017 +0200
Changeset:	f4b652bbbee91cdc463d6b9208113e8b5259d7ba

Modified Files:
	qemu-git/distinfo
Added Files:
	qemu-git/patches/patch-configure

Log Message:
qemu-git: Detect native NetBSD curses(3)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f4b652bbbee91cdc463d6b9208113e8b5259d7ba

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 qemu-git/distinfo                |  1 +
 qemu-git/patches/patch-configure | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diffs:
diff --git a/qemu-git/distinfo b/qemu-git/distinfo
index 6ea2a41618..3c0034fe8a 100644
--- a/qemu-git/distinfo
+++ b/qemu-git/distinfo
@@ -4,4 +4,5 @@ SHA1 (qemu-2.8.1.tar.bz2) = 224289c5e568e400920363820a0647e2aca569e7
 RMD160 (qemu-2.8.1.tar.bz2) = 93f71138d19c871195c9e0b1a7ba66275773f93a
 SHA512 (qemu-2.8.1.tar.bz2) = 0397b4029cdcb77ed053c44b3579a3f34894038e6fc6b4aa88de14515f5a78bf2f41c5e865f37111529f567c85d2f1c4deefae47dde54f76eac79410e5b2bdda
 Size (qemu-2.8.1.tar.bz2) = 28366270 bytes
+SHA1 (patch-configure) = cf38092c108e540aa686ce48a69020fddc83351d
 SHA1 (patch-scripts_qemu-binfmt-conf.sh) = 721017b17a6c00438c4b0b105376a488addf8eb1
diff --git a/qemu-git/patches/patch-configure b/qemu-git/patches/patch-configure
new file mode 100644
index 0000000000..03e7281720
--- /dev/null
+++ b/qemu-git/patches/patch-configure
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- configure.orig	2017-04-25 12:42:53.000000000 +0000
++++ configure
+@@ -2998,14 +2998,13 @@ if test "$curses" != "no" ; then
+ #include <curses.h>
+ #include <wchar.h>
+ int main(void) {
+-  const char *s = curses_version();
+   wchar_t wch = L'w';
+   setlocale(LC_ALL, "");
+   resize_term(0, 0);
+   addwstr(L"wide chars\n");
+   addnwstr(&wch, 1);
+   add_wch(WACS_DEGREE);
+-  return s != 0;
++  return 0;
+ }
+ EOF
+   IFS=:


Home | Main Index | Thread Index | Old Index