1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 12:54:04 +02:00

[gcal] update to 3.6, thanks to Otmar Struwe

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-11-02 14:58:26 +08:00
parent d7b3e28f05
commit 23a56946e4
2 changed files with 18 additions and 4 deletions

View File

@ -3,14 +3,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gcal PKG_NAME:=gcal
PKG_VERSION:=3.01 PKG_VERSION:=3.6
PKG_RELEASE:=1 PKG_RELEASE:=1
#http://www.gnu.org/software/gcal/
#ftp://ftp.gnu.org/pub/gnu/gcal/gcal-3.01.tar.gz
PKG_SOURCE:=gcal-$(PKG_VERSION).tar.gz PKG_SOURCE:=gcal-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.gnu.org/pub/gnu/gcal/ PKG_SOURCE_URL:=ftp://ftp.gnu.org/pub/gnu/gcal/
PKG_MD5SUM:=65f3394653829fd77f6862045112ad4f PKG_MD5SUM:=9c3819ca118d6e3adb6a716858cba7d6
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

View File

@ -0,0 +1,16 @@
--- gcal-3.6/lib/spawn.in.h 2010-03-22 13:31:49.000000000 +0100
+++ gcal-3.6a/lib/spawn.in.h 2010-10-30 16:57:51.000000000 +0200
@@ -24,6 +24,11 @@
/* The include_next requires a split double-inclusion guard. */
#if @HAVE_SPAWN_H@
# @INCLUDE_NEXT@ @NEXT_SPAWN_H@
+#else
+/* At least the sched.h and the signal.h are required
+ from gcal or glibc */
+#include <sched.h>
+#include <signal.h>
#endif
#ifndef _GL_SPAWN_H