summaryrefslogtreecommitdiff
path: root/wm/fluxbox/patches/patch-aa
blob: b2dec0626b40e8e242962883eab83431d94576a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.2 2002/04/22 18:39:19 wiz Exp $
--- src/i18n.hh.orig	Sun Apr 21 12:36:45 2002
+++ src/i18n.hh	Sun Apr 21 12:37:23 2002
@@ -51,7 +51,12 @@
 	static I18n *instance();
 	inline const char *getLocale(void) const { return m_locale.c_str(); }
 	inline bool multibyte(void) const { return m_multibyte; }
+#ifndef __NetBSD__
+  /* 
+   * Compilation dies here on NetBSD -- luckily, nothing uses this function
+   */
 	inline const nl_catd &getCatalogFd(void) const { return m_catalog_fd; }
+#endif // __NetBSD__
 
 	const char *getMessage(int set_number, int message_number, const char *default_messsage = 0);
 	void openCatalog(const char *);