[27460] trunk/dports/sysutils/clex

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 4 01:51:51 PDT 2007


Revision: 27460
          http://trac.macosforge.org/projects/macports/changeset/27460
Author:   ryandesign at macports.org
Date:     2007-08-04 01:51:50 -0700 (Sat, 04 Aug 2007)

Log Message:
-----------
clex: add a patchfile released by the developers. From the news page:
"We have noticed a missing range check in the handling of the TAB key
in the completion/insertion panel. Using this key in an improper way
results in a crash." The patch fixes this problem and can be removed
once the next version of clex is released.

Modified Paths:
--------------
    trunk/dports/sysutils/clex/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/clex/files/
    trunk/dports/sysutils/clex/files/patch-control.c.diff

Modified: trunk/dports/sysutils/clex/Portfile
===================================================================
--- trunk/dports/sysutils/clex/Portfile	2007-08-04 08:40:35 UTC (rev 27459)
+++ trunk/dports/sysutils/clex/Portfile	2007-08-04 08:51:50 UTC (rev 27460)
@@ -4,6 +4,7 @@
 
 name            clex
 version         3.16
+revision        1
 categories      sysutils
 platforms       darwin
 maintainers     nomaintainer at macports.org
@@ -23,3 +24,6 @@
 depends_lib     port:ncurses
 test.run        yes
 test.target     check
+
+# Remove this once the next version of clex after 3.16 is released.
+patchfiles      patch-control.c.diff

Added: trunk/dports/sysutils/clex/files/patch-control.c.diff
===================================================================
--- trunk/dports/sysutils/clex/files/patch-control.c.diff	                        (rev 0)
+++ trunk/dports/sysutils/clex/files/patch-control.c.diff	2007-08-04 08:51:50 UTC (rev 27460)
@@ -0,0 +1,11 @@
+--- src/control.c.OLD	2007-07-21 16:36:15.000000000 +0200
++++ src/control.c	2007-07-21 16:36:44.000000000 +0200
+@@ -393,7 +393,7 @@
+ 	{ 1,  CH_CTRL('E'),	cx_insert_d1,		0	},
+ 	{ 0,  CH_CTRL('O'),	cx_insert_link,		0	},
+ /* the menu ends here, the following entries are hidden */
+-	{ 0,  CH_CTRL('I'),	cx_paste_pick,		0	},
++	{ 0,  CH_CTRL('I'),	cx_paste_pick,		OPT_CURS	},
+ 	{ 0,  CH_CTRL('M'),	cx_paste_pick,		0	},
+ 	{ 0,  0,			0,					0	}
+ };

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070804/fd62382e/attachment.html


More information about the macports-changes mailing list