diff --git a/x11/xorgproto/Makefile b/x11/xorgproto/Makefile index f11ff7ab68a1..715d3fd010a0 100644 --- a/x11/xorgproto/Makefile +++ b/x11/xorgproto/Makefile @@ -1,25 +1,26 @@ PORTNAME= xorgproto DISTVERSION= 2022.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= X Window System unified protocol definitions WWW= https://gitlab.freedesktop.org/xorg/proto/xorgproto LICENSE= MIT USES= xorg-cat:proto NO_ARCH= yes CONFIGURE_ARGS= --without-fop \ --without-xmlto \ --without-xsltproc \ --disable-specs OPTIONS_DEFINE= DOCS pre-patch: @${MKDIR} ${WRKSRC}/man .include diff --git a/x11/xorgproto/files/patch-include_X11_Xos.h b/x11/xorgproto/files/patch-include_X11_Xos.h new file mode 100644 index 000000000000..9c60de1c0b51 --- /dev/null +++ b/x11/xorgproto/files/patch-include_X11_Xos.h @@ -0,0 +1,11 @@ +--- include/X11/Xos.h.orig 2022-04-21 00:48:08 UTC ++++ include/X11/Xos.h +@@ -60,7 +60,7 @@ in this Software without prior written authorization f + */ + + # include +-# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) ++# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) + # include + # else + # ifndef index