Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 882537 Details for
Bug 913133
net-misc/apt-cacher-ng-3.7.4_p1-r2 fails to compile (GLIBC-2.38-SYSTEM): meta.h:326:44: error: operator ! has no right operand
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix compile error
0001-fix-compile-error.patch (text/plain), 1.04 KB, created by
Richard Liu
on 2024-01-18 17:01:55 UTC
(
hide
)
Description:
Fix compile error
Filename:
MIME Type:
Creator:
Richard Liu
Created:
2024-01-18 17:01:55 UTC
Size:
1.04 KB
patch
obsolete
>From 7f4bb9de7c84bf55c446c98056259e4e6d8b61e7 Mon Sep 17 00:00:00 2001 >From: Richard Liu <richliu@techarea.org> >Date: Fri, 19 Jan 2024 00:38:27 +0800 >Subject: [PATCH] fix compile error > >--- > src/meta.cc | 2 +- > src/meta.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/src/meta.cc b/src/meta.cc >index 9a2053f..5b15eff 100644 >--- a/src/meta.cc >+++ b/src/meta.cc >@@ -831,7 +831,7 @@ bool scaseequals(string_view a, string_view b) > return true; > } > >-#if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY >+#if !defined(HAVE_STRLCPY) > size_t strlcpy(char *tgt, const char *src, size_t tgtSize) > { > auto p = src; >diff --git a/src/meta.h b/src/meta.h >index a1f4080..dafb754 100644 >--- a/src/meta.h >+++ b/src/meta.h >@@ -323,7 +323,7 @@ class NoCaseStringMap : public std::map<mstring, mstring, ltstring> > static constexpr string_view svRN = szRN; > static constexpr string_view svLF = "\n"; > >-#if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY >+#if !defined(HAVE_STRLCPY) > size_t strlcpy(char *tgt, const char *src, size_t tgtSize); > #endif > } >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 913133
:
868846
| 882537