pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xextproto Guard against multiple inclusion. Bump rev.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e00183d4ac6
branches:  trunk
changeset: 573919:0e00183d4ac6
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Apr 09 09:06:52 2010 +0000

description:
Guard against multiple inclusion. Bump rev.

diffstat:

 x11/xextproto/Makefile       |  3 ++-
 x11/xextproto/files/shmstr.h |  7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r bc9b2a642637 -r 0e00183d4ac6 x11/xextproto/Makefile
--- a/x11/xextproto/Makefile    Fri Apr 09 08:53:03 2010 +0000
+++ b/x11/xextproto/Makefile    Fri Apr 09 09:06:52 2010 +0000
@@ -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 -r bc9b2a642637 -r 0e00183d4ac6 x11/xextproto/files/shmstr.h
--- a/x11/xextproto/files/shmstr.h      Fri Apr 09 08:53:03 2010 +0000
+++ b/x11/xextproto/files/shmstr.h      Fri Apr 09 09:06:52 2010 +0000
@@ -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 @@
     PixmapPtr  (* CreatePixmap)(XSHM_CREATE_PIXMAP_ARGS);
     void       (* PutImage)(XSHM_PUT_IMAGE_ARGS);
 } ShmFuncs, *ShmFuncsPtr;
+
+#endif



Home | Main Index | Thread Index | Old Index