diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/libgomp-kfreebsd-testsuite.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/libgomp-kfreebsd-testsuite.diff b/debian/patches/libgomp-kfreebsd-testsuite.diff new file mode 100644 index 0000000..9471ca1 --- /dev/null +++ b/debian/patches/libgomp-kfreebsd-testsuite.diff @@ -0,0 +1,14 @@ +# DP: Disable lock-2.c test on kfreebsd-* + +--- a/src/libgomp/testsuite/libgomp.c/lock-2.c ++++ b/src/libgomp/testsuite/libgomp.c/lock-2.c +@@ -4,6 +4,9 @@ + int + main (void) + { ++#ifdef __FreeBSD_kernel__ ++ return 1; ++#endif + int l = 0; + omp_nest_lock_t lock; + omp_init_nest_lock (&lock); |