View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017508 | Scribus | Build System | public | 2025-04-28 06:44 | 2025-04-28 16:03 |
Reporter | landry | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.7.0 | ||||
Summary | 0017508: building on OpenBSD/i386/32-bits fails because "call to 'toPdf' is ambiguous" | ||||
Description | cf https://github.com/scribusproject/scribus/issues/196 the patch just ensures the right `toPdf` variant exists on OpenBSD: -#if !defined(Q_OS_WIN) && (Q_PROCESSOR_WORDSIZE != 4) +#if (!defined(Q_OS_WIN) && (Q_PROCESSOR_WORDSIZE != 4)) || defined(__OpenBSD__) | ||||
Additional Information | currently rebuilding with the attached patch, my initial patch dropped the #if and works on amd64 and i386 | ||||
Tags | No tags attached. | ||||
Patch | Yes | ||||
|
patch-scribus_pdfwriter_h (402 bytes)
fix build on i386 https://github.com/scribusproject/scribus/issues/196 Index: scribus/pdfwriter.h --- scribus/pdfwriter.h.orig +++ scribus/pdfwriter.h @@ -83,7 +83,7 @@ namespace Pdf /** Cf. PDF32000-2008, 7.3.3 */ -#if !defined(Q_OS_WIN) && (Q_PROCESSOR_WORDSIZE != 4) +#if (!defined(Q_OS_WIN) && (Q_PROCESSOR_WORDSIZE != 4)) || defined(__OpenBSD__) QByteArray toPdf(size_t v); #endif |
|
are you sure that openbsd cannot be 64 bits? |