Menu

#11 patch to build with qt-4.2.1

Unstable_(example)
closed
nobody
None
5
2018-01-06
2007-09-09
No

INSTALL says qt >= 4.2.1 is required bit UI files contain 4.3 attributes like leftMargin. this patch comments out these attributes.

the last hunk at the bottom of the patchfile fixes a little cosmetic issue (catch return value from function):

--- xca-0.6.4/lib/pki_temp.cpp 2007-08-27 18:32:39.000000000 +0200
+++ xca-0.6.4.mod/lib/pki_temp.cpp 2007-08-27 18:35:09.000000000 +0200
@@ -181,6 +181,7 @@
int size = 0;
unsigned char *p, buf[2*sizeof(int)], *p1=buf;
FILE *fp = fopen(CCHAR(fname),"w");
+ size_t rc;

if (fp == NULL) {
fopen_error(fname);
@@ -189,8 +190,8 @@
p = toData(&size);
db::intToData(&p1, size);
db::intToData(&p1, dataVersion);
- fwrite(buf, 2*sizeof(int), 1, fp);
- fwrite(p, 1, size, fp);
+ rc=fwrite(buf, 2*sizeof(int), 1, fp);
+ rc=fwrite(p, 1, size, fp);
OPENSSL_free(p);
fclose(fp);
}

Discussion

  • Andreas Piesk

    Andreas Piesk - 2007-09-09
     
  • Christian Hohnstaedt

    • status: open --> closed
    • Group: --> Unstable_(example)
     
  • Christian Hohnstaedt

    outdated :-)