Bug 186932 - [MAINTAINER] chinese/ve: Fix compatibility for fbsd 10
Summary: [MAINTAINER] chinese/ve: Fix compatibility for fbsd 10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 00:10 UTC by Hung-Yi Chen
Modified: 2014-02-23 15:30 UTC (History)
0 users

See Also:


Attachments
ve-1.1_1.patch (2.28 KB, patch)
2014-02-21 00:10 UTC, Hung-Yi Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-Yi Chen 2014-02-21 00:10:00 UTC
- Fix compatibility for FreeBSD 10.
- Add stage support.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-21 00:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-23 15:21:09 UTC
Author: sunpoet
Date: Sun Feb 23 15:20:54 2014
New Revision: 345731
URL: http://svnweb.freebsd.org/changeset/ports/345731
QAT: https://qat.redports.org/buildarchive/r345731/

Log:
  - Allow build with clang
  - Respect CC
  - Support STAGEDIR
  - While I'm here:
    - Add LICENSE
    - Use PLIST_DIRS/PLIST_FILES instead of PLIST
  
  PR:		ports/186932
  Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)

Added:
  head/chinese/ve/files/
  head/chinese/ve/files/patch-edit.c   (contents, props changed)
  head/chinese/ve/files/patch-screen.c   (contents, props changed)
Deleted:
  head/chinese/ve/pkg-plist
Modified:
  head/chinese/ve/Makefile

Modified: head/chinese/ve/Makefile
==============================================================================
--- head/chinese/ve/Makefile	Sun Feb 23 15:20:50 2014	(r345730)
+++ head/chinese/ve/Makefile	Sun Feb 23 15:20:54 2014	(r345731)
@@ -10,5 +10,18 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	gaod@hychen.org
 COMMENT=	NTHU-CS Maple BBS 2.36 BBS-like editor
 
-NO_STAGE=	yes
+LICENSE=	GPLv1 GPLv2 GPLv3
+LICENSE_COMB=	dual
+
+MAKE_ARGS=	CC="${CC}"
+
+PLIST_FILES=	bin/ve \
+		%%DATADIR%%/ve.hlp
+PLIST_DIRS=	%%DATADIR%%
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_PROGRAM} ${WRKSRC}/ve ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/ve.hlp ${STAGEDIR}${DATADIR}/
+
 .include <bsd.port.mk>

Added: head/chinese/ve/files/patch-edit.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ve/files/patch-edit.c	Sun Feb 23 15:20:54 2014	(r345731)
@@ -0,0 +1,11 @@
+--- edit.c.orig	2014-02-21 07:38:19.000000000 +0800
++++ edit.c	2014-02-21 07:38:29.000000000 +0800
+@@ -988,7 +988,7 @@
+       redraw_everything = YEA;
+ }
+ 
+-match_paren()
++void match_paren()
+ {
+    static char parens[] = "()[]{}<>";
+    int type, mode;

Added: head/chinese/ve/files/patch-screen.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ve/files/patch-screen.c	Sun Feb 23 15:20:54 2014	(r345731)
@@ -0,0 +1,11 @@
+--- screen.c.orig	2014-02-21 07:38:36.000000000 +0800
++++ screen.c	2014-02-21 07:38:47.000000000 +0800
+@@ -643,7 +643,7 @@
+   }
+ }
+ 
+-region_scroll_up(int top, int bottom)
++void region_scroll_up(int top, int bottom)
+ {
+    int i;
+ 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-02-23 15:30:44 UTC
State Changed
From-To: open->closed

Committed. Thanks!