retitle 328187 FTBFS [alpha/mips/mipsel/sparc] src/os_unix.c:71: error:
duplicate case value
tags 328187 +patch
thanks
For the time being, this patch fixes the build for mips, and likely
also for the other architectures.
Thiemo
#! /bin/sh -e
## 05_blocksignal.dpatch by <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: SIG_BLOCK isn't a signal.
if [ $# -lt 1 ]; then
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1
fi
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
case "$1" in
-patch) patch -p1 ${patch_opts} < $0;;
-unpatch) patch -R -p1 ${patch_opts} < $0;;
*)
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1;;
esac
exit 0
@DPATCH@
--- inadyn-1.95.old/src/os_unix.c 2005-08-14 02:21:14.000000000 +0200
+++ inadyn-1.95/src/os_unix.c 2005-10-12 14:27:52.000000000 +0200
@@ -68,7 +68,6 @@ static void unix_signal_handler(int sign
case SIGINT:
case SIGQUIT:
case SIGALRM:
- case SIG_BLOCK:
DBG_PRINTF((LOG_DEBUG,MODULE_TAG "Signal '0x%x'
received. Sending 'Shutdown cmd'.\n", signo));
p_self->cmd = CMD_STOP;
break;
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]