diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2017-02-19 02:00:00 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2017-02-19 02:20:04 +0000 |
commit | e14eaed947c306d0d89b94347602f340466c533a (patch) | |
tree | 79e4669ab5729ce396175aeb269a43849c498133 /sys-firmware/gnuk | |
parent | sys-fs/static-dev: Sync with upstream (diff) | |
download | portage-e14eaed947c306d0d89b94347602f340466c533a.tar.xz |
sys-firmware/gnuk: Version bump
Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-firmware/gnuk')
-rw-r--r-- | sys-firmware/gnuk/files/1.2.3-MINOR-Always-get-version-from-the-VERSION-file.patch | 26 | ||||
-rw-r--r-- | sys-firmware/gnuk/gnuk-1.2.3.ebuild (renamed from sys-firmware/gnuk/gnuk-1.2.2.ebuild) | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/sys-firmware/gnuk/files/1.2.3-MINOR-Always-get-version-from-the-VERSION-file.patch b/sys-firmware/gnuk/files/1.2.3-MINOR-Always-get-version-from-the-VERSION-file.patch new file mode 100644 index 00000000..fa224355 --- /dev/null +++ b/sys-firmware/gnuk/files/1.2.3-MINOR-Always-get-version-from-the-VERSION-file.patch @@ -0,0 +1,26 @@ +From b3cb038ab4120147a7dd1cdb30fea587942af4db Mon Sep 17 00:00:00 2001 +From: Bertrand Jacquin <bertrand@jacquin.bzh> +Date: Sun, 19 Feb 2017 02:18:13 +0000 +Subject: [PATCH] MINOR: Always get version from the VERSION file + +--- + src/configure | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/src/configure b/src/configure +index 155660f2ceb6..aed5f88dddba 100755 +--- a/src/configure ++++ b/src/configure +@@ -46,11 +46,7 @@ hid_card_change=no + factory_reset=no + + # Revision number +-if test -e ../.git; then +- REVISION=`git describe --dirty="-modified"` +-else +- REVISION=`cat ../VERSION` +-fi ++REVISION=`cat ../VERSION` + + # Process each option + for option; do diff --git a/sys-firmware/gnuk/gnuk-1.2.2.ebuild b/sys-firmware/gnuk/gnuk-1.2.3.ebuild index b5c621a5..e48e8312 100644 --- a/sys-firmware/gnuk/gnuk-1.2.2.ebuild +++ b/sys-firmware/gnuk/gnuk-1.2.3.ebuild @@ -24,6 +24,8 @@ RDEPEND="virtual/udev dev-python/colorama[${PYTHON_USEDEP}] )" +PATCHES=( "${FILESDIR}/${PV}-MINOR-Always-get-version-from-the-VERSION-file.patch" ) + pkg_pretend() { if type -p arm-none-eabi-gcc > /dev/null 2>&1 ; then return 0 |