[SCM] BOINC packaging branch, master, updated. debian/6.4.5+dfsg-3-13-g9fc06fd

rmayorga rmayorga at debian.org
Sat Nov 7 23:31:03 UTC 2009


The following commit has been merged in the master branch:
commit 9fc06fd384e9dd416208e1c31b6a1a5df43fbc3d
Author: rmayorga <rmayorga at debian.org>
Date:   Sat Nov 7 16:06:46 2009 -0600

    Add 200_don-t-assume_SCHED_BATCH_exist.patch, this prevents FTBFS on kFreeBSD

diff --git a/debian/changelog b/debian/changelog
index cfb6a6c..a8f6e0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ boinc (6.10.17+dfsg-1) unstable; urgency=low
     + 002_remove_hardcoded_optimization.patch  Removed, not needed anymore
     + 004_exclude_sea.patch - Removed - not needed anymore
     + 001_dont_install_ca-bundle.crt.patch Removed not needed anymore
+    + 200__don-t-assume_SCHED_BATCH_exist.patch - Added to Prevent FTBFS
+      on kfreebsd
   * debian/copyright 
     + zip/zip and zip/unzip references removed
   * debian/rules
diff --git a/debian/patches/200_don-t-assume_SCHED_BATCH_exist.patch b/debian/patches/200_don-t-assume_SCHED_BATCH_exist.patch
new file mode 100644
index 0000000..894585b
--- /dev/null
+++ b/debian/patches/200_don-t-assume_SCHED_BATCH_exist.patch
@@ -0,0 +1,24 @@
+# Author: René Mayorga <rmayorga at debian.org>
+# Description: Check if the system is linux befoore use SCHED_BATCH
+#  This will prevent FTBFS on  kFreeBSD
+#  The patch stills need to be forward to upstream
+--- boinc.orig/client/app_start.cpp
++++ boinc/client/app_start.cpp
+@@ -24,7 +24,7 @@
+ #include "win_util.h"
+ #else
+ #include "config.h"
+-#ifdef HAVE_SCHED_SETSCHEDULER
++#if defined (HAVE_SCHED_SETSCHEDULER) && defined (__linux__)
+ #include <sched.h>
+ #endif
+ #if HAVE_SYS_TIME_H
+@@ -851,7 +851,7 @@
+                 perror("setpriority");
+             }
+ #endif
+-#ifdef HAVE_SCHED_SETSCHEDULER
++#if defined (HAVE_SCHED_SETSCHEDULER) && defined (__linux__)
+             if (!high_priority) {
+                 struct sched_param p;
+                 p.sched_priority = 0;
diff --git a/debian/patches/series b/debian/patches/series
index 8e82cf3..5ec30e8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 003_use_sensible-browser.patch 
 006_correct_catalog_path.patch
+200_don-t-assume_SCHED_BATCH_exist.patch

-- 
BOINC packaging



More information about the pkg-boinc-commits mailing list