FreeBSD Bugzilla – Attachment 198684 Details for
Bug 232734
devel/astyle: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
astyle.patch (text/plain), 2.49 KB, created by
Piotr Kubaj
on 2018-10-27 00:26:54 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-10-27 00:26:54 UTC
Size:
2.49 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 483039) >+++ Makefile (working copy) >@@ -14,10 +14,6 @@ > LICENSE= MIT > LICENSE_FILE= ${WRKDIR}/astyle/LICENSE.md > >-BROKEN_mips= fails to build: unrecognized command line option "-std=c++11" >-BROKEN_mips64= fails to build: unrecognized command line option "-std=c++11" >-BROKEN_powerpc64= fails to build: unrecognized command line option "-std=c++11" >- > USES= compiler:c++11-lang dos2unix gmake > > ALL_TARGET= astyle >Index: files/patch-Makefile >=================================================================== >--- files/patch-Makefile (nonexistent) >+++ files/patch-Makefile (working copy) >@@ -0,0 +1,11 @@ >+--- Makefile.orig 2018-10-27 00:13:24 UTC >++++ Makefile >+@@ -37,7 +37,7 @@ objdir = obj >+ ipath=$(prefix)/bin >+ CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 >+ JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux >+-CXX = g++ >++CXX ?= g++ >+ INSTALL=install -o $(USER) -g $(USER) >+ >+ # Library's major version number -- Increment in case of incompatible API > >Property changes on: files/patch-Makefile >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_astyle__main.cpp >=================================================================== >--- files/patch-src_astyle__main.cpp (nonexistent) >+++ files/patch-src_astyle__main.cpp (working copy) >@@ -0,0 +1,13 @@ >+--- /tmp/usr/local/poudriere/ports/default/devel/astyle/work/astyle/src/astyle_main.cpp.orig 2018-10-27 02:16:01.893346000 +0200 >++++ /tmp/usr/local/poudriere/ports/default/devel/astyle/work/astyle/src/astyle_main.cpp 2018-10-27 02:19:36.333754000 +0200 >+@@ -46,6 +46,10 @@ >+ #ifdef _WIN32 >+ #undef UNICODE // use ASCII windows functions >+ #include <windows.h> >++#elif defined(__FreeBSD__) >++ #include <dirent.h> >++ #include <sys/syslimits.h> >++ #include <unistd.h> >+ #else >+ #include <dirent.h> >+ #include <unistd.h> > >Property changes on: files/patch-src_astyle__main.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 232734
:
198684
|
199623
|
200644