Package: asterisk
Version: 1.0.5-1
Tags: patch

Asterisk exists with "Illegal Instriction" on VIA CPUs. This is because
I build packages on an i686 system and the makefile sets:

  PROC=$(system uname -m)

The attached patch replaces i686 with i586. It should be applied after
the makefile patch.

What is the impact of this on the performance of Asterisk on different 
i686 systems?

[Yet untested on latest unstable, as I don't have such a system]

-- 
Tzafrir Cohen   icq#16849755  +972-50-7952406
[EMAIL PROTECTED]    http://xorcom.com
#! /bin/sh /usr/share/dpatch/dpatch-run
## 35_rapid-force-i586.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad asterisk-1.0.5/Makefile /tmp/dpep.ec80Qy/asterisk-1.0.5/Makefile
--- asterisk-1.0.5/Makefile     2005-02-12 02:14:44.000000000 +0200
+++ /tmp/dpep.ec80Qy/asterisk-1.0.5/Makefile    2005-02-12 02:18:35.000000000 
+0200
@@ -56,6 +56,10 @@
 
 ifeq (${OSARCH},Linux)
 PROC=$(shell uname -m)
+# Stop my builds from craching on Via machines with SIGILL
+ifeq ($(PROC),i686)
+  PROC=i586
+endif
 ifeq ($(PROC),x86_64)
 # You must have GCC 3.4 to use k8, otherwise use athlon
 PROC=k8

Reply via email to