head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.14 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.12 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.10 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.8 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.6 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.4 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.2 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.1.0.2 cube-native-xorg-base:1.1; locks; strict; comment @# @; 1.2 date 2008.09.16.21.57.09; author bjs; state dead; branches; next 1.1; 1.1 date 2008.07.24.01.07.31; author bjs; state Exp; branches; next ; desc @@ 1.2 log @Update to libX11-1.1.5: integrates the patches listed as removed as well as a number of i18n fixes. @ text @$NetBSD: patch-al,v 1.1 2008/07/24 01:07:31 bjs Exp $ Warning fixes. --- src/GetDflt.c.orig 2008-03-06 15:45:06.000000000 -0500 +++ src/GetDflt.c @@@@ -98,16 +98,16 @@@@ GetHomeDir( int len) { #ifdef WIN32 - register char *ptr1; - register char *ptr2; + register char *ptr1 = NULL; + register char *ptr2 = NULL; int len1 = 0, len2 = 0; - if (ptr1 = getenv("HOME")) { /* old, deprecated */ + if ((ptr1 = getenv("HOME"))) { /* old, deprecated */ len1 = strlen (ptr1); } else if ((ptr1 = getenv("HOMEDRIVE")) && (ptr2 = getenv("HOMEDIR"))) { len1 = strlen (ptr1); len2 = strlen (ptr2); - } else if (ptr2 = getenv("USERNAME")) { + } else if ((ptr2 = getenv("USERNAME"))) { len1 = strlen (ptr1 = "/users/"); len2 = strlen (ptr2); } @ 1.1 log @ Properly define XTHREAD_CFLAGS/XTHREADLIB on NetBSD: We do not want -pthread in XTHREAD_CFLAGS, as this will end up linking everything against libpthread. Thus, in keeping with our gcc specfile, define _REENTRANT in XTHREAD_CFLAGS instead. XTHREADLIB is now -pthread, not -lpthread. While here, update to head of libX11-1.1 branch in GIT (with the exception of some unicode changes which caused mkpatches to choke). changes: - IM: Respect XMODIFIERS for Thai locale (bug #15719) - Bug #15884: Remove useless sleep()'s from the connection code. - NLS: Make UTF-8 the default for Russian - ConnDis: properly cast 'addr' before accessing it as a byte array. - added error check in Xcms color file parser; closes bug #15305 - Fix missing error condition in cmsColNm.c, also. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @