diff options
author | tobik <tobik@FreeBSD.org> | 2018-08-25 12:43:25 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-08-25 12:43:25 +0800 |
commit | f98f38ea41f6602c8fa7690faac1282e1195d7df (patch) | |
tree | 992449d52a1def0e19565128e768e1a48d0ed96a /editors/manedit | |
parent | 5a8f5ac17e85fd5d4dca2b8fdd09be328f92e5df (diff) | |
download | freebsd-ports-gnome-f98f38ea41f6602c8fa7690faac1282e1195d7df.tar.gz freebsd-ports-gnome-f98f38ea41f6602c8fa7690faac1282e1195d7df.tar.zst freebsd-ports-gnome-f98f38ea41f6602c8fa7690faac1282e1195d7df.zip |
editors/manedit: Fix build with Clang 6
In file included from <built-in>:375:
<command line>:4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined]
#define __cplusplus 1
^
<built-in>:371:9: note: previous definition is here
#define __cplusplus 201402L
^
http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/manedit-1.2.1_3.log
Diffstat (limited to 'editors/manedit')
-rw-r--r-- | editors/manedit/files/patch-Makefile.FreeBSD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/editors/manedit/files/patch-Makefile.FreeBSD b/editors/manedit/files/patch-Makefile.FreeBSD index 01294aba954e..d020abedf3a3 100644 --- a/editors/manedit/files/patch-Makefile.FreeBSD +++ b/editors/manedit/files/patch-Makefile.FreeBSD @@ -1,18 +1,19 @@ ---- Makefile.FreeBSD.orig 2013-07-19 16:44:02.000000000 +0200 -+++ Makefile.FreeBSD 2013-07-19 16:44:28.000000000 +0200 -@@ -56,7 +56,10 @@ CFLAGS += $(GTK_CFLAGS) -O2 -Wall \ +--- Makefile.FreeBSD.orig 2008-10-11 23:00:00 UTC ++++ Makefile.FreeBSD +@@ -56,9 +56,10 @@ CFLAGS += $(GTK_CFLAGS) -O2 -Wall \ -DPREFIX=\"$(PREFIX)\" \ -DLOCALBASE=\"$(LOCALBASE)\" -DX11BASE=\"$(X11BASE)\" -CPPFLAGS = -D__cplusplus -Dc_plusplus +CPPFLAGS = $(CXXFLAGS) $(GTK_CFLAGS) -O2 -Wall \ + -DPREFIX=\"$(PREFIX)\" \ -+ -DLOCALBASE=\"$(LOCALBASE)\" -DX11BASE=\"$(X11BASE)\" \ -+ -D__cplusplus -Dc_plusplus - ++ -DLOCALBASE=\"$(LOCALBASE)\" -DX11BASE=\"$(X11BASE)\" +- # ######################################################################## -@@ -109,7 +112,7 @@ OBJ_CPP = $(SRC_CPP:.cpp=.o) + # Dependant Libraries: + # +@@ -109,7 +110,7 @@ OBJ_CPP = $(SRC_CPP:.cpp=.o) .c.o: $(CC) -c $*.c $(INC) $(CFLAGS) .cpp.o: |