FreeBSD Bugzilla – Attachment 203465 Details for
Bug 237097
graphics/pqiv: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
pqiv.patch (text/plain), 839 bytes, created by
Piotr Kubaj
on 2019-04-08 07:47:43 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-04-08 07:47:43 UTC
Size:
839 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 498040) >+++ Makefile (working copy) >@@ -10,8 +10,6 @@ > > LICENSE= GPLv2 > >-BROKEN_powerpc64= fails to compile: pqiv.c:1183: \#pragma GCC diagnostic not allowed inside functions >- > LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ > libfreetype.so:print/freetype2 > BUILD_DEPENDS= bash:shells/bash >@@ -69,6 +67,14 @@ > PORTDOCS= README.markdown > PLIST_FILES= bin/pqiv man/man1/pqiv.1.gz > >+post-patch: >+.if exists(/usr/lib/libstdc++.so) >+ @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \ >+ -e '/PQIV_DISABLE_PEDANTIC/d' \ >+ -e '/PQIV_ENABLE_PEDANTIC/d' \ >+ ${WRKSRC}/pqiv.c >+.endif >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${STAGEDIR}${PREFIX}/bin > ${INSTALL_MAN} ${WRKSRC}/pqiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
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 237097
: 203465