diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2017-03-05 11:48:41 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2017-03-05 12:02:21 -0800 |
commit | 4cc9827ebd8e7c50e8ca0cd2449e4894a7acb88f (patch) | |
tree | 2a78fb8fd07e5793ca81598d82014674cdad0b57 /net-dialup/minicom/files | |
parent | media-plugins/vdr-markad: Remove required ffmpeg flag x264, as only decoding ... (diff) | |
download | gentoo-4cc9827ebd8e7c50e8ca0cd2449e4894a7acb88f.tar.gz gentoo-4cc9827ebd8e7c50e8ca0cd2449e4894a7acb88f.tar.bz2 gentoo-4cc9827ebd8e7c50e8ca0cd2449e4894a7acb88f.zip |
net-dialup/minicom: Force lockdir to /var/lock
Upstream uses automagic detection of the first existing directory of:
/etc/locks /var/lock /usr/spool/locks /var/spool/locks /var/spool/lock
/usr/spool/uucp /var/spool/uucp /var/run
While many of these will exist in a live system, that was not a safe
assumption during a chrooted package build, such as stage building.
The init system is responsible for creating /var/lock, so force the
lockdir to that.
Package-Manager: portage-2.3.3
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-dialup/minicom/files')
-rw-r--r-- | net-dialup/minicom/files/minicom-2.7-lockdir.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-dialup/minicom/files/minicom-2.7-lockdir.patch b/net-dialup/minicom/files/minicom-2.7-lockdir.patch new file mode 100644 index 000000000000..acbdcbe902ba --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.7-lockdir.patch @@ -0,0 +1,14 @@ +--- minicom-2.7.orig/configure.in 2013-12-31 07:14:09.000000000 -0800 ++++ minicom-2.7/configure.in 2017-03-05 11:25:01.379020326 -0800 +@@ -217,7 +217,10 @@ + + if test "x$UUCPLOCK" != x + then +- if test -d $UUCPLOCK ++ dnl If a lock directory was manually specified, do not test it actually ++ dnl exists, as that might not be true during a chroot build, and the ++ dnl packager is responsible for making sure it exists at runtime. ++ if true + then + AC_MSG_RESULT($UUCPLOCK) + AC_DEFINE_UNQUOTED(UUCPLOCK, "$UUCPLOCK", [Lock directory]) |