diff options
-rw-r--r-- | patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch b/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch index 5908d57..68921af 100644 --- a/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch +++ b/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch @@ -1,4 +1,4 @@ -From ffe7462678026e456453941733a19a32752da4c9 Mon Sep 17 00:00:00 2001 +From f8a12d977714643785a1734c28e8bd546c55a442 Mon Sep 17 00:00:00 2001 From: Patrick McDermott <patrick.mcdermott@libiquity.com> Date: Thu, 4 Apr 2019 18:25:51 -0400 Subject: [PATCH] cli: Optionally enforce argument to upgrade command @@ -35,14 +35,14 @@ index 26230b3..75968b3 100644 IF(WORDS_BIGENDIAN) ADD_DEFINITIONS(-DWORDS_BIGENDIAN) diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c -index c823df8..2a4021d 100644 +index c823df8..0a4180d 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -529,6 +529,19 @@ static int opkg_upgrade_cmd(int argc, char **argv) err = -1; } } -+#if not defined(REQUIRE_UPGRADE_ARGS) ++#if !defined(REQUIRE_UPGRADE_ARGS) + } else { + pkg_vec_t *installed = pkg_vec_alloc(); + |