FreeBSD Bugzilla – Attachment 197518 Details for
Bug 231741
devel/jna: fix build on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
jna.patch (text/plain), 1.47 KB, created by
Piotr Kubaj
on 2018-09-26 14:18:11 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-09-26 14:18:11 UTC
Size:
1.47 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 480666) >+++ Makefile (working copy) >@@ -15,7 +15,6 @@ > > BROKEN_armv6= fails to compile: build.xml: compilation failed > BROKEN_armv7= fails to compile: build.xml: compilation failed >-BROKEN_powerpc64= fails to compile: unrecognized command line option "-Wno-unknown-warning-option" > > USES= autoreconf:build gmake libtool > USE_ANT= yes >@@ -36,7 +35,7 @@ > > OPTIONS_DEFINE= DOCS > >-ANT_ARCH= ${ARCH:S/amd64/x86-64/:S/i386/x86/} >+ANT_ARCH= ${ARCH:S/amd64/x86-64/:S/i386/x86/:S/powerpc64/ppc64/} > > post-patch: > @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ >Index: files/patch-native_Makefile >=================================================================== >--- files/patch-native_Makefile (revision 480666) >+++ files/patch-native_Makefile (working copy) >@@ -18,3 +18,16 @@ > LDFLAGS=-o $@ -shared > CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING > endif >+@@ -338,10 +338,10 @@ endif >+ ifeq ($(CC),gcc) >+ GCC_MAJOR_VERSION = $(shell gcc -dumpversion | cut -f 1 -d '.') >+ ifneq ($(GCC_MAJOR_VERSION),4) >+- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable >++ LOC_CC_OPTS=-Werror -Wno-unused-variable >+ endif >+ else >+- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable >++ LOC_CC_OPTS=-Werror -Wno-unused-variable >+ endif >+ >+ # Enable 64-bit builds if the arch demands it
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 231741
: 197518