* [gentoo-commits] gentoo-x86 commit in sys-power/powertop/files: powertop-2.2-use-package_version.patch
@ 2012-11-23 18:05 Richard Farina (zerochaos)
0 siblings, 0 replies; only message in thread
From: Richard Farina (zerochaos) @ 2012-11-23 18:05 UTC (permalink / raw
To: gentoo-commits
zerochaos 12/11/23 18:05:36
Added: powertop-2.2-use-package_version.patch
Log:
fix powertop 2.2 to report proper version tag wrt bug #444466
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Revision Changes Path
1.1 sys-power/powertop/files/powertop-2.2-use-package_version.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/files/powertop-2.2-use-package_version.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/files/powertop-2.2-use-package_version.patch?rev=1.1&content-type=text/plain
Index: powertop-2.2-use-package_version.patch
===================================================================
It was missed to update POWERTOP_VERSION macro so that the
new v2.2 release still shows v2.1 string on the header of
ncurses window. Convert to use PACKAGE_VERSION macro which
set by autotools to the AC_INIT version so that it cannot
be missed anymore.
Signed-off-by: Namhyung Kim <namhyung at gmail.com>
---
src/lib.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib.h b/src/lib.h
index 8cf4632..209421a 100644
--- a/src/lib.h
+++ b/src/lib.h
@@ -35,8 +35,8 @@
#define _(STRING) gettext(STRING)
-#define POWERTOP_VERSION "v2.1"
-#define POWERTOP_SHORT_VERSION "2.1"
+#define POWERTOP_VERSION "v"PACKAGE_VERSION
+#define POWERTOP_SHORT_VERSION PACKAGE_VERSION
extern int get_max_cpu(void);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-23 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-23 18:05 [gentoo-commits] gentoo-x86 commit in sys-power/powertop/files: powertop-2.2-use-package_version.patch Richard Farina (zerochaos)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox