Author: arekm                        Date: Sat Oct 22 21:14:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; working parallel default

---- Files affected:
packages/xz:
   xz-parallel.patch (1.1 -> 1.2) , xz.spec (1.68 -> 1.69) 

---- Diffs:

================================================================
Index: packages/xz/xz-parallel.patch
diff -u packages/xz/xz-parallel.patch:1.1 packages/xz/xz-parallel.patch:1.2
--- packages/xz/xz-parallel.patch:1.1   Sat Oct 22 23:08:45 2011
+++ packages/xz/xz-parallel.patch       Sat Oct 22 23:14:18 2011
@@ -1,14 +1,3 @@
---- xz-5.1.1alpha/src/xz/hardware.c~   2011-04-12 12:42:58.000000000 +0200
-+++ xz-5.1.1alpha/src/xz/hardware.c    2011-10-22 23:06:21.399474735 +0200
-@@ -16,7 +16,7 @@
- 
- /// Maximum number of worker threads. This can be set with
- /// the --threads=NUM command line option.
--static uint32_t threads_max = 1;
-+static uint32_t threads_max = 0;
- 
- /// Memory usage limit for compression
- static uint64_t memlimit_compress;
 --- xz-5.1.1alpha/src/xz/xz.1~ 2011-04-12 12:42:58.000000000 +0200
 +++ xz-5.1.1alpha/src/xz/xz.1  2011-10-22 23:07:14.357449738 +0200
 @@ -913,7 +913,7 @@
@@ -20,3 +9,14 @@
  The actual number of threads can be less than
  .I threads
  if the input file is not big enough
+--- xz-5.1.1alpha/src/xz/args.c~       2011-04-12 12:42:58.000000000 +0200
++++ xz-5.1.1alpha/src/xz/args.c        2011-10-22 23:12:48.269025567 +0200
+@@ -144,6 +144,8 @@
+ 
+       int c;
+ 
++      hardware_threads_set(0);
++
+       while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL))
+                       != -1) {
+               switch (c) {

================================================================
Index: packages/xz/xz.spec
diff -u packages/xz/xz.spec:1.68 packages/xz/xz.spec:1.69
--- packages/xz/xz.spec:1.68    Sat Oct 22 23:08:45 2011
+++ packages/xz/xz.spec Sat Oct 22 23:14:18 2011
@@ -19,7 +19,7 @@
 Summary(pl.UTF-8):     Koder/Dekoder LZMA
 Name:          xz
 Version:       5.1.1
-Release:       2
+Release:       3
 Epoch:         1
 License:       LGPL v2.1+, helper scripts on GPL v2+
 Group:         Applications/Archiving
@@ -183,6 +183,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.69  2011/10/22 21:14:18  arekm
+- rel 3; working parallel default
+
 Revision 1.68  2011/10/22 21:08:45  arekm
 - rel 2; default parallel compression
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xz/xz-parallel.patch?r1=1.1&r2=1.2&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xz/xz.spec?r1=1.68&r2=1.69&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to