diff options
author | William Hubbs <williamh@gentoo.org> | 2011-04-01 18:35:57 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-04-01 18:35:57 +0000 |
commit | cc83add4eee1315942c77d62e69c68d2def55bf1 (patch) | |
tree | 7848fcf2471dfebdb1c4e1822d243825aa9e7826 /app-accessibility/brltty/files | |
parent | Version bump RHEL5 (2.6.18) kernel. Stabilize 2.6.32, bug #198632 and #360623... (diff) | |
download | gentoo-2-cc83add4eee1315942c77d62e69c68d2def55bf1.tar.gz gentoo-2-cc83add4eee1315942c77d62e69c68d2def55bf1.tar.bz2 gentoo-2-cc83add4eee1315942c77d62e69c68d2def55bf1.zip |
apply patch from upstream to fix the "svnversion: command not found"
error. This closes bug #361327.
(Portage version: 2.2.0_alpha29/cvs/Linux i686)
Diffstat (limited to 'app-accessibility/brltty/files')
-rw-r--r-- | app-accessibility/brltty/files/brltty-4.2-fix-svnversion.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-accessibility/brltty/files/brltty-4.2-fix-svnversion.patch b/app-accessibility/brltty/files/brltty-4.2-fix-svnversion.patch new file mode 100644 index 000000000000..d4db66bcb440 --- /dev/null +++ b/app-accessibility/brltty/files/brltty-4.2-fix-svnversion.patch @@ -0,0 +1,27 @@ +Index: revision +=================================================================== +--- revision (revision 5475) ++++ revision (working copy) +@@ -18,15 +18,17 @@ + ############################################################################### + + . "`dirname "${0}"`/prologue.sh" ++set -e + +-[ "${#}" -eq 0 ] && syntaxError "missing source root." ++[ "${#}" -gt 0 ] || syntaxError "missing source root" + sourceRoot="${1}" + shift + +-[ "${#}" -eq 0 ] || syntaxError "too many parameters." ++[ "${#}" -eq 0 ] || syntaxError "too many parameters" + +-set -e +-revision="`svnversion -n "${sourceRoot}"`" ++revision="`svnversion -n "${sourceRoot}" 2>/dev/null`" || semanticError "build revision cannot be determined - subversion not installed" + [ "${revision}" != "exported" ] || revision="" +-[ -z "${revision}" ] || echo "${revision}" ++[ -n "${revision}" ] || semanticError "build revision not known" ++ ++echo "${revision}" + exit 0 |