1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Add extra patch that should fix the rpm build on FreeBSD 6.x

Reported by:	pointyhat via erwin
Feature safe:	yes
This commit is contained in:
Johan van Selst 2010-07-06 16:47:50 +00:00
parent 28badd9f9d
commit 6ab8c72d01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257464
2 changed files with 14 additions and 0 deletions

View File

@ -81,6 +81,9 @@ PORTDOCS= *
.if ${OSVERSION} < 800502
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rpmio_rpmsq.c
.endif
.if ${OSVERSION} < 700000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-lib_fs.c
.endif
post-patch:
${REINPLACE_CMD} -e '/^pkgconfigdir/s:/:data/:' \

View File

@ -0,0 +1,11 @@
--- lib/fs.c.orig 2010-07-06 07:27:10.000000000 +0200
+++ lib/fs.c 2010-07-06 07:27:12.000000000 +0200
@@ -134,6 +134,8 @@ exit:
#else /* HAVE_MNTCTL */
+#include <sys/mount.h>
+
/**
* Get information for mounted file systems.
* @todo determine rdonly for non-linux file systems.