pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
uTox-git: Fix build on NetBSD
Module Name: pkgsrc-wip
Committed By: Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By: f8l
Date: Thu Dec 14 22:34:32 2017 +0100
Changeset: 1bc2ad69f0f5ea169f45f731bf999812c43218c6
Modified Files:
uTox-git/distinfo
Added Files:
uTox-git/patches/patch-third-party_minini_dev_minIni.c
Log Message:
uTox-git: Fix build on NetBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1bc2ad69f0f5ea169f45f731bf999812c43218c6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
uTox-git/distinfo | 1 +
.../patches/patch-third-party_minini_dev_minIni.c | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diffs:
diff --git a/uTox-git/distinfo b/uTox-git/distinfo
index afc76512f4..8c30df098f 100644
--- a/uTox-git/distinfo
+++ b/uTox-git/distinfo
@@ -1,2 +1,3 @@
$NetBSD$
+SHA1 (patch-third-party_minini_dev_minIni.c) = 00132be9ad44bf70a3c4f1cdec307d1d61f118df
diff --git a/uTox-git/patches/patch-third-party_minini_dev_minIni.c b/uTox-git/patches/patch-third-party_minini_dev_minIni.c
new file mode 100644
index 0000000000..69f00f71e0
--- /dev/null
+++ b/uTox-git/patches/patch-third-party_minini_dev_minIni.c
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- third-party/minini/dev/minIni.c.orig 2017-11-03 12:02:12.000000000 +0000
++++ third-party/minini/dev/minIni.c
+@@ -71,7 +71,7 @@
+ #pragma warning(disable: 4996) /* for Microsoft Visual C/C++ */
+ #endif
+ #if !defined strnicmp && !defined PORTABLE_STRNICMP
+- #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__
++ #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ || defined __NetBSD__
+ #define strnicmp strncasecmp
+ #endif
+ #endif
+@@ -80,7 +80,7 @@
+ #endif
+
+ #if !defined INI_LINETERM
+- #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__
++ #if defined __LINUX__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __APPLE__ || defined __NetBSD__
+ #define INI_LINETERM __T("\n")
+ #else
+ #define INI_LINETERM __T("\r\n")
Home |
Main Index |
Thread Index |
Old Index