[93133] trunk/dports/math/xgraph/files/patch-getline.diff

ryandesign at macports.org ryandesign at macports.org
Tue May 15 16:06:48 PDT 2012


Revision: 93133
          https://trac.macports.org/changeset/93133
Author:   ryandesign at macports.org
Date:     2012-05-15 16:06:48 -0700 (Tue, 15 May 2012)
Log Message:
-----------
xgraph: a further getline fix to build on Lion and up; #34460

Modified Paths:
--------------
    trunk/dports/math/xgraph/files/patch-getline.diff

Modified: trunk/dports/math/xgraph/files/patch-getline.diff
===================================================================
--- trunk/dports/math/xgraph/files/patch-getline.diff	2012-05-15 22:55:15 UTC (rev 93132)
+++ trunk/dports/math/xgraph/files/patch-getline.diff	2012-05-15 23:06:48 UTC (rev 93133)
@@ -1,6 +1,15 @@
---- a/dialog.c.orig	1999-12-14 14:09:46.000000000 -0600
-+++ b/dialog.c	2012-05-15 17:51:36.000000000 -0500
-@@ -777,7 +777,7 @@
+--- a/dialog.c.orig	2012-05-15 18:02:39.000000000 -0500
++++ b/dialog.c	2012-05-15 18:03:30.000000000 -0500
+@@ -740,7 +740,7 @@
+             line[ML];
+     int     y,
+             i;
+-    int	    getline();
++    int	    xgraph_getline();
+     unsigned long wamask;
+     XSetWindowAttributes wattr;
+     XFontStruct *bigFont = PM_FONT("TitleFont");
+@@ -778,7 +778,7 @@
      memset(new_info->lines, 0, sizeof(Window) * E_LINES);
  
      lineptr = text;
@@ -9,7 +18,7 @@
  	if (new_info->num_lines >= new_info->alloc_lines) {
  	    int old_alloc_lines_size = new_info->alloc_lines * sizeof(Window);
  	    new_info->alloc_lines *= 2;
-@@ -888,7 +888,7 @@
+@@ -889,7 +889,7 @@
  
  
  int 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/7ccf3680/attachment.html>


More information about the macports-changes mailing list