From 407da05523508127184956b50fbaad1c4d81a9c4 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Mon, 1 Mar 2010 14:58:29 +0900 Subject: Import Debian changes 5e5-3.1 scm (5e5-3.1) unstable; urgency=low * Non-maintainer upload. ACKed by maintainer. * Update debian/control. - Add support sh4, kfreebsd-amd64 and kfreebsd-i386. (Closes: #558213, #559017) - Replacing libreadline5-dev build dependency with libreadline-dev. (Closes: #553847) --- debian/patches/kfreebsd_support.patch | 46 +++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 47 insertions(+) create mode 100644 debian/patches/kfreebsd_support.patch create mode 100644 debian/patches/series (limited to 'debian/patches') diff --git a/debian/patches/kfreebsd_support.patch b/debian/patches/kfreebsd_support.patch new file mode 100644 index 0000000..07166a0 --- /dev/null +++ b/debian/patches/kfreebsd_support.patch @@ -0,0 +1,46 @@ +--- scm-5e5.orig/time.c ++++ scm-5e5/time.c +@@ -73,7 +73,7 @@ + /* Define this if your system lacks times(). */ + /* #define LACK_TIMES */ + +-#ifdef linux ++#if defined(linux) || defined(__GLIBC__) + # include + # include + # include +only in patch2: +unchanged: +--- scm-5e5.orig/scmfig.h ++++ scm-5e5/scmfig.h +@@ -310,7 +310,7 @@ + # define STDC_HEADERS + #endif + +-#ifdef linux ++#if defined(linux) || defined(__GLIBC__) + # define HAVE_SELECT + # define HAVE_SYS_TIME_H + # define STDC_HEADERS +@@ -755,7 +755,7 @@ + # include + #endif + +-#ifdef linux ++#if defined(linux) || defined(__GLIBC__) + # include + #endif + +only in patch2: +unchanged: +--- scm-5e5.orig/findexec.c ++++ scm-5e5/findexec.c +@@ -51,7 +51,7 @@ + # include + # include + # endif +-# ifdef linux ++# if defined(linux) || defined(__GLIBC__) + # include + # include + # include diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..90849f4 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +kfreebsd_support.patch -- cgit v1.2.3