summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-01-14 10:30:56 +0000
committerjoerg <joerg@pkgsrc.org>2007-01-14 10:30:56 +0000
commit8b03a1ba0c3e62295a79b5bf493d317087a42055 (patch)
tree378bb6e2b199b6e93f753696b5f3d2b403c37273 /x11
parent73ef84add886ab6e8d37ee4d4eb69a0b74b4d1a2 (diff)
downloadpkgsrc-8b03a1ba0c3e62295a79b5bf493d317087a42055.tar.gz
Update to xtrans-1.0.3 (irrelevant Makefile change) and fix ctype usage.
Diffstat (limited to 'x11')
-rw-r--r--x11/xtrans/Makefile5
-rw-r--r--x11/xtrans/buildlink3.mk4
-rw-r--r--x11/xtrans/distinfo8
-rw-r--r--x11/xtrans/patches/patch-ab15
4 files changed, 23 insertions, 9 deletions
diff --git a/x11/xtrans/Makefile b/x11/xtrans/Makefile
index f3743d0266f..1366cfda410 100644
--- a/x11/xtrans/Makefile
+++ b/x11/xtrans/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2006/12/15 16:43:57 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/01/14 10:30:56 joerg Exp $
#
-DISTNAME= xtrans-1.0.2
-PKGREVISION= 1
+DISTNAME= xtrans-1.0.3
CATEGORIES= x11 net
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xtrans/buildlink3.mk b/x11/xtrans/buildlink3.mk
index e33478b5201..89e94fcc914 100644
--- a/x11/xtrans/buildlink3.mk
+++ b/x11/xtrans/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 16:55:55 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2007/01/14 10:30:56 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XTRANS_BUILDLINK3_MK:= ${XTRANS_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxtrans}
BUILDLINK_PACKAGES+= xtrans
.if !empty(XTRANS_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.xtrans?= xtrans>=0.99.1
+BUILDLINK_API_DEPENDS.xtrans?= xtrans>=1.0.3
BUILDLINK_PKGSRCDIR.xtrans?= ../../x11/xtrans
BUILDLINK_DEPMETHOD.xtrans?= build
.endif # XTRANS_BUILDLINK3_MK
diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo
index 3b731cbd9f4..bd68b5e3ea1 100644
--- a/x11/xtrans/distinfo
+++ b/x11/xtrans/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2006/12/15 16:43:57 joerg Exp $
+$NetBSD: distinfo,v 1.3 2007/01/14 10:30:56 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 (xtrans-1.0.3.tar.bz2) = 767146fafecf9cf74bea847fb29b57b466782e73
+RMD160 (xtrans-1.0.3.tar.bz2) = 6866155a26e9aecc37cff55505196d81807f4e48
+Size (xtrans-1.0.3.tar.bz2) = 102657 bytes
SHA1 (patch-aa) = 4d39401f40380fea729ceefabc23d8a422ea146f
diff --git a/x11/xtrans/patches/patch-ab b/x11/xtrans/patches/patch-ab
new file mode 100644
index 00000000000..75508505847
--- /dev/null
+++ b/x11/xtrans/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2007/01/14 10:30:56 joerg Exp $
+
+--- Xtrans.c.orig 2007-01-14 11:28:47.000000000 +0100
++++ Xtrans.c
+@@ -180,8 +180,8 @@ TRANS(SelectTransport) (char *protocol)
+ protobuf[PROTOBUFSIZE-1] = '\0';
+
+ for (i = 0; i < PROTOBUFSIZE && protobuf[i] != '\0'; i++)
+- if (isupper (protobuf[i]))
+- protobuf[i] = tolower (protobuf[i]);
++ if (isupper ((unsigned char)protobuf[i]))
++ protobuf[i] = tolower ((unsigned char)protobuf[i]);
+
+ /* Look at all of the configured protocols */
+