Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=bbe8bf98cf1373062d15e60281c96a83ad53e646

commit bbe8bf98cf1373062d15e60281c96a83ad53e646
Author: Marius Cirsta <[email protected]>
Date:   Sun Dec 22 23:59:50 2013 +0200

make-3.82-3-x86_64

* fix multi-threaded webkit build

diff --git a/source/devel/make/FrugalBuild b/source/devel/make/FrugalBuild
index 84a6dc3..bd56282 100644
--- a/source/devel/make/FrugalBuild
+++ b/source/devel/make/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=make
pkgver=3.82
-pkgrel=2
+pkgrel=3
pkgdesc="GNU make utility to maintain groups of programs"
url="http://www.gnu.org/software/make";
depends=('glibc>=2.8-3' 'bash')
@@ -11,8 +11,10 @@ groups=('devel' 'devel-core')
archs=('i686' 'x86_64' 'arm')
Fup2gnugz
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz \
-       make-3.82-bugfixes.patch)
+                       make-3.82-bugfixes.patch \
+                       make-3.82-dont-prune-intermediate.patch)
sha1sums=('92d1b87a30d1c9482e52fb4a68e8a355e7946331' \
-          '8ec3bfa07a14cea69df45068245d18c2e43ca2ba')
+          '8ec3bfa07a14cea69df45068245d18c2e43ca2ba' \
+          'a0b859ea934ebfee7d914d34b3bb09a9df34c3f0')

# optimization OK
diff --git a/source/devel/make/make-3.82-dont-prune-intermediate.patch 
b/source/devel/make/make-3.82-dont-prune-intermediate.patch
new file mode 100644
index 0000000..f4f47dd
--- /dev/null
+++ b/source/devel/make/make-3.82-dont-prune-intermediate.patch
@@ -0,0 +1,57 @@
+2012-09-09  Paul Smith  <[email protected]>
+
+       * remake.c (update_file_1): Force intermediate files to be
+       considered, not pruned, if their non-intermediate parent needs to
+       be remade.  Fixes Savannah bug #30653.
+
+Index: remake.c
+===================================================================
+RCS file: /sources/make/make/remake.c,v
+retrieving revision 1.153
+retrieving revision 1.154
+diff -u -r1.153 -r1.154
+--- remake.c   5 Mar 2012 14:10:45 -0000       1.153
++++ remake.c   10 Sep 2012 02:36:05 -0000      1.154
+@@ -612,6 +612,10 @@
+                 d->file->dontcare = file->dontcare;
+               }
+
++            /* We may have already considered this file, when we didn't know
++               we'd need to update it.  Force update_file() to consider it and
++               not prune it.  */
++            d->file->considered = !considered;
+
+           dep_status |= update_file (d->file, depth);
+
+Index: tests/scripts/features/parallelism
+===================================================================
+RCS file: /sources/make/make/tests/scripts/features/parallelism,v
+retrieving revision 1.19
+retrieving revision 1.20
+diff -u -r1.19 -r1.20
+--- tests/scripts/features/parallelism 4 Mar 2012 00:24:32 -0000       1.19
++++ tests/scripts/features/parallelism 10 Sep 2012 02:36:05 -0000      1.20
+@@ -214,6 +214,23 @@
+     rmfiles(qw(foo.y foo.y.in main.bar));
+ }
+
++# Ensure intermediate/secondary files are not pruned incorrectly.
++# See Savannah bug #30653
++
++utouch(-15, 'file2');
++utouch(-10, 'file4');
++utouch(-5,  'file1');
++
++run_make_test(q!
++.INTERMEDIATE: file3
++file4: file3 ; @mv -f $< $@
++file3: file2 ; touch $@
++file2: file1 ; @touch $@
++!,
++              '--no-print-directory -j2', "touch file3");
++
++#rmfiles('file1', 'file2', 'file3', 'file4');
++
+ if ($all_tests) {
+     # Jobserver FD handling is messed up in some way.
+     # Savannah bug #28189
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to