summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2006-12-15 16:43:57 +0000
committerjoerg <joerg>2006-12-15 16:43:57 +0000
commit74a74e0d511b113b4fc7d79bcfe3fffd588ee473 (patch)
tree07e28d5ccc80d2821484f5747b3a864ff685f150
parent8a0c9531cb45f3f8d9f86d6e187dc955dd8d5bcf (diff)
downloadpkgsrc-74a74e0d511b113b4fc7d79bcfe3fffd588ee473.tar.gz
Include sys/stat.h explictly in Xtranssock.c as S_IFMT and friends
are used. It is not pulled in indirectly at least on DragonFly. Bump revision.
-rw-r--r--x11/xtrans/Makefile3
-rw-r--r--x11/xtrans/distinfo3
-rw-r--r--x11/xtrans/patches/patch-aa12
3 files changed, 16 insertions, 2 deletions
diff --git a/x11/xtrans/Makefile b/x11/xtrans/Makefile
index ec64c1721e0..f3743d0266f 100644
--- a/x11/xtrans/Makefile
+++ b/x11/xtrans/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/11/03 16:55:55 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2006/12/15 16:43:57 joerg Exp $
#
DISTNAME= xtrans-1.0.2
+PKGREVISION= 1
CATEGORIES= x11 net
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo
index a8d4bb9748a..3b731cbd9f4 100644
--- a/x11/xtrans/distinfo
+++ b/x11/xtrans/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/11/03 16:55:55 joerg Exp $
+$NetBSD: distinfo,v 1.2 2006/12/15 16:43:57 joerg Exp $
SHA1 (xtrans-1.0.2.tar.bz2) = 06071f09a934cd0e5fc9b4d8514f238d14ad1d51
RMD160 (xtrans-1.0.2.tar.bz2) = 73077d6941d1073d69aa07bf7e0325baaef8d1f9
Size (xtrans-1.0.2.tar.bz2) = 99390 bytes
+SHA1 (patch-aa) = 4d39401f40380fea729ceefabc23d8a422ea146f
diff --git a/x11/xtrans/patches/patch-aa b/x11/xtrans/patches/patch-aa
new file mode 100644
index 00000000000..7bc050850be
--- /dev/null
+++ b/x11/xtrans/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2006/12/15 16:43:57 joerg Exp $
+
+--- Xtranssock.c.orig 2006-12-15 16:31:00.000000000 +0000
++++ Xtranssock.c
+@@ -53,6 +53,7 @@ from the copyright holders.
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#include <sys/stat.h>
+ #include <ctype.h>
+ #ifdef XTHREADS
+ #include <X11/Xthreads.h>