Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
Apparently needed for pbins with bash 4.2, according to reports
on paludis-user@.
|
|
|
|
|
|
Use the standard C++ compiler flag support check mechanism for
-fno-deduce-init-list and -Wno-non-virtual-dtors. Both of them are supported by
the minimum supported version of GCC (4.7).
|
|
paludis does not use GNU extensions to C++, use the ISO standard C++11 mode.
Attempt to use the -std=c++11 flag that GNU compatible C++ compilers support.
Fallback to -std=c++0x in case the compiler is older and does not support the
-std=c++11 flag.
This makes the check more resilient to newer compilers as well as different
compilers (e.g. clang).
|
|
|
|
|
|
|
|
bash 4.3 changes the semantics of the read builtin. It will now silently ignore
NUL characters in the input stream. This is problematic since the paludis pipe
command protocol uses the NUL character as an indicator for end of message.
Passing read an explicit delimiter of a NUL char ($'\0') ensures that it treats
the NUL character as valid input. This avoids the hang during the process
tests.
The delimiter option has existed prior to 4.3 (and explicitly tested against
4.2p45) and should not break compatibility with older releases of bash.
|
|
Target is the code-generation target used for cross-compiling toolchain
components. Build is the build host, and host is the target host. Because
paludis is not generating code for a different target, the proper
cross-compilation invocation would set host (and possibly build, although that
is merely for completeness rather than as a need). Fix the check for
cross-compilation: if the target host does not match the build host, then we are
cross-compiling.
The use of $build and $host should also invoke AC_CANONICAL_{BUILD,HOST} to
ensure that the values are the canonical triples.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The spec is in the form [.!exclude=package-dep-spec].
|
|
|
|
|
|
|
|
|
|
- cave-print-checksum.html
- cave-print-checksum-algorithms.html
- cave-print-unmanaged-files.html
were missing.
|
|
|
|
|
|
Fixes: ticket:1298, Gentoo#484298
|
|
|
|
|
|
|
|
|
|
|
|
documentation instead of Python 2 only `epydoc`.
|
|
|
|
Convert to auto and range-based for loops for cmd_uninstall.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
|
|
paludis requires C++11 support. Remove checks and compatibility code to permit
building with partial C++11 support. This mostly removes the configure checks
for support for C++11 features. noexcept and std::next (part of the C++11
standard library) had compatibility code which is no longer exercised and should
be safe to excise.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
|
|
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
|
|
|
|
This is a mechanical change to ensure that the type tag matches across the
forward declaration and the definition.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
|
|
Redeclaration of forward declares is a GNU extension. This is unnecessary as it
has been already forward declarated at the appropriate point. This helps
compatibility with clang.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
|
|
|
|
SIGCLD is a synonym anyway and is not specified by POSIX.
|
|
|
|
This worked on glibc-based systems because glibc's getopt permutes argv
as it scans by default instead of conforming to POSIX.
|
|
|
|
|
|
|
|
Causes problems when populating choices calls it before the masks are
loaded and LICENSE includes conditionals.
Fixes: ticket:1287
|