diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 18:39:01 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 18:39:01 (EDT) |
commit | d7ed07bc5fa67bfde377defe892927f000415d9d (patch) | |
tree | 4eaf87ec438a70166299bf3ee016db920041415c /patches | |
parent | c1b8ebe7c1059e17118ab23a37c9f17bdf4b0e62 (diff) |
patches: Fix syntax error
I guess I've spent too much time with Perl.
Diffstat (limited to 'patches')
-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(); + |