Pre-build commit debian/0.10.3-1kali3
authorMati Aharoni (Kali Linux Developer) <muts@kali.org>
Tue, 4 Dec 2012 11:44:17 +0000 (06:44 -0500)
committerMati Aharoni (Kali Linux Developer) <muts@kali.org>
Tue, 4 Dec 2012 11:44:17 +0000 (06:44 -0500)
debian/changelog
debian/patches/mfoc-asm-fix [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

index 42e629f..4da5d06 100644 (file)
@@ -1,3 +1,9 @@
+mfoc (0.10.3-1kali3) kali; urgency=low
+
+  * Fixed compilation issue
+
+ -- Mati Aharoni <muts@kali.org>  Tue, 04 Dec 2012 06:43:46 -0500
+
 mfoc (0.10.3-1kali2) kali; urgency=low
 
   * Version bump
diff --git a/debian/patches/mfoc-asm-fix b/debian/patches/mfoc-asm-fix
new file mode 100644 (file)
index 0000000..c8dcddc
--- /dev/null
@@ -0,0 +1,14 @@
+Allow mfoc to compile on 32 bit machines - muts.
+Index: mfoc/src/crapto1.h
+===================================================================
+--- mfoc.orig/src/crapto1.h    2012-12-04 06:36:29.000000000 -0500
++++ mfoc/src/crapto1.h 2012-12-04 06:41:48.000000000 -0500
+@@ -62,7 +62,7 @@
+       x ^= x >> 4;
+       return BIT(0x6996, x & 0xf);
+ #else
+-      asm(    "movl %1, %%eax\n"
++      __asm__(    "movl %1, %%eax\n"
+               "mov %%ax, %%cx\n"
+               "shrl $0x10, %%eax\n"
+               "xor %%ax, %%cx\n"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..6f637d3
--- /dev/null
@@ -0,0 +1 @@
+mfoc-asm-fix