On Thu, Feb 27, 2014 at 11:40:58AM +0100, Matthias Klose wrote:
issue is not fixed, see
https://buildd.debian.org/status/fetch.php?pkg=radare2arch=s390xver=0.9.6-3stamp=1390938839
Here's a simple debdiff for a real fix. Uploaded to DELAYED/5 just now.
Add #define _GNU_SOURCE as shown in the strcasestr man page:
diff -Nru radare2-0.9.6/debian/changelog radare2-0.9.6/debian/changelog
--- radare2-0.9.6/debian/changelog 2014-01-28 18:29:35.0 +
+++ radare2-0.9.6/debian/changelog 2014-03-23 14:46:29.0 +
@@ -1,3 +1,10 @@
+radare2 (0.9.6-3.1) unstable; urgency=medium
+
+ * debian/patches/12_fix_strcasestr_declaration: Add #define _GNU_SOURCE
+as well, to get the definition of strcasestr (closes: #735921).
+
+ -- Steve McIntyre 93...@debian.org Sun, 23 Mar 2014 14:38:44 +
+
radare2 (0.9.6-3) unstable; urgency=medium
* debian/patches/12_fix_strcasestr_declaration: Fixed a missing include,
diff -Nru radare2-0.9.6/debian/patches/12_fix_strcasestr_declaration.patch
radare2-0.9.6/debian/patches/12_fix_strcasestr_declaration.patch
--- radare2-0.9.6/debian/patches/12_fix_strcasestr_declaration.patch
2014-01-28 18:27:01.0 +
+++ radare2-0.9.6/debian/patches/12_fix_strcasestr_declaration.patch
2014-03-23 14:47:54.0 +
@@ -1,14 +1,18 @@
Description: Fix an implicit declaration of strcasestr.
Matthias Klose found a function not defined in the build logs. It's due
to a missing include. I checked upstream and it's has already been fixed.
+ Updated by Steve McIntyre 93...@debian.org
Author: David MartÃnez Moreno en...@debian.org
Bug-Debian: http://bugs.debian.org/735921
Forwarded: not-needed
-Last-Update: 2014-01-28
+Last-Update: 2014-03-23
--- radare2-0.9.6.orig/libr/util/str.c
+++ radare2-0.9.6/libr/util/str.c
-@@ -3,6 +3,7 @@
+@@ -1,8 +1,10 @@
+ /* radare - LGPL - Copyright 2007-2013 - pancake */
+
++#define _GNU_SOURCE
#include r_types.h
#include r_util.h
#include stdio.h
--
Steve McIntyre, Cambridge, UK.st...@einval.com
Into the distance, a ribbon of black
Stretched to the point of no turning back
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org