head	1.2;
access;
symbols
	pkgsrc-2018Q4:1.1.0.56
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.54
	pkgsrc-2018Q3-base:1.1
	pkgsrc-2018Q2:1.1.0.52
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.50
	pkgsrc-2018Q1-base:1.1
	pkgsrc-2017Q4:1.1.0.48
	pkgsrc-2017Q4-base:1.1
	pkgsrc-2017Q3:1.1.0.46
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.42
	pkgsrc-2017Q2-base:1.1
	pkgsrc-2017Q1:1.1.0.40
	pkgsrc-2017Q1-base:1.1
	pkgsrc-2016Q4:1.1.0.38
	pkgsrc-2016Q4-base:1.1
	pkgsrc-2016Q3:1.1.0.36
	pkgsrc-2016Q3-base:1.1
	pkgsrc-2016Q2:1.1.0.34
	pkgsrc-2016Q2-base:1.1
	pkgsrc-2016Q1:1.1.0.32
	pkgsrc-2016Q1-base:1.1
	pkgsrc-2015Q4:1.1.0.30
	pkgsrc-2015Q4-base:1.1
	pkgsrc-2015Q3:1.1.0.28
	pkgsrc-2015Q3-base:1.1
	pkgsrc-2015Q2:1.1.0.26
	pkgsrc-2015Q2-base:1.1
	pkgsrc-2015Q1:1.1.0.24
	pkgsrc-2015Q1-base:1.1
	pkgsrc-2014Q4:1.1.0.22
	pkgsrc-2014Q4-base:1.1
	pkgsrc-2014Q3:1.1.0.20
	pkgsrc-2014Q3-base:1.1
	pkgsrc-2014Q2:1.1.0.18
	pkgsrc-2014Q2-base:1.1
	pkgsrc-2014Q1:1.1.0.16
	pkgsrc-2014Q1-base:1.1
	pkgsrc-2013Q4:1.1.0.14
	pkgsrc-2013Q4-base:1.1
	pkgsrc-2013Q3:1.1.0.12
	pkgsrc-2013Q3-base:1.1
	pkgsrc-2013Q2:1.1.0.10
	pkgsrc-2013Q2-base:1.1
	pkgsrc-2013Q1:1.1.0.8
	pkgsrc-2013Q1-base:1.1
	pkgsrc-2012Q4:1.1.0.6
	pkgsrc-2012Q4-base:1.1
	pkgsrc-2012Q3:1.1.0.4
	pkgsrc-2012Q3-base:1.1
	pkgsrc-2012Q2:1.1.0.2
	pkgsrc-2012Q2-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2019.01.01.09.41.20;	author nia;	state dead;
branches;
next	1.1;
commitid	F0poZFEwsbJNU36B;

1.1
date	2012.05.06.18.41.51;	author dholland;	state Exp;
branches;
next	;


desc
@@


1.2
log
@chat/xchat: Remove xchat, as discussed on tech-pkg.

XChat's development has been dead for nearly a decade now.

chat/hexchat is an actively maintained fork and features many bug and
security fixes and support for newer protocol features. Users of XChat
should migrate to HexChat, or rather, should have migrated several
years ago.

A blog post exists by HexChat's maintainer where Debian's packaging of
both is discussed:

https://blog.tingping.se/2018/03/02/when-distros-get-it-wrong.html
@
text
@$NetBSD: patch-src_common_util_c,v 1.1 2012/05/06 18:41:51 dholland Exp $

 - Fix build with latest glib2
 - add NetBSD support

--- src/common/util.c.orig	2009-08-16 09:40:16.000000000 +0000
+++ src/common/util.c
@@@@ -39,7 +39,6 @@@@
 #include <errno.h>
 #include "xchat.h"
 #include "xchatc.h"
-#include <glib/gmarkup.h>
 #include <ctype.h>
 #include "util.h"
 #include "../../config.h"
@@@@ -49,6 +48,10 @@@@
 
 #if defined (USING_FREEBSD) || defined (__APPLE__)
 #include <sys/sysctl.h>
+#elif defined(__NetBSD__)
+#define session NetBSD_session
+#include <sys/sysctl.h>
+#undef session
 #endif
 #ifdef SOCKS
 #include <socks.h>
@@@@ -510,7 +513,7 @@@@ strip_hidden_attribute (char *src, char 
 	return len;
 }
 
-#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__)
+#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) || defined (__NetBSD__)
 
 static void
 get_cpu_info (double *mhz, int *cpus)
@@@@ -554,7 +557,7 @@@@ get_cpu_info (double *mhz, int *cpus)
 		*cpus = 1;
 
 #endif
-#ifdef USING_FREEBSD
+#if defined(USING_FREEBSD) || defined (__NetBSD__)
 
 	int mib[2], ncpu;
 	u_long freq;
@@@@ -656,7 +659,7 @@@@ get_cpu_str (void)
 char *
 get_cpu_str (void)
 {
-#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__)
+#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) || defined (__NetBSD__)
 	double mhz;
 #endif
 	int cpus = 1;
@@@@ -670,7 +673,7 @@@@ get_cpu_str (void)
 
 	uname (&un);
 
-#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__)
+#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) || defined (__NetBSD__)
 	get_cpu_info (&mhz, &cpus);
 	if (mhz)
 	{
@


1.1
log
@Fix build with latest glib2. Since this requires touching patch-ab,
rename it to match.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.12 2008/08/15 17:25:32 tron Exp $
@

