Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/manedit Don't define __cplusplus, that's the j...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b160af20867a
branches:  trunk
changeset: 431563:b160af20867a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:05:49 2020 +0000

description:
Don't define __cplusplus, that's the job of the compiler.

diffstat:

 editors/manedit/distinfo                   |   5 +++--
 editors/manedit/patches/patch-Makefile.AIX |  13 +++++++++++++
 editors/manedit/patches/patch-af           |  18 ++++++++++++++----
 3 files changed, 30 insertions(+), 6 deletions(-)

diffs (64 lines):

diff -r c13b38f4298e -r b160af20867a editors/manedit/distinfo
--- a/editors/manedit/distinfo  Thu May 14 19:05:27 2020 +0000
+++ b/editors/manedit/distinfo  Thu May 14 19:05:49 2020 +0000
@@ -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 -r c13b38f4298e -r b160af20867a editors/manedit/patches/patch-Makefile.AIX
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/manedit/patches/patch-Makefile.AIX        Thu May 14 19:05:49 2020 +0000
@@ -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 -r c13b38f4298e -r b160af20867a editors/manedit/patches/patch-af
--- a/editors/manedit/patches/patch-af  Thu May 14 19:05:27 2020 +0000
+++ b/editors/manedit/patches/patch-af  Thu May 14 19:05:49 2020 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index