- 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:
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
|
@ -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/:' \
|
||||
|
|
11
archivers/rpm4/files/extra-patch-lib_fs.c
Normal file
11
archivers/rpm4/files/extra-patch-lib_fs.c
Normal 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.
|
Loading…
Reference in a new issue