SOURCES: cromfs-noomp.patch (NEW) - fix build without omp
qboosh
qboosh at pld-linux.org
Thu Jan 15 21:58:00 CET 2009
Author: qboosh Date: Thu Jan 15 20:58:00 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix build without omp
---- Files affected:
SOURCES:
cromfs-noomp.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/cromfs-noomp.patch
diff -u /dev/null SOURCES/cromfs-noomp.patch:1.1
--- /dev/null Thu Jan 15 21:58:01 2009
+++ SOURCES/cromfs-noomp.patch Thu Jan 15 21:57:54 2009
@@ -0,0 +1,14 @@
+--- cromfs-1.5.6.2/util/unmkcromfs.cc.orig 2008-12-16 21:19:59.000000000 +0100
++++ cromfs-1.5.6.2/util/unmkcromfs.cc 2009-01-15 21:21:12.814458885 +0100
+@@ -105,7 +105,11 @@
+ beginline();
+ #endif
+ }
++ #ifdef _OPENMP
+ void endthread(int threadno = omp_get_thread_num())
++ #else
++ void endthread(int threadno = 0)
++ #endif
+ {
+ #ifdef _OPENMP
+ lines.erase(threadno);
================================================================
More information about the pld-cvs-commit
mailing list