freebsd-ports/graphics/xpaint/files/patch-xpaintrw_rwTable.c
Nuno Teixeira 973a707c70 graphics/xpaint: Update to 3.1.4
- Switch to DISTVERSION
- Define LICENSE_FILE
- Use autoreconf as workaround to fix build (not needed in <= 3.1.3)
- Put most SED commands in patches
- Comment patches about what they doing
- Port uses USES=jpeg and not openjpeg* (at the moment)
- Take maintainership

ChangeLog: https://sourceforge.net/projects/sf-xpaint/files/sf-xpaint/
2023-07-14 10:58:13 +01:00

13 lines
342 B
C

Extend support to FreeBSD and OpenBSD.
--- xpaintrw/rwTable.c.orig 2021-01-23 08:03:16 UTC
+++ xpaintrw/rwTable.c
@@ -294,7 +294,7 @@ RWGetMsg()
char *
RWGetMsg()
{
-#ifndef __NetBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
#if defined(BSD4_4)
__const extern char *__const sys_errlist[];
#else