[Rpm-maint] [rpm] fixes for OS X (#57)

Peter Eisentraut notifications at github.com
Fri Feb 5 01:13:14 UTC 2016

Here is a set of patches to make rpm build cleanly on OS X.

Patches 1, 2, 3 should be pretty straightforward and safe.

Patch 4 looks like an outright bug.  Maybe it works on other platforms because the rpm packaging of rpm fixes it up somehow.

Patch 5 is more a hack to get it working, not something ready for portable use yet.

I had originally tried to send these by email but couldn't get them through. Let me know if you want them split into separate pull requests.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Don't define htonll() if already defined
  * Port getprogname()/setprogname() handling
  * Supply declaration of fdatasync if missing
  * Add missing header files
  * Fix rpmquery and rpmverify symlinks

-- File Changes --

    M Makefile.am (4)
    M build/parsePrep.c (1)
    M build/rpmfc.c (1)
    M configure.ac (1)
    M lib/backend/db3.c (1)
    M lib/header.c (2)
    M lib/poptALL.c (7)
    M lib/transaction.c (1)
    M misc/fnmatch.c (2)
    M rpm2archive.c (1)
    M rpm2cpio.c (1)
    M rpmbuild.c (1)
    M rpmqv.c (1)
    M rpmspec.c (1)
    M system.h (19)
    M tools/rpmdeps.c (1)
    M tools/rpmgraph.c (1)

-- Patch Links --


Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160204/a1195a37/attachment.html>

More information about the Rpm-maint mailing list