FreeBSD Bugzilla – Attachment 200340 Details for
Bug 234251
graphics/xpdf4:fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v2
xpdf4.patch (text/plain), 1.66 KB, created by
Piotr Kubaj
on 2018-12-21 16:12:31 UTC
(
hide
)
Description:
v2
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-12-21 16:12:31 UTC
Size:
1.66 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 487991) >+++ Makefile (working copy) >@@ -26,7 +26,7 @@ > MANPREFIX= ${PREFIX}/share/xpdf > SUB_FILES= xpdf-man.conf > >-USES= cmake:outsource localbase >+USES= compiler:c++11-lang cmake:outsource localbase > CMAKE_ARGS+= -DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \ > -DUSE_LCMS:BOOL=OFF -DSYSTEM_XPDFRC=${PREFIX}/etc/xpdfrc > >@@ -52,8 +52,8 @@ > PRINT_CMAKE_ON= -DXPDFWIDGET_PRINTING:BOOL=ON -DCUPS:BOOL=ON > PRINT_CMAKE_OFF= -DXPDFWIDGET_PRINTING:BOOL=OFF -DCUPS:BOOL=OFF > PRINT_DESC= Print support (CUPS dependency) >-PRINT_LDFLAGS= -L${LOCALBASE}/lib > PRINT_LIB_DEPENDS= libcups.so:print/cups >+PRINT_USES= localbase:ldflags > > post-install: > @cd ${STAGEDIR}${PREFIX}; \ >Index: files/patch-xpdf-qt_XpdfWidgetPrint.cc >=================================================================== >--- files/patch-xpdf-qt_XpdfWidgetPrint.cc (revision 487991) >+++ files/patch-xpdf-qt_XpdfWidgetPrint.cc (working copy) >@@ -5,7 +5,7 @@ > # include <CoreFoundation/CoreFoundation.h> > # include <ApplicationServices/ApplicationServices.h> > -#elif defined(__linux__) >-+#elif defined(__linux__) || defined(__FreeBSD_cc_version) >++#elif defined(__linux__) || defined(__FreeBSD__) > # include "PSOutputDev.h" > # include <cups/cups.h> > #endif >@@ -14,7 +14,7 @@ > //------------------------------------------------------------------------ > > -#elif defined(__linux__) >-+#elif defined(__linux__) || defined(__FreeBSD_cc_version) >++#elif defined(__linux__) || defined(__FreeBSD__) > > static void fileOut(void *stream, const char *data, int len) { > fwrite(data, 1, len, (FILE *)stream);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234251
:
200338
|
200340
|
200408