]> git.pld-linux.org Git - packages/cromfs.git/commitdiff
- fix build without omp
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 15 Jan 2009 20:57:54 +0000 (20:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cromfs-noomp.patch -> 1.1

cromfs-noomp.patch [new file with mode: 0644]

diff --git a/cromfs-noomp.patch b/cromfs-noomp.patch
new file mode 100644 (file)
index 0000000..5b45651
--- /dev/null
@@ -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);
This page took 0.086503 seconds and 4 git commands to generate.