summaryrefslogtreecommitdiff
path: root/net-irc/anope/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/anope/files')
-rw-r--r--net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch (renamed from net-irc/anope/files/pid-patch.patch)0
-rw-r--r--net-irc/anope/files/anope-2.0.7-example.conf-user.patch (renamed from net-irc/anope/files/example.conf-user.patch)0
-rw-r--r--net-irc/anope/files/anope-2.0.7-musl-libintl.patch22
3 files changed, 22 insertions, 0 deletions
diff --git a/net-irc/anope/files/pid-patch.patch b/net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch
index ddf661ba9803..ddf661ba9803 100644
--- a/net-irc/anope/files/pid-patch.patch
+++ b/net-irc/anope/files/anope-2.0.6-example.conf-pid-path.patch
diff --git a/net-irc/anope/files/example.conf-user.patch b/net-irc/anope/files/anope-2.0.7-example.conf-user.patch
index 7f7a3826cb10..7f7a3826cb10 100644
--- a/net-irc/anope/files/example.conf-user.patch
+++ b/net-irc/anope/files/anope-2.0.7-example.conf-user.patch
diff --git a/net-irc/anope/files/anope-2.0.7-musl-libintl.patch b/net-irc/anope/files/anope-2.0.7-musl-libintl.patch
new file mode 100644
index 000000000000..f14e494e0c18
--- /dev/null
+++ b/net-irc/anope/files/anope-2.0.7-musl-libintl.patch
@@ -0,0 +1,22 @@
+diff --git a/src/language.cpp b/src/language.cpp
+index 1915378..c1eeea5 100644
+--- a/src/language.cpp
++++ b/src/language.cpp
+@@ -75,7 +75,7 @@ const char *Language::Translate(const NickCore *nc, const char *string)
+
+ #if GETTEXT_FOUND
+
+-#ifdef __USE_GNU_GETTEXT
++#if defined(__GLIBC__)
+ extern "C" int _nl_msg_cat_cntr;
+ #endif
+
+@@ -87,7 +87,7 @@ const char *Language::Translate(const char *lang, const char *string)
+ if (!lang || !*lang)
+ lang = Config->DefLanguage.c_str();
+
+-#ifdef __USE_GNU_GETTEXT
++#if defined(__GLIBC__)
+ ++_nl_msg_cat_cntr;
+ #endif
+