1
#!/bin/sh /usr/share/dpatch/dpatch-run
2
## 01-cpuinfo.dpatch by Daniel Baumann <daniel@debian.org>
4
## DP: Disables cpu detection based on /proc/cpuinfo (Closes: #402073).
8
diff -Naur Botan-1.6.0.orig/configure.pl Botan-1.6.0/configure.pl
9
--- Botan-1.6.0.orig/configure.pl 2006-12-16 10:45:36.000000000 +0000
10
+++ Botan-1.6.0/configure.pl 2007-01-01 23:13:52.000000000 +0000
11
@@ -1636,12 +1636,12 @@
13
# If we have /proc/cpuinfo, try to get nice specific information about
14
# what kind of CPU we're running on.
15
- my $cpuinfo = '/proc/cpuinfo';
17
- if(-e $cpuinfo and -r $cpuinfo)
19
- $cpu = guess_cpu_from_this(slurp_file($cpuinfo));
21
+ #my $cpuinfo = '/proc/cpuinfo';
23
+ #if(-e $cpuinfo and -r $cpuinfo)
25
+ # $cpu = guess_cpu_from_this(slurp_file($cpuinfo));
28
# `umame -p` is sometimes something stupid like unknown, but in some
29
# cases it can be more specific (useful) than `uname -m`