diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-04-25 02:06:39 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-04-25 02:14:34 +0400 |
commit | 87573eb9d90579fb098666ec45188beda07788fa (patch) | |
tree | 9b394a0f1617b74dcc13289cd903958b76b0e3e4 | |
parent | 21675e609131cde88d6e5d2e82fd1e039492a6d5 (diff) | |
download | sunmake-87573eb9d90579fb098666ec45188beda07788fa.tar.gz |
Patch to include time.h for localtime() not only on linuxHEADdyson/2006.12.19-1master
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/time.patch | 14 | ||||
-rw-r--r-- | debian/source/local-options | 1 |
4 files changed, 17 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 14f4ff4..1a2ed17 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ sunmake (2006.12.19-1) unstable; urgency=low * Use 3.0 (quilt) format, not native * Use pritine-tar and normal git repo for packaging * Remove build dependency on autotools + * Patch to include time.h for localtime() not only on linux -- Igor Pashev <pashev.igor@gmail.com> Thu, 25 Apr 2013 01:44:13 +0400 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 diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..4aceb10 --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1 @@ +unapply-patches |