freebsd-ports/www/libxul/files/patch-bug784776
Beat Gaetzi 734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00

22 lines
569 B
Text

--- intl/locale/src/unix/nsDateTimeFormatUnix.cpp~
+++ intl/locale/src/unix/nsDateTimeFormatUnix.cpp
@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr
struct tm *tmc;
int i;
- tt = time((time_t)NULL);
+ tt = time(NULL);
tmc = localtime(&tt);
tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM
--- xpcom/glue/nsBaseHashtable.h~
+++ xpcom/glue/nsBaseHashtable.h
@@ -147,7 +147,7 @@ public:
{
EntryType* ent = this->GetEntry(aKey);
if (!ent)
- return NULL;
+ return 0;
return ent->mData;
}