about summary refs log tree commit diff
path: root/debian/patches
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2007-09-28 18:27:56 +0000
committerMichael Biebl <biebl@debian.org>2007-09-28 18:27:56 +0000
commit8e106e46371ab5ce776447c0b8c7b2413d752f40 (patch)
treefa54899024f6f4dfdff6a40be3bd3c273e70c062 /debian/patches
parent263d34e792f1a5bb73813e5654ff034fb704df24 (diff)
* debian/patches/21-endianess_fix_r2754.patch
  - Fixes a problem with ASCII passphrases on big-endian systems due to a missing 
    config.h include. (Closes: 391364)

git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/networkmanager@1744 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/21-endianess_fix_r2754.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/21-endianess_fix_r2754.patch b/debian/patches/21-endianess_fix_r2754.patch
new file mode 100644
index 00000000..4932e22a
--- /dev/null
+++ b/debian/patches/21-endianess_fix_r2754.patch
@@ -0,0 +1,28 @@
+Index: ChangeLog
+===================================================================
+--- ChangeLog	(Revision 2753)
++++ ChangeLog	(Revision 2754)
+@@ -1,3 +1,8 @@
++2007-08-30  Dan Williams  <dcbw@redhat.com>
++
++	* libnm-util/sha1.c
++		- Include config.h to get defines for endiannes (gnome.org #420216)
++
+ 2007-07-26  Dan Williams  <dcbw@redhat.com>
+ 
+ 	Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
+Index: libnm-util/sha1.c
+===================================================================
+--- libnm-util/sha1.c	(Revision 2753)
++++ libnm-util/sha1.c	(Revision 2754)
+@@ -12,6 +12,10 @@
+  * See README and COPYING for more details.
+  */
+ 
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
+ #include <stdlib.h>
+ #include <string.h>
+