pkgsrc/editors/cooledit/patches/patch-ab
dmcmahill 2f559088ea import cooledit-3.17.5 per PR pkg/17490 submitted by
Rui-Xiang Guo <rxg@ms25.url.com.tw>.


   Cooledit is a full-featured text editor, for Unix computers that run
   the X Window System. Cooledit was born from a need for a user
   friendly text editor that would rival editors of other operating
   systems in ease of use and convenience. Lately Cooledit is also a
   powerful programmer's editor. It is also small and fast, making it
   ideal for interface with applications that allow for, or require, an
   external editor. See 'Features' in the man page for a more elaborate
   description of what Cooledit can do.
2002-07-07 19:45:39 +00:00

13 lines
529 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
--- widget/libgettext.h.orig Sat Jul 6 15:38:39 2002
+++ widget/libgettext.h
@@ -126,7 +126,7 @@
/* Solaris 2.3 has the gettext function but dcgettext is missing.
So we omit this optimization for Solaris 2.3. BTW, Solaris 2.4
has dcgettext. */
-# if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT)
+# if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT) && !defined(__NetBSD__)
# define gettext(Msgid) \
dgettext (NULL, Msgid)