Christian Wiese
13 years ago
committed by
Christian Wiese
6 changed files with 217 additions and 80 deletions
@ -0,0 +1,54 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../clockspeed/0002-include-errno.h.patch
|
||||
# Copyright (C) 2011 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
From 65180e22ec2fca4e65181e6bc00f94a6d26e5c8a Mon Sep 17 00:00:00 2001
|
||||
From: Christian Wiese <christian.wiese@securepoint.de>
|
||||
Date: Thu, 29 Sep 2011 14:19:53 +0200
|
||||
Subject: [PATCH 2/6] fixed to include errno.h
|
||||
|
||||
---
|
||||
error.h | 2 +-
|
||||
leapsecs_read.c | 1 -
|
||||
2 files changed, 1 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/error.h b/error.h
|
||||
index 01bd3dc..5d98c6b 100644
|
||||
--- a/error.h
|
||||
+++ b/error.h
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef ERROR_H
|
||||
#define ERROR_H
|
||||
|
||||
-extern int errno;
|
||||
+#include <errno.h>
|
||||
|
||||
extern int error_intr;
|
||||
extern int error_nomem;
|
||||
diff --git a/leapsecs_read.c b/leapsecs_read.c
|
||||
index 62c8712..c8f975f 100644
|
||||
--- a/leapsecs_read.c
|
||||
+++ b/leapsecs_read.c
|
||||
@@ -2,7 +2,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
-extern int errno;
|
||||
#include "tai.h"
|
||||
#include "leapsecs.h"
|
||||
|
||||
--
|
||||
1.6.6.2
|
||||
|
@ -0,0 +1,39 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../clockspeed/0003-include-time.h.patch
|
||||
# Copyright (C) 2011 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
From 17b43b9682da7098a4325d6bce4eb9e882f6e8b9 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Wiese <christian.wiese@securepoint.de>
|
||||
Date: Thu, 29 Sep 2011 15:12:51 +0200
|
||||
Subject: [PATCH 3/6] clockview: fixed to include time.h for localtime function
|
||||
|
||||
---
|
||||
clockview.c | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/clockview.c b/clockview.c
|
||||
index 1e23519..74ace31 100644
|
||||
--- a/clockview.c
|
||||
+++ b/clockview.c
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
+#include <time.h> /* localtime */
|
||||
#include "substdio.h"
|
||||
#include "readwrite.h"
|
||||
#include "strerr.h"
|
||||
--
|
||||
1.6.6.2
|
||||
|
@ -0,0 +1,52 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../clockspeed/0004-head_n.patch
|
||||
# Copyright (C) 2011 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
From 4926d1434666292a01fd3071bb8b7c0c9cbc3e93 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Wiese <christian.wiese@securepoint.de>
|
||||
Date: Thu, 29 Sep 2011 14:25:32 +0200
|
||||
Subject: [PATCH 4/6] Makefile: fix to use 'head -n 1' instead of 'head -1'
|
||||
|
||||
---
|
||||
Makefile | 6 +++---
|
||||
1 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index d632e9b..c9baad6 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -7,8 +7,8 @@ default: it
|
||||
auto-ccld.sh: \
|
||||
conf-cc conf-ld warn-auto.sh
|
||||
( cat warn-auto.sh; \
|
||||
- echo CC=\'`head -1 conf-cc`\'; \
|
||||
- echo LD=\'`head -1 conf-ld`\' \
|
||||
+ echo CC=\'`head -n 1 conf-cc`\'; \
|
||||
+ echo LD=\'`head -n 1 conf-ld`\' \
|
||||
) > auto-ccld.sh
|
||||
|
||||
auto-str: \
|
||||
@@ -21,7 +21,7 @@ compile auto-str.c substdio.h readwrite.h exit.h
|
||||
|
||||
auto_home.c: \
|
||||
auto-str conf-home
|
||||
- ./auto-str auto_home `head -1 conf-home` > auto_home.c
|
||||
+ ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
|
||||
|
||||
auto_home.o: \
|
||||
compile auto_home.c
|
||||
--
|
||||
1.6.6.2
|
||||
|
Loading…
Reference in new issue