[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/NEWLIB PATCH 1/1] patches: Allow including custom time.h headers


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Thu, 12 Sep 2019 11:29:15 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HGaV9m5x73awvxC+dfZKnPQ53GWhEZafYyKnpsunBeE=; b=MPRxCpej8LUCDixeuUcIRScL9PWrDspZ6pMiCVIv8UdkDGAw+OQmIZoQov13e8btnMHapNDLKQPznMSM/cJhNO0inQxPYOZThyVebAvub0PdDi6IcvZkbtYDkZaPkI540QmD7p0AO6qUTyclTbpPyZI+yisW2V0lYwA/WvYUIUst1Z7liC7G/ZNhFUtDRo8F1CeCNTYoGZdlrzwB2Qvzpx7L2QEsQhT1W7IGlBNzDBMlHe0W9OhR0ZTR11E1ESWfIaRhb4vYd+OzCKMci+xzT8AmGy586Hqc8ERY3ebA8+zrC7tcOrXt3bWKqvv7+32ZpH1UWHrecwwuAhEmICw2jg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KUGb/MmFx6R1DR1Id9wT1hBmLHXFj6h5b2IWrAGwDxsiyY4GBkEW94zoaOgSlIIuwMOa8nDxlHPIOEclJSXbYJEDtMI6A1gCJPtpH9b4pp7SYWo/os6JW1ThHPH47/I4r/6ivPn70H/kasG1NqJOg0rrOlEBbZ+LcEiZOadCl+t/0NHyvZtRps2kwswUXgtsFZe5/8WsNhA9bizRKbJZHfKH+5GZejGJXV0VoFkucomxkSd5oYgL+SCeDoo+2c6ERaMSm6gGXlvg/BFMqiQVOTB2AgMChV2PqaKf9sUDYkxa1BzTt+cCMJZJuNbQWxxLlayuf+KopfzxbYvKIAEqiA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>, "costin.lupu@xxxxxxxxx" <costin.lupu@xxxxxxxxx>
  • Delivery-date: Thu, 12 Sep 2019 11:29:24 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVaV1PdRxaKusRSESyt9Osd9hy6Q==
  • Thread-topic: [UNIKRAFT/NEWLIB PATCH 1/1] patches: Allow including custom time.h headers

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 ...atch-in-order-to-include-custom-time.patch | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 
patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch

diff --git 
a/patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch 
b/patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch
new file mode 100644
index 0000000..559aed4
--- /dev/null
+++ b/patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch
@@ -0,0 +1,27 @@
+From 0681ed5f288093affbd72f34c97cdc0be1c7f4c7 Mon Sep 17 00:00:00 2001
+From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+Date: Thu, 12 Sep 2019 13:44:45 +0300
+Subject: [PATCH 1/1] Apply hackish patch in order to include custom time.h
+ header first
+
+Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+---
+ newlib/libc/include/time.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
+index 32baed9..f143b7c 100644
+--- a/newlib/libc/include/time.h
++++ b/newlib/libc/include/time.h
+@@ -315,5 +315,8 @@ int _EXFUN(clock_getenable_attr, (clockid_t clock_id, int 
*attr));
+ }
+ #endif
+ 
++#else
++#include_next <time.h>
++
+ #endif /* _TIME_H_ */
+ 
+-- 
+2.20.1
+
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.