summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-01-28 05:55:01 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-01-28 05:55:01 +0000
commite547c34e6daea15ca7fc3299f7f3c86fc838aa21 (patch)
treeb04fc23dfaa0079f1584879c228a5ec7f5e7cf76
parentd8d8f4c6a46fe8a5d7749ff44d9ecce367ec113d (diff)
downloadicon-e547c34e6daea15ca7fc3299f7f3c86fc838aa21.tar.gz
Include stdlib.h for NULL
-rw-r--r--debian/patches/config-illumos.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/debian/patches/config-illumos.patch b/debian/patches/config-illumos.patch
index 2c50932..61ee4d2 100644
--- a/debian/patches/config-illumos.patch
+++ b/debian/patches/config-illumos.patch
@@ -1,7 +1,7 @@
Index: icon/config/illumos/Makedefs
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ icon/config/illumos/Makedefs 2013-01-28 05:22:56.575161018 +0000
++++ icon/config/illumos/Makedefs 2013-01-28 05:28:17.202012546 +0000
@@ -0,0 +1,19 @@
+# CC C compiler
+# CFLAGS flags for building C files
@@ -25,7 +25,7 @@ Index: icon/config/illumos/Makedefs
Index: icon/config/illumos/define.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ icon/config/illumos/define.h 2013-01-28 05:19:44.108605517 +0000
++++ icon/config/illumos/define.h 2013-01-28 05:28:17.203439124 +0000
@@ -0,0 +1,10 @@
+/*
+ * Icon configuration file for Sun Solaris using Gnu C compiler
@@ -40,8 +40,8 @@ Index: icon/config/illumos/define.h
Index: icon/config/illumos/i386.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ icon/config/illumos/i386.c 2013-01-28 05:19:44.109629642 +0000
-@@ -0,0 +1,71 @@
++++ icon/config/illumos/i386.c 2013-01-28 05:33:19.286991222 +0000
+@@ -0,0 +1,72 @@
+/*
+ * Coswitch for Windows using Visual C++.
+ *
@@ -50,6 +50,7 @@ Index: icon/config/illumos/i386.c
+ * Emmer.
+ */
+
++#include <stdlib.h>
+#include <sys/asm_linkage.h>
+#include <sys/trap.h>
+
@@ -116,7 +117,7 @@ Index: icon/config/illumos/i386.c
Index: icon/config/illumos/sparc.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ icon/config/illumos/sparc.c 2013-01-28 05:19:44.110617954 +0000
++++ icon/config/illumos/sparc.c 2013-01-28 05:28:17.206221785 +0000
@@ -0,0 +1,39 @@
+/*
+ * coswitch for Sun-4 Sparc.
@@ -160,7 +161,7 @@ Index: icon/config/illumos/sparc.c
Index: icon/config/illumos/status
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ icon/config/illumos/status 2013-01-28 05:19:44.111999059 +0000
++++ icon/config/illumos/status 2013-01-28 05:28:17.207353708 +0000
@@ -0,0 +1,29 @@
+System configuration:
+