From b42e89563ade50f5c59fe2b3b899bc49dd8d4c78 Mon Sep 17 00:00:00 2001 From: Arnaud Degroote <arnaud.degroote@laas.fr> Date: Tue, 19 Nov 2013 17:01:04 +0100 Subject: [PATCH] [wip/hyper] Add a patch to fix a typo in test program option parsing Bump PKGREVSION --- hyper/Makefile | 1 + hyper/distinfo | 1 + hyper/patches/patch-aa | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 hyper/patches/patch-aa diff --git a/hyper/Makefile b/hyper/Makefile index b08f5de6..89251595 100644 --- a/hyper/Makefile +++ b/hyper/Makefile @@ -4,6 +4,7 @@ DISTNAME= hyper-${VERSION} VERSION= 0.13 +PKGREVISION= 1 CATEGORIES= supervision MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=hyper/} MASTER_REPOSITORY= ${MASTER_REPOSITORY_OPENROBOTS}hyper diff --git a/hyper/distinfo b/hyper/distinfo index 5c4d16b6..a59c04ff 100644 --- a/hyper/distinfo +++ b/hyper/distinfo @@ -1,3 +1,4 @@ SHA1 (hyper-0.13.tar.gz) = 72fa6149a7ecdecb8f72c8e8d4fc4dca7f13ffce RMD160 (hyper-0.13.tar.gz) = 66aac0978389f97b145ffc041adb7178dae77a95 Size (hyper-0.13.tar.gz) = 207480 bytes +SHA1 (patch-aa) = 1a0b48d3a93bfe20cb965a80b306de83d6bf2c03 diff --git a/hyper/patches/patch-aa b/hyper/patches/patch-aa new file mode 100644 index 00000000..31c446a6 --- /dev/null +++ b/hyper/patches/patch-aa @@ -0,0 +1,16 @@ +Fix a typo while checking argument of test programm + + +diff --git a/src/model/ability_test.cc b/src/model/ability_test.cc +index d42cd2d..08d8a8d 100644 +--- src/model/ability_test.cc ++++ src/model/ability_test.cc +@@ -226,7 +226,7 @@ ability_test::correct_usage(int argc, char** argv) + arguments[0] == "make" or + arguments[0] == "ensure" or + (arguments[0] == "let" and argc == 7 and +- (arguments[4] != "make" or arguments[4] == "ensure"))); ++ (arguments[4] == "make" or arguments[4] == "ensure"))); + } + + int -- GitLab