~ubuntu-branches/debian/sid/botan/sid

« back to all changes in this revision

Viewing changes to debian/patches/01-cpuinfo.dpatch

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2018-03-01 22:23:25 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20180301222325-7p7vc45gu3hta34d
Tags: 2.4.0-2
* Don't remove .doctrees from the manual if it doesn't exist.
* Don't specify parallel to debhelper.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh /usr/share/dpatch/dpatch-run
2
 
## 01-cpuinfo.dpatch by Daniel Baumann <daniel@debian.org>
3
 
##
4
 
## DP: Disables cpu detection based on /proc/cpuinfo (Closes: #402073).
5
 
 
6
 
@DPATCH@
7
 
 
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 @@
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';
16
 
-
17
 
-        if(-e $cpuinfo and -r $cpuinfo)
18
 
-        {
19
 
-            $cpu = guess_cpu_from_this(slurp_file($cpuinfo));
20
 
-        }
21
 
+        #my $cpuinfo = '/proc/cpuinfo';
22
 
+       #
23
 
+        #if(-e $cpuinfo and -r $cpuinfo)
24
 
+        #{
25
 
+        #    $cpu = guess_cpu_from_this(slurp_file($cpuinfo));
26
 
+        #}
27
 
 
28
 
         # `umame -p` is sometimes something stupid like unknown, but in some
29
 
         # cases it can be more specific (useful) than `uname -m`