зеркало из https://github.com/mozilla/gecko-dev.git
Bug #280901 --> Fix ports bustage for OSF/1 builds
Patch by Laxmi Harikumar r=mvl sr=me
This commit is contained in:
Родитель
42239160e5
Коммит
330fa6dc4b
|
@ -12,3 +12,69 @@ Changes made for mozilla:
|
|||
* Commented out std namespace declarations from .cpp files (using namespace std;)
|
||||
* Removed #include <unistd.h> for the build system
|
||||
* Some specific changes are needed for SunONE studio compiler, please refer to https://bugzilla.mozilla.org/show_bug.cgi?id=278672
|
||||
* The files cctype.h,cstring.h,cstdio.h etc are not supported by all compilers.
|
||||
So the following files need to be changed.
|
||||
Refer bug 280901 (http://bugzilla.mozilla.org/show_bug.cgi?id=280901)
|
||||
- mozilla/extensions/spellcheck/myspell/src/affentry.cpp
|
||||
Use:
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
instead of
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
- mozilla/extensions/spellcheck/myspell/src/affixmgr.cpp
|
||||
Use:
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
instead of:
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
- mozilla/extensions/spellcheck/myspell/src/affixmgr.hxx
|
||||
Use:
|
||||
#include <stdio.h>
|
||||
instead of:
|
||||
#include <cstdio>
|
||||
- mozilla/extensions/spellcheck/myspell/src/csutil.cpp
|
||||
Use:
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
instead of:
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
- mozilla/extensions/spellcheck/myspell/src/hashmgr.cpp
|
||||
Use:
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
instead of:
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
- mozilla/extensions/spellcheck/myspell/src/myspell.cpp
|
||||
Use:
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
instead of:
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
- mozilla/extensions/spellcheck/myspell/src/suggestmgr.cpp
|
||||
Use:
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
instead of:
|
||||
#include <cstdlib>
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "license.readme"
|
||||
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "affentry.hxx"
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "license.readme"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "affixmgr.hxx"
|
||||
#include "affentry.hxx"
|
||||
|
|
|
@ -8,7 +8,7 @@ using namespace std;
|
|||
#include "atypes.hxx"
|
||||
#include "baseaffix.hxx"
|
||||
#include "hashmgr.hxx"
|
||||
#include <cstdio>
|
||||
#include <stdio.h>
|
||||
|
||||
class AffixMgr
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "csutil.hxx"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "license.readme"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "hashmgr.hxx"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "license.readme"
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "myspell.hxx"
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "license.readme"
|
||||
#include <cstdlib>
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "suggestmgr.hxx"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче