summaryrefslogtreecommitdiff
path: root/devel/astyle/files/patch-build_gcc_Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-01-02 09:09:50 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-01-02 09:09:50 +0000
commit6d919e81a8cb484cc585136c358cb873686e2911 (patch)
tree79e76d0e201c99e3e370056cf51f9333368ad8fc /devel/astyle/files/patch-build_gcc_Makefile
parentDocumented several gitlab-ce security vulnerabilities. (diff)
Fix CXX assignment and add new includes to fix build on GCC-based
architectures. PR: 232734 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=489067
Diffstat (limited to 'devel/astyle/files/patch-build_gcc_Makefile')
-rw-r--r--devel/astyle/files/patch-build_gcc_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/astyle/files/patch-build_gcc_Makefile b/devel/astyle/files/patch-build_gcc_Makefile
new file mode 100644
index 000000000000..038d6e645f08
--- /dev/null
+++ b/devel/astyle/files/patch-build_gcc_Makefile
@@ -0,0 +1,11 @@
+--- ../../build/gcc/Makefile.orig 2018-01-11 17:18:18 UTC
++++ ../../build/gcc/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 = %%CXX%%
+ INSTALL=install -o $(USER) -g $(USER)
+
+ # Library's major version number -- Increment in case of incompatible API