From 7f3715f1943ae2bb211814d48c2d6480140acae6 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 20 Jul 1998 03:18:03 +0000 Subject: Update to version 1.07. PR: 7267 Submitted by: Mikhail Teterin --- editors/gxedit/Makefile | 8 ++++---- editors/gxedit/distinfo | 2 +- editors/gxedit/files/patch-aa | 22 ++++++++++++++++++++++ editors/gxedit/files/patch-ab | 7 +++++++ 4 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 editors/gxedit/files/patch-aa create mode 100644 editors/gxedit/files/patch-ab diff --git a/editors/gxedit/Makefile b/editors/gxedit/Makefile index 072c91611a69..2b1df2de2631 100644 --- a/editors/gxedit/Makefile +++ b/editors/gxedit/Makefile @@ -1,13 +1,13 @@ # New ports collection makefile for: gxedit -# Version required: 1.06 +# Version required: 1.07 # Date created: 01 Jul 1998 # Whom: Dom Mitchell # -# $Id: Makefile,v 1.3 1998/07/04 20:27:06 steve Exp $ +# $Id: Makefile,v 1.4 1998/07/11 00:29:07 steve Exp $ # -DISTNAME= GXedit1.06 -PKGNAME= gxedit-1.06 +DISTNAME= GXedit1.07 +PKGNAME= gxedit-1.07 CATEGORIES= editors MASTER_SITES= http://devplanet.fastethernet.net/ EXTRACT_SUFX= .tar diff --git a/editors/gxedit/distinfo b/editors/gxedit/distinfo index 900a68beda55..89625e6c06d9 100644 --- a/editors/gxedit/distinfo +++ b/editors/gxedit/distinfo @@ -1 +1 @@ -MD5 (GXedit1.06.tar) = c1bd4a04a19f11f6773937a94db35f9a +MD5 (GXedit1.07.tar) = 728113ed83f012fbfcdb70f34631929a diff --git a/editors/gxedit/files/patch-aa b/editors/gxedit/files/patch-aa new file mode 100644 index 000000000000..da3e5c388082 --- /dev/null +++ b/editors/gxedit/files/patch-aa @@ -0,0 +1,22 @@ +--- gxedit.c.orig Mon Jul 13 02:01:18 1998 ++++ gxedit.c Mon Jul 13 02:03:55 1998 +@@ -2097,2 +2097,9 @@ + ++static const char * mail_spool_fmt = ++#ifdef __FreeBSD__ ++ "/var/mail/%s"; ++#else ++ "/var/spool/mail/%s"; ++#endif ++ + int CB_open_mail_ok(GtkWidget *gtklist, gpointer func_data) +@@ -2103,3 +2110,3 @@ + modified = 0; +- sprintf(line, "/var/spool/mail/%s", login); ++ sprintf(line, mail_spool_fmt, login); + fd = fopen(line, "r"); +@@ -2162,3 +2169,3 @@ + } +- sprintf(line, "/var/spool/mail/%s", login); ++ sprintf(line, mail_spool_fmt, login); + fd = fopen(line, "r"); diff --git a/editors/gxedit/files/patch-ab b/editors/gxedit/files/patch-ab new file mode 100644 index 000000000000..e57d703724da --- /dev/null +++ b/editors/gxedit/files/patch-ab @@ -0,0 +1,7 @@ +--- Makefile.orig Mon Jul 13 02:13:34 1998 ++++ Makefile Mon Jul 13 02:14:24 1998 +@@ -3 +3 @@ +-CFLAGS = `gtk-config --cflags` -O ++CFLAGS += `gtk-config --cflags` +@@ -7 +6,0 @@ +-CC = gcc -- cgit v1.2.3