Files
buildroot/package
Romain Naour ba4af1a06d core/pkg-autotools: don't use APPLY_PATCHES for libtool patches
Since [1] <package>-reconfigure target is broken.

$ make elementary-reconfigure
Applying buildroot-libtool-v2.4.4.patch using patch:
Error: duplicate filename 'buildroot-libtool-v2.4.4.patch'
Conflicting files are:
  already applied: buildroot/support/libtool/buildroot-libtool-v2.4.4.patch
  to be applied  : buildroot/support/libtool/buildroot-libtool-v2.4.4.patch

When a package uses AUTORECONF, the libtool patch can be applied a
second time on the same ltmain.sh in the same directory as the
<package>-reconfigure target is called. This is not a problem since
autoreconf will overwrite the previously patched files. But with the
check introduced by [1], apply-patches.sh throw an error when the
package is reconfigured since the libtool patch is already present in
.applied_patches_list.

In addition to this, the .applied_patches_list file generated by
apply-patches.sh while patching ltmain.sh is not in the top-level
package source directory. Instead a duplicated .applied_patches_list
is generated beside the patched ltmain.sh which can be in a
subdirectory.

As noticed by Arnout Vandecappelle [2], the apply-patches.sh script
doesn't bring anything for the libtool patches.

"apply_patches.sh does the following:

* It handles directories -> not needed here.
* It handles compressed patches and tarballs -> not needed.
* It handles series files -> not needed.
* It handles errors in case of multiple patches -> not needed since
it's only one patch.
* It detects errors based on *.rej files -> not needed since it's only
a single patch so patch exit code is OK.
* It writes the patch list -> for libtool, this is quite silly because
it will be written in the directory where ltmain.sh is found, not in the
top-level directory, so you have these patch lists spread over the
source tree."

So use patch directly rather than apply-patches.

[1] 1924159814
[2] http://lists.busybox.net/pipermail/buildroot/2016-August/169810.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-18 23:52:47 +02:00
..
2016-07-16 10:12:04 +02:00
2016-07-03 09:50:07 +02:00
2016-07-20 22:16:02 +02:00
2016-07-20 22:21:48 +02:00
2016-08-03 20:47:05 +02:00
2016-06-28 22:19:22 +02:00
2016-06-11 16:46:38 +02:00
2016-08-01 23:03:56 +02:00
2016-06-28 22:19:22 +02:00
2016-08-16 08:11:44 +02:00
2016-07-03 21:25:50 +02:00
2016-05-28 15:53:29 +02:00
2016-05-28 19:16:22 +02:00
2016-07-19 11:50:22 +02:00
2016-07-23 15:07:09 +02:00
2016-07-12 10:48:08 +02:00
2016-06-16 22:42:32 +02:00
2016-08-08 23:46:54 +02:00
2016-06-06 21:44:06 +02:00
2016-06-28 22:19:22 +02:00
2016-07-05 17:26:35 +02:00
2016-06-18 22:49:32 +02:00
2016-07-23 17:01:23 +02:00
2016-06-19 21:12:09 +02:00
2016-06-15 23:52:39 +02:00
2016-06-15 22:17:22 +02:00
2016-06-05 22:00:34 +02:00
2016-06-15 22:56:19 +02:00
2016-07-16 16:40:11 +02:00
2016-06-28 22:19:22 +02:00
2016-06-19 10:52:56 +02:00
2016-07-02 15:54:43 +02:00
2016-07-27 23:22:54 +02:00
2016-06-28 22:19:22 +02:00
2016-07-16 16:48:18 +02:00
2016-07-16 11:05:51 +02:00
2016-07-23 15:09:30 +02:00
2016-06-28 22:19:22 +02:00
2016-06-07 13:25:50 +02:00
2016-06-26 21:48:43 +02:00
2016-06-19 21:12:47 +02:00
2016-06-15 09:44:16 +02:00
2016-06-28 22:19:22 +02:00
2016-06-19 21:13:02 +02:00
2016-06-16 16:02:38 +02:00
2016-06-15 23:55:14 +02:00
2016-07-15 13:19:00 +02:00
2016-06-19 21:17:00 +02:00
2016-06-26 22:23:37 +02:00
2016-07-03 16:58:11 +02:00
2016-06-03 14:46:27 +02:00
2016-06-18 22:50:12 +02:00
2016-05-24 17:39:43 +02:00
2016-08-10 14:24:39 +02:00
2016-07-27 21:31:48 +02:00
2016-07-27 21:31:42 +02:00
2016-07-14 12:53:50 +02:00
2016-08-05 00:16:22 +02:00
2016-07-03 12:54:59 +02:00
2016-06-26 23:09:36 +02:00
2016-07-14 12:31:45 +02:00
2016-06-16 22:30:47 +02:00
2016-06-06 21:44:38 +02:00
2016-06-26 23:09:42 +02:00
2016-06-24 17:58:46 +02:00
2016-08-16 07:53:41 +02:00
2016-08-08 23:47:12 +02:00
2016-07-24 21:50:05 +02:00
2016-07-26 21:31:15 +02:00
2016-06-28 22:19:22 +02:00
2016-07-30 15:51:39 +02:00
2016-06-28 22:19:22 +02:00
2016-07-26 21:31:21 +02:00
2016-07-30 15:36:22 +02:00
2016-07-30 16:12:36 +02:00
2016-07-23 15:07:38 +02:00
2016-06-07 13:10:47 +02:00
2016-07-23 15:08:02 +02:00
2016-06-14 12:22:41 +02:00
2016-07-27 21:24:56 +02:00
2016-07-26 21:35:27 +02:00
2016-07-03 13:17:35 +02:00
2016-06-05 21:38:11 +02:00
2016-07-05 08:47:24 +02:00
2016-06-16 08:44:23 +02:00
2016-05-26 15:15:02 +02:00
2016-08-17 08:39:36 +02:00
2016-07-18 23:12:32 +02:00
2016-06-15 23:42:32 +02:00
2016-06-28 22:19:22 +02:00
2016-07-20 21:24:18 +02:00
2016-06-18 22:52:23 +02:00
2016-06-28 22:19:22 +02:00
2016-07-06 22:59:46 +02:00
2016-06-08 22:06:44 +02:00
2016-06-18 22:53:13 +02:00
2016-06-23 21:10:07 +02:00
2016-08-10 14:49:54 +02:00
2016-07-03 09:43:31 +02:00
2016-06-28 22:19:22 +02:00
2016-06-28 22:19:22 +02:00
2016-06-18 22:56:04 +02:00
2016-06-16 22:40:39 +02:00
2016-06-19 23:06:08 +02:00
2016-06-16 22:34:24 +02:00
2016-06-18 18:26:54 +02:00
2016-06-18 14:57:23 +02:00
2016-06-08 14:04:54 +02:00
2016-06-22 10:31:35 +02:00
2016-06-19 21:43:51 +02:00
2016-06-19 21:44:45 +02:00
2016-07-23 15:07:24 +02:00
2016-06-16 23:01:24 +02:00
2016-06-16 09:02:14 +02:00
2016-07-26 21:30:52 +02:00
2016-07-03 12:30:19 +02:00
2016-07-03 19:53:42 +02:00
2016-06-18 22:54:49 +02:00
2016-06-28 22:19:22 +02:00
2016-06-08 14:58:24 +02:00
2016-07-30 15:42:30 +02:00
2016-07-26 21:30:57 +02:00
2016-06-11 15:05:51 +02:00
2016-06-28 22:19:22 +02:00
2016-06-16 22:27:42 +02:00
2016-08-05 15:48:48 +02:00
2016-06-16 22:20:40 +02:00
2016-06-18 12:06:41 +02:00
2016-06-15 22:31:30 +02:00
2016-07-05 08:36:21 +02:00
2016-06-18 22:56:34 +02:00
2016-06-28 22:19:22 +02:00
2016-07-08 10:58:17 +02:00
2016-07-03 21:14:06 +02:00
2016-08-11 00:02:03 +02:00
2016-06-18 18:24:00 +02:00
2016-06-28 22:19:22 +02:00
2016-06-28 22:19:22 +02:00
2016-06-28 22:19:22 +02:00
2016-07-15 13:24:50 +02:00
2016-07-30 15:23:49 +02:00
2016-06-28 22:19:22 +02:00
2016-06-18 23:05:16 +02:00
2016-06-18 15:06:48 +02:00
2016-08-01 22:38:35 +02:00
2016-08-01 22:38:38 +02:00
2016-07-30 14:01:01 +02:00
2016-06-11 23:57:19 +02:00
2016-07-03 12:52:04 +02:00
2016-06-28 22:19:22 +02:00
2016-07-30 17:00:25 +02:00
2016-06-05 21:39:11 +02:00
2016-07-03 12:56:06 +02:00
2016-07-03 12:56:29 +02:00
2016-07-03 12:57:51 +02:00
2016-05-31 17:39:44 +02:00
2016-06-28 22:19:22 +02:00
2016-07-15 09:50:10 +02:00
2016-07-01 00:01:34 +02:00
2016-08-09 15:50:52 +02:00
2016-06-18 23:06:03 +02:00
2016-06-18 23:06:43 +02:00
2016-06-07 13:10:43 +02:00
2016-08-17 08:35:49 +02:00
2016-07-07 11:48:47 +02:00
2016-07-08 22:00:36 +02:00
2016-07-28 22:00:21 +02:00
2016-07-14 12:33:28 +02:00
2016-08-06 12:12:55 +02:00
2016-07-04 23:00:17 +02:00
2016-06-18 23:10:50 +02:00
2016-06-18 23:13:21 +02:00
2016-06-28 22:19:22 +02:00
2016-08-18 23:26:03 +02:00
2016-06-08 14:59:02 +02:00
2016-07-15 22:49:56 +02:00
2016-07-15 22:49:56 +02:00
2016-07-03 22:27:54 +02:00
2016-06-29 14:48:02 +02:00
2016-06-28 22:19:22 +02:00
2016-06-28 22:19:22 +02:00
2016-08-07 22:57:40 +02:00
2016-06-28 22:19:22 +02:00
2016-06-28 22:19:22 +02:00
2016-06-05 22:00:09 +02:00
2016-07-24 22:32:48 +02:00
2016-06-28 22:19:22 +02:00
2016-06-18 23:13:45 +02:00
2016-08-10 14:27:01 +02:00
2016-06-07 13:10:37 +02:00
2016-08-01 22:11:31 +02:00
2016-08-01 23:03:24 +02:00
2016-06-28 22:19:22 +02:00
2016-05-30 17:41:15 +02:00
2016-07-12 23:22:47 +02:00
2016-08-08 23:48:37 +02:00
2016-06-15 09:42:41 +02:00
2016-07-26 17:59:11 +02:00
2016-06-05 22:02:22 +02:00
2016-06-18 23:14:36 +02:00
2016-08-16 07:59:50 +02:00
2016-06-01 17:55:16 +02:00
2016-06-28 22:19:22 +02:00
2016-06-16 22:46:31 +02:00
2016-06-01 17:55:16 +02:00
2016-05-31 21:15:49 +02:00
2016-06-28 22:19:22 +02:00
2016-06-08 22:43:32 +02:00
2016-05-31 21:11:48 +02:00
2016-06-28 21:42:01 +02:00
2016-07-01 17:31:02 +02:00
2016-06-18 23:14:57 +02:00
2016-07-04 11:29:31 +02:00
2016-06-18 23:15:18 +02:00
2016-07-27 21:40:14 +02:00
2016-06-19 22:07:27 +02:00
2016-06-13 22:28:18 +02:00
2016-06-28 22:19:22 +02:00
2016-08-02 22:35:47 +02:00
2016-07-18 22:51:59 +02:00
2016-07-05 15:30:09 +02:00
2016-06-28 22:19:22 +02:00
2016-06-20 13:42:28 +02:00
2016-07-23 15:22:45 +02:00
2016-06-15 22:51:26 +02:00
2016-06-16 15:52:46 +02:00
2016-06-18 22:54:27 +02:00
2016-06-06 21:46:32 +02:00
2016-06-06 21:48:16 +02:00
2016-08-17 00:01:05 +02:00
2016-08-18 23:51:29 +02:00
2016-07-05 17:21:06 +02:00
2016-06-23 21:08:46 +02:00
2016-06-18 15:36:20 +02:00
2016-07-31 22:22:21 +02:00
2016-06-28 22:19:22 +02:00
2016-07-04 01:15:20 +02:00
2016-06-19 22:10:26 +02:00
2016-06-26 21:36:13 +02:00
2016-07-28 21:59:33 +02:00
2016-08-14 16:11:46 +02:00
2016-07-28 22:00:52 +02:00
2016-08-02 13:07:51 +02:00
2016-07-05 15:04:24 +02:00
2016-08-08 23:47:46 +02:00
2016-07-17 14:54:05 +02:00
2016-06-19 22:11:31 +02:00
2016-06-19 22:11:09 +02:00
2016-07-30 15:34:57 +02:00
2016-06-16 22:38:01 +02:00
2016-07-01 11:12:49 +02:00
2016-07-23 22:56:24 +02:00
2016-06-05 22:01:53 +02:00
2016-07-03 12:58:27 +02:00
2016-06-19 22:11:48 +02:00
2016-07-04 23:24:18 +02:00
2016-08-18 16:23:45 +02:00
2016-07-23 15:06:52 +02:00
2016-06-28 22:19:22 +02:00
2016-07-15 16:41:34 +02:00
2016-05-25 23:32:51 +02:00
2016-06-05 21:59:32 +02:00
2016-06-11 23:55:33 +02:00
2016-08-17 08:35:54 +02:00
2016-06-19 22:12:15 +02:00
2016-06-28 22:19:22 +02:00
2016-06-03 14:25:42 +02:00
2016-08-14 16:06:21 +02:00
2016-06-28 22:19:22 +02:00
2016-06-28 22:19:22 +02:00
2016-06-19 22:12:36 +02:00
2016-06-28 22:19:22 +02:00
2016-06-28 22:19:22 +02:00
2016-08-14 16:15:29 +02:00
2016-08-05 21:05:56 +02:00
2016-06-19 22:31:18 +02:00
2016-06-19 22:31:35 +02:00
2016-06-07 13:10:56 +02:00
2016-06-19 22:32:04 +02:00
2016-06-19 22:32:39 +02:00
2016-07-31 20:16:45 +02:00
2016-06-19 22:32:52 +02:00
2016-07-23 23:06:47 +02:00
2016-07-11 14:11:35 +02:00
2016-06-06 21:47:48 +02:00
2016-06-05 21:58:14 +02:00
2016-06-06 21:47:55 +02:00
2016-07-30 17:00:25 +02:00
2016-07-08 22:00:36 +02:00