[24013] trunk/dports/graphics/xfig/files
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 14 17:09:13 PDT 2007
Revision: 24013
http://trac.macosforge.org/projects/macports/changeset/24013
Author: pguyot at kallisys.net
Date: 2007-04-14 17:09:12 -0700 (Sat, 14 Apr 2007)
Log Message:
-----------
graphics/xfig: adding missing patches
Added Paths:
-----------
trunk/dports/graphics/xfig/files/patch-fig.h
trunk/dports/graphics/xfig/files/patch-w_keyboard.c
Added: trunk/dports/graphics/xfig/files/patch-fig.h
===================================================================
--- trunk/dports/graphics/xfig/files/patch-fig.h (rev 0)
+++ trunk/dports/graphics/xfig/files/patch-fig.h 2007-04-15 00:09:12 UTC (rev 24013)
@@ -0,0 +1,11 @@
+--- fig.h.orig 2007-04-15 07:40:32.000000000 +0900
++++ fig.h 2007-04-15 07:41:02.000000000 +0900
+@@ -383,7 +383,7 @@
+ extern long random();
+ extern void srandom(unsigned int);
+
+-#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux)
++#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__DARWIN__)
+ extern void srandom(int);
+
+ #endif
Added: trunk/dports/graphics/xfig/files/patch-w_keyboard.c
===================================================================
--- trunk/dports/graphics/xfig/files/patch-w_keyboard.c (rev 0)
+++ trunk/dports/graphics/xfig/files/patch-w_keyboard.c 2007-04-15 00:09:12 UTC (rev 24013)
@@ -0,0 +1,13 @@
+--- w_keyboard.c.orig 2007-04-15 08:12:17.000000000 +0900
++++ w_keyboard.c 2007-04-15 08:12:21.000000000 +0900
+@@ -37,6 +37,10 @@
+ #define REG_NOERROR REG_OKAY
+ #endif
+
++#ifndef REG_NOERROR
++#define REG_NOERROR 0
++#endif
++
+ Boolean keyboard_input_available = False;
+ int keyboard_x;
+ int keyboard_y;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070414/c8eba799/attachment.html
More information about the macports-changes
mailing list