[94300] trunk/dports/devel/cscope
jmr at macports.org
jmr at macports.org
Thu Jun 14 07:54:10 PDT 2012
Revision: 94300
https://trac.macports.org/changeset/94300
Author: jmr at macports.org
Date: 2012-06-14 07:54:09 -0700 (Thu, 14 Jun 2012)
Log Message:
-----------
cscope: enable use of terminfo (#31835)
Modified Paths:
--------------
trunk/dports/devel/cscope/Portfile
trunk/dports/devel/cscope/files/patch-constants.h
Modified: trunk/dports/devel/cscope/Portfile
===================================================================
--- trunk/dports/devel/cscope/Portfile 2012-06-14 14:12:56 UTC (rev 94299)
+++ trunk/dports/devel/cscope/Portfile 2012-06-14 14:54:09 UTC (rev 94300)
@@ -4,7 +4,7 @@
name cscope
version 15.7a
-revision 1
+revision 2
categories devel
platforms darwin freebsd
maintainers mww
Modified: trunk/dports/devel/cscope/files/patch-constants.h
===================================================================
--- trunk/dports/devel/cscope/files/patch-constants.h 2012-06-14 14:12:56 UTC (rev 94299)
+++ trunk/dports/devel/cscope/files/patch-constants.h 2012-06-14 14:54:09 UTC (rev 94300)
@@ -1,17 +1,12 @@
---- src/constants.h 2006-09-30 10:13:00.000000000 +0200
-+++ src/constants.h 2007-02-18 00:01:30.000000000 +0100
-@@ -121,6 +121,7 @@
- # define KEY_BACKSPACE 0402
- # endif
+--- src/constants.h 2009-12-10 13:07:26.000000000 -0800
++++ src/constants.h 2009-12-10 13:07:07.000000000 -0800
+@@ -103,7 +103,7 @@
+ #define INCLUDES 8
+ #define FIELDS 9
-+#ifndef __APPLE__
- # if !sun
- # define cbreak() crmode() /* name change */
- # endif
-@@ -133,5 +134,6 @@
- # define killchar() (_tty.sg_kill) /* equivalent */
- # endif /* if UNIXPC */
- #endif /* if !TERMINFO */
-+#endif
-
- #endif /* CSCOPE_CONSTANTS_H */
+-#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__
++#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ && !__APPLE__
+ # define TERMINFO 0 /* no terminfo curses */
+ #else
+ # define TERMINFO 1
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120614/b6bf5876/attachment.html>
More information about the macports-changes
mailing list