Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 682297 Details for
Bug 764881
media-video/aegisub: fails to configure when /bin/sh is a syslink to dash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make configure.ac dash compatible.
dash.patch (text/plain), 934 bytes, created by
James McClain
on 2021-01-10 22:00:30 UTC
(
hide
)
Description:
Make configure.ac dash compatible.
Filename:
MIME Type:
Creator:
James McClain
Created:
2021-01-10 22:00:30 UTC
Size:
934 bytes
patch
obsolete
>commit 9bca0e369eee50fff5b72eef95dbe123866c48b4 >Author: TheGreatMcPain <sixsupersonic@gmail.com> >Date: Fri Jan 8 14:35:30 2021 -0600 > > configure.ac: Fix error when using dash as /bin/sh > > For POSIX shells like dash sourcing a script while passing arguments to > it doesn't work. > > 'set --' is needed to pass arguments to a script when sourcing > it. > >diff --git a/configure.ac b/configure.ac >index a906b9d1c..904a4acd1 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -116,7 +116,10 @@ PKG_PROG_PKG_CONFIG([pkgconfig_required_version]) > # Developers only > ################# > AC_MSG_CHECKING([for version]) >-. $srcdir/build/version.sh "$srcdir" >+old=$@ # Store the old arguments >+set -- "$srcdir" # Allows version.sh to see $srcdir as argument. >+. $srcdir/build/version.sh >+set -- $old # Put the old arguments back. > AC_MSG_RESULT([$BUILD_GIT_VERSION_STRING $VERSION_SOURCE]) > > AC_MSG_CHECKING([for build date])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 764881
:
682297
|
682309
|
682318