summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-04-09 09:06:52 +0000
committertnn <tnn@pkgsrc.org>2010-04-09 09:06:52 +0000
commit86d885c56a87bdf7a5eb9cd562999aeae26c55e7 (patch)
tree94535c14913cbaeaf27273f1c16d06aeb3c3d0be /x11
parent916188e4b8f910b1125d1c2ab233f495077d5b0e (diff)
downloadpkgsrc-86d885c56a87bdf7a5eb9cd562999aeae26c55e7.tar.gz
Guard against multiple inclusion. Bump rev.
Diffstat (limited to 'x11')
-rw-r--r--x11/xextproto/Makefile3
-rw-r--r--x11/xextproto/files/shmstr.h7
2 files changed, 8 insertions, 2 deletions
diff --git a/x11/xextproto/Makefile b/x11/xextproto/Makefile
index 55f001601fa..e10e0b7b998 100644
--- a/x11/xextproto/Makefile
+++ b/x11/xextproto/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2010/04/09 08:33:38 tnn Exp $
+# $NetBSD: Makefile,v 1.9 2010/04/09 09:06:52 tnn Exp $
#
DISTNAME= xextproto-7.1.1
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=proto/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xextproto/files/shmstr.h b/x11/xextproto/files/shmstr.h
index b99233db1d4..2333445050c 100644
--- a/x11/xextproto/files/shmstr.h
+++ b/x11/xextproto/files/shmstr.h
@@ -1,4 +1,7 @@
-/* $NetBSD: shmstr.h,v 1.1 2010/04/09 08:33:38 tnn Exp $ */
+/* $NetBSD: shmstr.h,v 1.2 2010/04/09 09:06:52 tnn Exp $ */
+
+#ifndef _SHMSTR_H_
+#define _SHMSTR_H_
#warning this file is deprecated and provided only for source compatibility
@@ -30,3 +33,5 @@ typedef struct _ShmFuncs {
PixmapPtr (* CreatePixmap)(XSHM_CREATE_PIXMAP_ARGS);
void (* PutImage)(XSHM_PUT_IMAGE_ARGS);
} ShmFuncs, *ShmFuncsPtr;
+
+#endif