diff options
author | beat <beat@FreeBSD.org> | 2010-06-24 04:14:40 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2010-06-24 04:14:40 +0800 |
commit | b21450a66e2f9d08f5e9944ae5e9772996149b35 (patch) | |
tree | 2317060e9710729260d2c725ff09422c0df23f67 /www/firefox3/files/patch-xpfe-components-history-src-nsGlobalHistory.cpp | |
parent | 4d12378e6a45b04617de759eccad5fc68daa7579 (diff) | |
download | freebsd-ports-gnome-b21450a66e2f9d08f5e9944ae5e9772996149b35.tar.gz freebsd-ports-gnome-b21450a66e2f9d08f5e9944ae5e9772996149b35.tar.zst freebsd-ports-gnome-b21450a66e2f9d08f5e9944ae5e9772996149b35.zip |
- Remove www/firefox3: Upstream support dropped. Please consider using
www/firefox or www/firefox35 (if you depend on the java plugin) instead.
Feature safe: yes
Diffstat (limited to 'www/firefox3/files/patch-xpfe-components-history-src-nsGlobalHistory.cpp')
-rw-r--r-- | www/firefox3/files/patch-xpfe-components-history-src-nsGlobalHistory.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/www/firefox3/files/patch-xpfe-components-history-src-nsGlobalHistory.cpp b/www/firefox3/files/patch-xpfe-components-history-src-nsGlobalHistory.cpp deleted file mode 100644 index ee3eede144f1..000000000000 --- a/www/firefox3/files/patch-xpfe-components-history-src-nsGlobalHistory.cpp +++ /dev/null @@ -1,24 +0,0 @@ ---- xpfe/components/history/src/nsGlobalHistory.cpp.orig 2007-12-03 05:25:14.000000000 +0100 -+++ xpfe/components/history/src/nsGlobalHistory.cpp -@@ -304,7 +304,9 @@ matchAgeInDaysCallback(nsIMdbRow *row, v - if (err != 0) return PR_FALSE; - - PRTime rowDate; -- PR_sscanf((const char*)yarn.mYarn_Buf, "%lld", &rowDate); -+ long long ld; -+ PR_sscanf((const char*)yarn.mYarn_Buf, "%lld", &ld); -+ rowDate = ld; - - PRInt32 days = matchSearchTerm->globalHist->GetAgeInDays(rowDate); - -@@ -1000,7 +1002,9 @@ nsGlobalHistory::GetRowValue(nsIMdbRow * - if (!yarn.mYarn_Fill || !yarn.mYarn_Buf) - return NS_OK; - -- PR_sscanf((const char*)yarn.mYarn_Buf, "%lld", aResult); -+ long long ld; -+ PR_sscanf((const char*)yarn.mYarn_Buf, "%lld", &ld); -+ *aResult = ld; - - return NS_OK; - } |