pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xpaint: Fix build for FreeBSD and OpenBSD
Module Name: pkgsrc-wip
Committed By: Frédéric Fauberteau <triaxx%NetBSD.org@localhost>
Pushed By: frederic
Date: Fri Feb 12 11:41:15 2021 +0000
Changeset: b2b100dc08adec8cafdb07a8cbb9bf657775ea8f
Modified Files:
xpaint/distinfo
Added Files:
xpaint/patches/patch-xpaintrw_rwTable.c
Log Message:
xpaint: Fix build for FreeBSD and OpenBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b2b100dc08adec8cafdb07a8cbb9bf657775ea8f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
xpaint/distinfo | 1 +
xpaint/patches/patch-xpaintrw_rwTable.c | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diffs:
diff --git a/xpaint/distinfo b/xpaint/distinfo
index c83f51c14e..d991d9dbde 100644
--- a/xpaint/distinfo
+++ b/xpaint/distinfo
@@ -9,3 +9,4 @@ SHA1 (patch-main.c) = 5d764c282b2e8798e3690ff99bea7117a83df4a8
SHA1 (patch-util_Makefile) = b885c20eaaff01f9a6ee15796f041d5a753c371a
SHA1 (patch-vxp2ps_Makefile) = 30ef714b8541c551fd520956bda7aab7e90a6d77
SHA1 (patch-xpaintrw_Makefile.in) = 743442e3acb114698a773c04502787c265a30982
+SHA1 (patch-xpaintrw_rwTable.c) = 784fd7c3831dc9b17efe60ab3ae439c7601b6894
diff --git a/xpaint/patches/patch-xpaintrw_rwTable.c b/xpaint/patches/patch-xpaintrw_rwTable.c
new file mode 100644
index 0000000000..cb45a7170c
--- /dev/null
+++ b/xpaint/patches/patch-xpaintrw_rwTable.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* Extend support to FreeBSD and OpenBSD.
+
+--- xpaintrw/rwTable.c.orig 2021-01-23 08:03:16.000000000 +0000
++++ xpaintrw/rwTable.c
+@@ -294,7 +294,7 @@ RWtableGetWriterList()
+ char *
+ RWGetMsg()
+ {
+-#ifndef __NetBSD__
++#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+ #if defined(BSD4_4)
+ __const extern char *__const sys_errlist[];
+ #else
Home |
Main Index |
Thread Index |
Old Index