Wrong declaration of strcasestr() in mpeg4ip.h
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mpeg4ip (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The declaration of strcasestr() in /usr/include/
Reproduction (one line of code typed in via stdin, terminated by Ctrl-D):
$ g++ -x c++ -
#include <mp4.h>
In file included from /usr/include/
/usr/include/
/usr/include/
Fix:
Just omit the wrong declaration, strcasestr() is declared in string.h, which is included by mpeg4ip.h.
--- mpeg4ip-
+++ mpeg4ip-
@@ -123,7 +123,6 @@
#ifdef __cplusplus
extern "C" {
#endif
-char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
This bug was fixed in the package mpeg4ip - 1:1.6dfsg- 0.2ubuntu5
--------------- 0.2ubuntu5) karmic; urgency=low
mpeg4ip (1:1.6dfsg-
* debian/ patches/ 08_strcasestr. dpatch: Fix FTBFS due to strcasestr
declaration (LP: #444555). Patch by Urs Fleisch.
-- John Dong <email address hidden> Tue, 06 Oct 2009 11:24:26 -0400