Red Hat Bugzilla – Bug 28630
configure.in portability patch
Last modified: 2007-04-18 12:31:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17 i686)
A set of patches to fix problems with RPM on non-Red Hat Linux systems.
Each patch is commented to describe what it fixes. Patches are against a
checkout of the RPM 4.0 CVS branch on Jan 5th 2001 (sorry).
These patches were written by:
Joe Orton <email@example.com>,
Steve Robb <firstname.lastname@example.org> and
Mark Cox <email@example.com>
Created attachment 10641 [details]
Patch for configure.in
Maintainer prefers separate bugzilla entries so this is not such a patch bonanza
after all. :)
Created attachment 10643 [details]
Complements the configure patch: add getmntent to stubs.
Mmm, thanks for diddling libtool on all platforms.
FWIW, I think the test for -lthread et al is bad craziness, as the issue of what
to use is a db3 configuration problem that simply cannot be solved without
test code and checking for working lock functionality against the installed db3
for symbols in libraries is naive. It's a good thing I don't have to support
these platforms, yet :-)
Adding misc.c compatibility stuff to stubs.c will "work", but is also bad
craziness, mine, not yours.
Thanks for the patch, checked in on the rpm-4.0.2 branch, on top of stack
shortly, will be in
Yeah, correct fix is adding a 'db3-config' script to DB3, we're agreed there. :)