diff -Nru --exclude 99_rerun_autoconf blcr-0.8.5/debian/changelog blcr-0.8.5/debian/changelog --- blcr-0.8.5/debian/changelog 2013-02-01 21:40:47.000000000 +0000 +++ blcr-0.8.5/debian/changelog 2013-03-26 22:45:36.000000000 +0000 @@ -1,3 +1,10 @@ +blcr (0.8.5-2) unstable; urgency=low + + * Update to support 3.2.0-39 + * Fixed undocumented depends between testsuite and -dev + + -- Alan Woodland Tue, 26 Mar 2013 22:44:44 +0000 + blcr (0.8.5-1) unstable; urgency=high * Update to officially blessed upstream 0.8.5 diff -Nru --exclude 99_rerun_autoconf blcr-0.8.5/debian/patches/01_3.2.0-39_support blcr-0.8.5/debian/patches/01_3.2.0-39_support --- blcr-0.8.5/debian/patches/01_3.2.0-39_support 1970-01-01 01:00:00.000000000 +0100 +++ blcr-0.8.5/debian/patches/01_3.2.0-39_support 2013-03-26 22:48:44.000000000 +0000 @@ -0,0 +1,29 @@ +Index: blcr-0.8.5/configure.ac +=================================================================== +--- blcr-0.8.5.orig/configure.ac 2013-03-26 22:48:01.000000000 +0000 ++++ blcr-0.8.5/configure.ac 2013-03-26 22:48:13.000000000 +0000 +@@ -1071,6 +1071,11 @@ + CR_BAD_KERNEL([unable to determine type of task.pids array]) + fi + ++CR_FIND_KSYM([signal_wake_up],[CODE], ++ [extern void signal_wake_up(struct task_struct *, int);]) ++CR_FIND_KSYM([signal_wake_up_state],[CODE], ++ [extern void signal_wake_up_state(struct task_struct *, int);]) ++ + # put_task_struct() requires one of these: + CR_FIND_KSYM([__put_task_struct],[CODE],[extern void __put_task_struct(struct task_struct *);]) + CR_FIND_KSYM([__put_task_struct_cb],[CODE]) +Index: blcr-0.8.5/cr_module/cr_trigger.c +=================================================================== +--- blcr-0.8.5.orig/cr_module/cr_trigger.c 2008-12-05 23:15:19.000000000 +0000 ++++ blcr-0.8.5/cr_module/cr_trigger.c 2013-03-26 22:48:25.000000000 +0000 +@@ -96,7 +96,7 @@ + /* Save the "stoppedness" of the task for later restore */ + cr_task->stopped = (task->state == TASK_STOPPED); + if (!retval && (cr_task->stopped)) { +- wake_up_process(task); ++ signal_wake_up(task,1); + } + cr_task->self_exec_id = task->self_exec_id; + out: diff -Nru --exclude 99_rerun_autoconf blcr-0.8.5/debian/patches/02_dlopen_test_fix blcr-0.8.5/debian/patches/02_dlopen_test_fix --- blcr-0.8.5/debian/patches/02_dlopen_test_fix 1970-01-01 01:00:00.000000000 +0100 +++ blcr-0.8.5/debian/patches/02_dlopen_test_fix 2013-03-26 22:50:00.000000000 +0000 @@ -0,0 +1,30 @@ +Index: blcr-0.8.5/tests/dlopen_aux.c +=================================================================== +--- blcr-0.8.5.orig/tests/dlopen_aux.c 2008-05-20 01:44:57.000000000 +0100 ++++ blcr-0.8.5/tests/dlopen_aux.c 2013-03-26 22:49:53.000000000 +0000 +@@ -9,6 +9,13 @@ + + #include "libcr.h" + ++#ifndef STRINGIFY ++ #define STRINGIFY_HELPER(x) #x ++ #define STRINGIFY(x) STRINGIFY_HELPER(x) ++#endif ++ ++#define THE_LIBRARY "libcr.so." STRINGIFY(LIBCR_MAJOR) ++ + int main(void) + { + cr_client_id_t (*my_cr_init)(void); +@@ -28,9 +35,9 @@ + exit(1); + } + +- libcr_handle = dlopen("libcr.so", RTLD_NOW); ++ libcr_handle = dlopen(THE_LIBRARY, RTLD_NOW); + if (libcr_handle == NULL) { +- fprintf(stderr, "dlopen(libcr.so) failed unexpectedly. Bad LD_LIBRARY_PATH?\n"); ++ fprintf(stderr, "dlopen(" THE_LIBRARY ") failed unexpectedly. Bad LD_LIBRARY_PATH?\n"); + exit(1); + } + diff -Nru --exclude 99_rerun_autoconf blcr-0.8.5/debian/patches/series blcr-0.8.5/debian/patches/series --- blcr-0.8.5/debian/patches/series 2013-02-01 21:26:59.000000000 +0000 +++ blcr-0.8.5/debian/patches/series 2013-03-26 22:50:24.000000000 +0000 @@ -1,2 +1,4 @@ +01_3.2.0-39_support +02_dlopen_test_fix 10_am_maint_mode 99_rerun_autoconf