Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
6602f904
Kaydet (Commit)
6602f904
authored
Tem 15, 2014
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#72277: nss-pem fixed windows and macos build errors
Change-Id: I30b4036b6cf00dec753115bbc59990daec27ef20
üst
0d5b0534
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
nss-pem.patch
external/nss/nss-pem.patch
+10
-11
No files found.
external/nss/nss-pem.patch
Dosyayı görüntüle @
6602f904
...
@@ -182,10 +182,10 @@ index 0000000..621f919
...
@@ -182,10 +182,10 @@ index 0000000..621f919
+#include "nssck.api"
+#include "nssck.api"
diff --git a/a/nss/lib/ckfw/pem/ckpem.h b/b/nss/lib/ckfw/pem/ckpem.h
diff --git a/a/nss/lib/ckfw/pem/ckpem.h b/b/nss/lib/ckfw/pem/ckpem.h
new file mode 100644
new file mode 100644
index 0000000..
2a47c75
index 0000000..
9712ccd
--- /dev/null
--- /dev/null
+++ b/b/nss/lib/ckfw/pem/ckpem.h
+++ b/b/nss/lib/ckfw/pem/ckpem.h
@@ -0,0 +1,26
5
@@
@@ -0,0 +1,26
3
@@
+#ifndef CKPEM_H
+#ifndef CKPEM_H
+#define CKPEM_H
+#define CKPEM_H
+
+
...
@@ -345,8 +345,6 @@ index 0000000..2a47c75
...
@@ -345,8 +345,6 @@ index 0000000..2a47c75
+NSS_EXTERN_DATA pemInternalObject nss_pem_data[];
+NSS_EXTERN_DATA pemInternalObject nss_pem_data[];
+NSS_EXTERN_DATA const PRUint32 nss_pem_nObjects;
+NSS_EXTERN_DATA const PRUint32 nss_pem_nObjects;
+
+
+ PRBool logged_in;
+
+/* our raw object data array */
+/* our raw object data array */
+NSS_EXTERN_DATA pemInternalObject nss_pem_data[];
+NSS_EXTERN_DATA pemInternalObject nss_pem_data[];
+NSS_EXTERN_DATA const PRUint32 nss_pem_nObjects;
+NSS_EXTERN_DATA const PRUint32 nss_pem_nObjects;
...
@@ -897,10 +895,10 @@ index 0000000..1547bf4
...
@@ -897,10 +895,10 @@ index 0000000..1547bf4
+#endif /* NSSCKBI_H */
+#endif /* NSSCKBI_H */
diff --git a/a/nss/lib/ckfw/pem/pargs.c b/b/nss/lib/ckfw/pem/pargs.c
diff --git a/a/nss/lib/ckfw/pem/pargs.c b/b/nss/lib/ckfw/pem/pargs.c
new file mode 100644
new file mode 100644
index 0000000..
f292a8b
index 0000000..
cff6e87
--- /dev/null
--- /dev/null
+++ b/b/nss/lib/ckfw/pem/pargs.c
+++ b/b/nss/lib/ckfw/pem/pargs.c
@@ -0,0 +1,16
2
@@
@@ -0,0 +1,16
3
@@
+/* ***** BEGIN LICENSE BLOCK *****
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ *
...
@@ -948,11 +946,11 @@ index 0000000..f292a8b
...
@@ -948,11 +946,11 @@ index 0000000..f292a8b
+
+
+char *pem_StrNdup(const char *instr, PRInt32 inlen)
+char *pem_StrNdup(const char *instr, PRInt32 inlen)
+{
+{
+ size_t len = inlen;
+ if (!instr) {
+ if (!instr) {
+ return NULL;
+ return NULL;
+ }
+ }
+
+
+ size_t len = inlen;
+ if (!len) {
+ if (!len) {
+ return NULL;
+ return NULL;
+ }
+ }
...
@@ -967,11 +965,12 @@ index 0000000..f292a8b
...
@@ -967,11 +965,12 @@ index 0000000..f292a8b
+
+
+char *pem_Strdup(const char *instr)
+char *pem_Strdup(const char *instr)
+{
+{
+ size_t len;
+ if (!instr) {
+ if (!instr) {
+ return NULL;
+ return NULL;
+ }
+ }
+
+
+
size_t
len = strlen(instr);
+ len = strlen(instr);
+ return pem_StrNdup(instr, len);
+ return pem_StrNdup(instr, len);
+}
+}
+
+
...
@@ -1011,14 +1010,14 @@ index 0000000..f292a8b
...
@@ -1011,14 +1010,14 @@ index 0000000..f292a8b
+pem_ParseString(const char *inputstring, const char delimiter,
+pem_ParseString(const char *inputstring, const char delimiter,
+ PRInt32 * numStrings, char ***returnedstrings)
+ PRInt32 * numStrings, char ***returnedstrings)
+{
+{
+ char nextchar;
+ char *instring = (char *) inputstring;
+ if (!inputstring || !delimiter || !numStrings || !returnedstrings) {
+ if (!inputstring || !delimiter || !numStrings || !returnedstrings) {
+ /* we need a string and a non-zero delimiter, as well as
+ /* we need a string and a non-zero delimiter, as well as
+ * a valid place to return the strings and count
+ * a valid place to return the strings and count
+ */
+ */
+ return PR_FALSE;
+ return PR_FALSE;
+ }
+ }
+ char nextchar;
+ char *instring = (char *) inputstring;
+ *numStrings = 0;
+ *numStrings = 0;
+ *returnedstrings = NULL;
+ *returnedstrings = NULL;
+
+
...
@@ -1050,10 +1049,10 @@ index 0000000..f292a8b
...
@@ -1050,10 +1049,10 @@ index 0000000..f292a8b
+
+
+PRBool pem_FreeParsedStrings(PRInt32 numStrings, char **instrings)
+PRBool pem_FreeParsedStrings(PRInt32 numStrings, char **instrings)
+{
+{
+ PRInt32 counter;
+ if (!numStrings || !instrings) {
+ if (!numStrings || !instrings) {
+ return PR_FALSE;
+ return PR_FALSE;
+ }
+ }
+ PRInt32 counter;
+ for (counter = 0; counter < numStrings; counter++) {
+ for (counter = 0; counter < numStrings; counter++) {
+ char *astring = instrings[counter];
+ char *astring = instrings[counter];
+ if (astring) {
+ if (astring) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment