commit laptop-mode-tools for openSUSE:Factory
Hello community, here is the log from the commit of package laptop-mode-tools for openSUSE:Factory checked in at 2012-07-30 09:13:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/laptop-mode-tools (Old) and /work/SRC/openSUSE:Factory/.laptop-mode-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "laptop-mode-tools", Maintainer is "hmacht@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/laptop-mode-tools/laptop-mode-tools.changes 2012-04-17 07:45:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.laptop-mode-tools.new/laptop-mode-tools.changes 2012-07-30 09:15:41.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jul 25 09:17:26 UTC 2012 - rmilasan@suse.com + +- Local variables can only be used in a function. + add: laptop-mode-1.60-local-can-only-be-used-in-a-function.patch + +------------------------------------------------------------------- New: ---- laptop-mode-1.60-local-can-only-be-used-in-a-function.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laptop-mode-tools.spec ++++++ --- /var/tmp/diff_new_pack.pFb1V0/_old 2012-07-30 09:15:43.000000000 +0200 +++ /var/tmp/diff_new_pack.pFb1V0/_new 2012-07-30 09:15:43.000000000 +0200 @@ -34,6 +34,7 @@ Patch4: laptop-mode-1.49-new-dirty-ratio-defaults.diff Patch5: laptop-mode-1.53-fix-pm-utils-sleep-script.diff Patch6: laptop-mode-1.53-moblin-enable-intel-hda-powersave.patch +Patch7: laptop-mode-1.60-local-can-only-be-used-in-a-function.patch BuildArch: noarch BuildRequires: pm-utils @@ -59,6 +60,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 cp %{S:2} . %build ++++++ laptop-mode-1.60-local-can-only-be-used-in-a-function.patch ++++++ Index: laptop-mode-tools_1.60/etc/rules/lmt-udev =================================================================== --- laptop-mode-tools_1.60.orig/etc/rules/lmt-udev +++ laptop-mode-tools_1.60/etc/rules/lmt-udev @@ -7,11 +7,11 @@ wait_for_file /usr/sbin/laptop_mode exec /usr/sbin/laptop_mode "$@" else - local file=$1 - local timeout=$2 + file=$1 + timeout=$2 [ "$timeout" ] || timeout=120 - local count=$timeout + count=$timeout while [ $count != 0 ]; do [ -e "/usr/sbin/laptop_mode" ] && exec /usr/sbin/laptop_mode "$@" && return 0 sleep 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de