Ticket #7613: rpm-port.patch

File rpm-port.patch, 1.3 KB (added by giulio.eulisse@…, 18 years ago)

my fix for the problem.

  • rpm/Portfile

    diff --exclude CVS --exclude .svn -Naur /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/sysutils/rpm/Portfile PRODREQUEST/MacPorts/rpm/Portfile
     
    44name                    rpm
    55version                 4.4.5
    66platforms               darwin
     7revision                2
    78categories              sysutils archivers
    89maintainers             n3npq@mac.com
    910description             The RPM package management system.
     
    5253        patchfiles-append \
    5354                patch-file-src-Makefile.in \
    5455                patch-lib-rpmds \
    55                 patch-macros.in
     56                patch-macros.in \
     57                patch-files
    5658
    5759        post-patch {
    5860                file delete -force ${worksrcpath}/beecrypt
  • rpm/files/patch-files

    diff --exclude CVS --exclude .svn -Naur /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/sysutils/rpm/files/patch-files PRODREQUEST/MacPorts/rpm/files/patch-files
     
     1--- rpmio/fts.h 2006-01-20 17:10:10.000000000 +0100
     2+++ rpmio/fts.h.new     2007-04-24 08:54:20.000000000 +0200
     3@@ -56,7 +56,7 @@
     4 #endif
     5 
     6 #if defined(__APPLE__)
     7-# define _D_EXACT_NAMLEN(d) ((d)->d_reclen)
     8+# define _D_EXACT_NAMLEN(d) (strlen((d)->d_name))
     9 #endif
     10 
     11 #endif