summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-04-25 02:06:39 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-04-25 02:14:34 +0400
commit87573eb9d90579fb098666ec45188beda07788fa (patch)
tree9b394a0f1617b74dcc13289cd903958b76b0e3e4 /debian/patches
parent21675e609131cde88d6e5d2e82fd1e039492a6d5 (diff)
downloadsunmake-master.tar.gz
Patch to include time.h for localtime() not only on linuxHEADdyson/2006.12.19-1master
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/time.patch14
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a7de81c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+time.patch
diff --git a/debian/patches/time.patch b/debian/patches/time.patch
new file mode 100644
index 0000000..fedfcc8
--- /dev/null
+++ b/debian/patches/time.patch
@@ -0,0 +1,14 @@
+Index: sunmake/usr/src/make_src/Make/bin/make/common/misc.cc
+===================================================================
+--- sunmake.orig/usr/src/make_src/Make/bin/make/common/misc.cc 2013-04-25 01:50:59.014070683 +0400
++++ sunmake/usr/src/make_src/Make/bin/make/common/misc.cc 2013-04-25 02:01:51.552034954 +0400
+@@ -63,9 +63,7 @@
+ #endif /* MAXJOBS_ADJUST_RFE4694000 */
+ #endif /* TEAMWARE_MAKE_CMN */
+
+-#if defined(linux)
+ #include <time.h> /* localtime() */
+-#endif
+
+ /*
+ * Defined macros