diff options
author | joerg <joerg@pkgsrc.org> | 2020-05-14 19:05:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-05-14 19:05:49 +0000 |
commit | f0905e87a5af0f79a8c5081febbdcbe230d1c1e6 (patch) | |
tree | 94b331cff87a090972c14aa4d72956810f8bffd0 /editors | |
parent | 77cd4b312e5f86d2fdf1e5fa0d3917be78c868c2 (diff) | |
download | pkgsrc-f0905e87a5af0f79a8c5081febbdcbe230d1c1e6.tar.gz |
Don't define __cplusplus, that's the job of the compiler.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/manedit/distinfo | 5 | ||||
-rw-r--r-- | editors/manedit/patches/patch-Makefile.AIX | 13 | ||||
-rw-r--r-- | editors/manedit/patches/patch-af | 18 |
3 files changed, 30 insertions, 6 deletions
diff --git a/editors/manedit/distinfo b/editors/manedit/distinfo index 1d54ab14fbe..ef3aca706b9 100644 --- a/editors/manedit/distinfo +++ b/editors/manedit/distinfo @@ -1,14 +1,15 @@ -$NetBSD: distinfo,v 1.12 2019/06/08 10:40:55 rillig Exp $ +$NetBSD: distinfo,v 1.13 2020/05/14 19:05:49 joerg Exp $ SHA1 (manedit-0.8.1.tar.bz2) = 0b1705383840598ae7ced22ce5eb7f111008885b RMD160 (manedit-0.8.1.tar.bz2) = 17d378fad7a0dbe8d7b4c09b334dfc0768b0932e SHA512 (manedit-0.8.1.tar.bz2) = 87d1aa10caf5308c903d41fb47a99366075ce6639520a50186dcb48db7128faab01883912763900fba1d5920f14ae85c0943a3e6c1b58097e030a82801da2a1c Size (manedit-0.8.1.tar.bz2) = 514226 bytes +SHA1 (patch-Makefile.AIX) = d1859d5eab58ddc10a9d224708be4e475be8669e SHA1 (patch-aa) = 25caa42d1956c1b98c9c7f83ff49a56364f74455 SHA1 (patch-ab) = a49685e0c136d4a9bcf10d512cc7dc318154c6c7 SHA1 (patch-ac) = e210778d1e6f26611a8aaac769498ed05f6c1465 SHA1 (patch-ad) = 1948c0940930a9c4e703c7087763f330e5c443c1 SHA1 (patch-ae) = 418b0d379626b7eb6176ba15e7c228e985262005 -SHA1 (patch-af) = 8ff383b82b3813778aefa0e5ec72a76246089fbc +SHA1 (patch-af) = e74bdbd0b510a0ba94c371abf55bfcd9efc49db4 SHA1 (patch-ag) = dc191e1b997da98b1d51a3c9f4ff3540598955f2 SHA1 (patch-include_os.h) = 649f7995bcec2a7e6eafd2ebe5b74ab147be3a5f diff --git a/editors/manedit/patches/patch-Makefile.AIX b/editors/manedit/patches/patch-Makefile.AIX new file mode 100644 index 00000000000..169954dc0f5 --- /dev/null +++ b/editors/manedit/patches/patch-Makefile.AIX @@ -0,0 +1,13 @@ +$NetBSD: patch-Makefile.AIX,v 1.1 2020/05/14 19:05:49 joerg Exp $ + +--- Makefile.AIX.orig 2020-05-13 20:32:55.508961293 +0000 ++++ Makefile.AIX +@@ -58,8 +58,6 @@ CFLAGS += $(GTK_CFLAGS) $(GLIB_CFLAGS) - + -DPREFIX=\"$(PREFIX)\" \ + -DLOCALBASE=\"$(LOCALBASE)\" -DX11BASE=\"$(X11BASE)\" + +-CPPFLAGS = -D__cplusplus -Dc_plusplus +- + + # ######################################################################## + # Dependant Libraries: diff --git a/editors/manedit/patches/patch-af b/editors/manedit/patches/patch-af index 7323c28a22e..014871bad4d 100644 --- a/editors/manedit/patches/patch-af +++ b/editors/manedit/patches/patch-af @@ -1,8 +1,18 @@ -$NetBSD: patch-af,v 1.3 2004/03/20 22:08:11 agc Exp $ +$NetBSD: patch-af,v 1.4 2020/05/14 19:05:49 joerg Exp $ ---- Makefile.FreeBSD 2004/03/20 22:04:43 1.1 -+++ Makefile.FreeBSD 2004/03/20 22:04:48 -@@ -116,7 +116,7 @@ +--- Makefile.FreeBSD.orig 2007-02-11 08:00:00.000000000 +0000 ++++ Makefile.FreeBSD +@@ -56,9 +56,6 @@ CFLAGS += $(GTK_CFLAGS) -O2 -Wall \ + -DPREFIX=\"$(PREFIX)\" \ + -DLOCALBASE=\"$(LOCALBASE)\" -DX11BASE=\"$(X11BASE)\" + +-CPPFLAGS = -D__cplusplus -Dc_plusplus +- +- + # ######################################################################## + # Dependant Libraries: + # +@@ -116,7 +113,7 @@ OBJ_CPP = $(SRC_CPP:.cpp=.o) # Build Rules: # $(BIN): $(OBJ_C) $(OBJ_CPP) |