From owner-cvs-ports@FreeBSD.ORG Thu Aug 26 11:55:12 2010 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D38ED1065674; Thu, 26 Aug 2010 11:55:12 +0000 (UTC) (envelope-from philip@paeps.cx) Received: from rincewind.paeps.cx (rincewind.paeps.cx [IPv6:2002:596a:f092::149]) by mx1.freebsd.org (Postfix) with ESMTP id 7D50F8FC1A; Thu, 26 Aug 2010 11:55:12 +0000 (UTC) Received: by rincewind.paeps.cx (Postfix, from userid 1001) id 9497DD74489; Thu, 26 Aug 2010 13:55:10 +0200 (CEST) Date: Thu, 26 Aug 2010 13:55:10 +0200 From: Philip Paeps To: Anonymous Message-ID: <20100826115510.GO65439@rincewind.paeps.cx> Mail-Followup-To: Anonymous , ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org References: <201008261125.o7QBPYH4076779__22358.5297157571$1282821962$gmane$org@repoman.freebsd.org> <86bp8psis1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <86bp8psis1.fsf@gmail.com> X-PGP-Fingerprint: 356B AE02 4763 F739 2FA2 E438 2649 E628 C5D3 4D05 X-Date: Pungenday, Bureaucracy 19, 3176 YOLD X-Phase-of-Moon: The Moon is Waning Gibbous (98% of Full) X-Philip-Conspiracy: There is no conspiracy Organization: Happily Disorganized User-Agent: Mutt/1.5.20 (2009-06-14) Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/games/wesnoth Makefile distinfo pkg-plist ports/games/wesnoth/files patch-configure.ac patch-src-gettext.cpp patch-src-gettext.hpp X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2010 11:55:13 -0000 On 2010-08-26 15:41:34 (+0400), Anonymous wrote: > Philip Paeps writes: > > > philip 2010-08-26 11:25:34 UTC > > > > FreeBSD ports repository > > > > Modified files: > > games/wesnoth Makefile distinfo pkg-plist > > games/wesnoth/files patch-configure.ac patch-src-gettext.cpp > > patch-src-gettext.hpp > > Log: > > Update to 1.8.4 > [...] > > Revision Changes Path > > 1.84 +6 -6 ports/games/wesnoth/Makefile > > 1.52 +3 -3 ports/games/wesnoth/distinfo > > 1.3 +0 -12 ports/games/wesnoth/files/patch-configure.ac > > > 1.2 +15 -0 ports/games/wesnoth/files/patch-src-gettext.cpp > > 1.2 +25 -0 ports/games/wesnoth/files/patch-src-gettext.hpp > > These files now contain diffs twice: from ports/148880 and from ports/149485. > They're practically same except for cosmetic renaming[1]. You can remove > the parts comitted with ports/148880. Oh ... whoops. :o Like this then? Index: patch-src-gettext.cpp =================================================================== RCS file: /home/pcvs/ports/games/wesnoth/files/patch-src-gettext.cpp,v retrieving revision 1.2 diff -u -r1.2 patch-src-gettext.cpp --- patch-src-gettext.cpp 26 Aug 2010 11:25:34 -0000 1.2 +++ patch-src-gettext.cpp 26 Aug 2010 11:54:42 -0000 @@ -13,18 +13,3 @@ char const *egettext(char const *msgid) { return msgid[0] == '\0' ? msgid : gettext(msgid); ---- src/gettext.cpp~ -+++ src/gettext.cpp -@@ -18,6 +18,12 @@ - - #include - -+#ifndef ENABLE_NLS -+char *textdomain (const char *domainname) { -+ return "dummy"; -+} -+#endif -+ - char const *egettext(char const *msgid) - { - return msgid[0] == '\0' ? msgid : gettext(msgid); Index: patch-src-gettext.hpp =================================================================== RCS file: /home/pcvs/ports/games/wesnoth/files/patch-src-gettext.hpp,v retrieving revision 1.2 diff -u -r1.2 patch-src-gettext.hpp --- patch-src-gettext.hpp 26 Aug 2010 11:25:34 -0000 1.2 +++ patch-src-gettext.hpp 26 Aug 2010 11:54:42 -0000 @@ -23,28 +23,3 @@ const char* egettext(const char*); const char* sgettext(const char*); ---- src/gettext.hpp~ -+++ src/gettext.hpp -@@ -35,7 +35,21 @@ - - // gettext-related declarations - --#include -+#include "wesconfig.h" -+ -+#ifdef ENABLE_NLS -+# include -+#else -+# define bind_textdomain_codeset(Domain,Codeset) "C" -+# define bindtextdomain(Domain,Dir) "/nonexistent" -+# define gettext(String) gettext_noop(String) -+# define ngettext(String1,String2,Int) gettext_noop(Int == 1 ? String1 : String2) -+# define dgettext(Domain,String) gettext_noop(String) -+# define dngettext(Domain,String1,String2,Int) gettext_noop(Int == 1 ? String1 : String2) -+# define dcgettext(Domain,String,Int) gettext_noop(String) -+# define dcngettext(Domain,String1,String2,Int1,Int2) gettext_noop(Int1 == 1 ? String1 : String2) -+char *textdomain (const char *domainname); -+#endif - - const char* egettext(const char*); - const char* sgettext(const char*); - Philip -- Philip Paeps Shaken, not stirred philip@freebsd.org