From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-lisp/ecls/files/13.5.1-gc74.patch | 57 +++++++++++++++++++++++++ dev-lisp/ecls/files/13.5.1-headers-gentoo.patch | 13 ++++++ dev-lisp/ecls/files/15.3.7-headers-gentoo.patch | 13 ++++++ dev-lisp/ecls/files/16.0.0-headers-gentoo.patch | 13 ++++++ dev-lisp/ecls/files/16.1.2-headers-gentoo.patch | 13 ++++++ dev-lisp/ecls/files/16.1.3-build.patch | 10 +++++ dev-lisp/ecls/files/16.1.3-headers-gentoo.patch | 15 +++++++ dev-lisp/ecls/files/README.Gentoo | 15 +++++++ 8 files changed, 149 insertions(+) create mode 100644 dev-lisp/ecls/files/13.5.1-gc74.patch create mode 100644 dev-lisp/ecls/files/13.5.1-headers-gentoo.patch create mode 100644 dev-lisp/ecls/files/15.3.7-headers-gentoo.patch create mode 100644 dev-lisp/ecls/files/16.0.0-headers-gentoo.patch create mode 100644 dev-lisp/ecls/files/16.1.2-headers-gentoo.patch create mode 100644 dev-lisp/ecls/files/16.1.3-build.patch create mode 100644 dev-lisp/ecls/files/16.1.3-headers-gentoo.patch create mode 100644 dev-lisp/ecls/files/README.Gentoo (limited to 'dev-lisp/ecls/files') diff --git a/dev-lisp/ecls/files/13.5.1-gc74.patch b/dev-lisp/ecls/files/13.5.1-gc74.patch new file mode 100644 index 000000000000..a1069b214b4b --- /dev/null +++ b/dev-lisp/ecls/files/13.5.1-gc74.patch @@ -0,0 +1,57 @@ +diff -r -U1 ecl-13.5.1.orig/src/aclocal.m4 ecl-13.5.1/src/aclocal.m4 +--- ecl-13.5.1.orig/src/aclocal.m4 2013-05-28 03:37:36.000000000 +0700 ++++ ecl-13.5.1/src/aclocal.m4 2014-01-12 00:34:36.663129950 +0700 +@@ -942,2 +942,6 @@ + fi ++ if test "${system_boehm}" = "yes"; then ++ AC_CHECK_LIB( [gc], [GC_set_start_callback], ++ [AC_DEFINE(HAVE_GC_SET_START_CALLBACK)], [] ) ++ fi + AC_MSG_CHECKING( [whether we can use the existing Boehm-Weiser library] ) +diff -r -U1 ecl-13.5.1.orig/src/c/alloc_2.d ecl-13.5.1/src/c/alloc_2.d +--- ecl-13.5.1.orig/src/c/alloc_2.d 2013-05-28 03:37:36.000000000 +0700 ++++ ecl-13.5.1/src/c/alloc_2.d 2014-01-12 00:43:44.177106924 +0700 +@@ -33,2 +33,9 @@ + ++static void (*GC_old_start_callback)(void) = NULL; ++#ifdef HAVE_GC_START_CALLBACK ++extern void GC_set_start_callback(void *); ++extern void *GC_get_start_callback(void *); ++#else ++extern void *GC_start_call_back(void); ++#endif + static void gather_statistics(); +@@ -752,3 +759,2 @@ + extern void (*GC_push_other_roots)(); +-extern void (*GC_start_call_back)(); + static void (*old_GC_push_other_roots)(); +@@ -1092,3 +1098,9 @@ + GC_push_other_roots = stacks_scanner; ++#ifdef HAVE_GC_SET_START_CALLBACK ++ GC_old_start_callback = GC_get_start_callback(); ++ GC_set_start_callback(gather_statistics); ++#else ++ GC_old_start_callback = GC_start_call_back; + GC_start_call_back = (void (*)())gather_statistics; ++#endif + GC_java_finalization = 1; +@@ -1200,3 +1212,3 @@ + */ +-#if 1 /*GBC_BOEHM == 0*/ ++#if GBC_BOEHM == 0 + extern int GC_print_stats; +@@ -1279,2 +1291,4 @@ + } ++ if (GC_old_start_callback) ++ GC_old_start_callback(); + } +Только в ecl-13.5.1/src/c: alloc_2.d.orig +diff -r -U1 ecl-13.5.1.orig/src/h/config.h.in ecl-13.5.1/src/h/config.h.in +--- ecl-13.5.1.orig/src/h/config.h.in 2013-05-28 03:37:36.000000000 +0700 ++++ ecl-13.5.1/src/h/config.h.in 2014-01-12 00:34:36.663129950 +0700 +@@ -310,2 +310,5 @@ + ++/* GC_set_start_callback */ ++#define HAVE_GC_SET_START_CALLBACK ++ + /* diff --git a/dev-lisp/ecls/files/13.5.1-headers-gentoo.patch b/dev-lisp/ecls/files/13.5.1-headers-gentoo.patch new file mode 100644 index 000000000000..958b948bac41 --- /dev/null +++ b/dev-lisp/ecls/files/13.5.1-headers-gentoo.patch @@ -0,0 +1,13 @@ +diff -r -U1 ecl-13.5.1.orig/src/h/object.h ecl-13.5.1/src/h/object.h +--- ecl-13.5.1.orig/src/h/object.h 2013-05-28 03:37:36.000000000 +0700 ++++ ecl-13.5.1/src/h/object.h 2013-05-29 19:23:34.000000000 +0700 +@@ -25,4 +25,9 @@ + ++#ifndef TRUE + #define TRUE 1 /* boolean true value */ ++#endif ++ ++#ifndef FALSE + #define FALSE 0 /* boolean false value */ ++#endif + diff --git a/dev-lisp/ecls/files/15.3.7-headers-gentoo.patch b/dev-lisp/ecls/files/15.3.7-headers-gentoo.patch new file mode 100644 index 000000000000..958b948bac41 --- /dev/null +++ b/dev-lisp/ecls/files/15.3.7-headers-gentoo.patch @@ -0,0 +1,13 @@ +diff -r -U1 ecl-13.5.1.orig/src/h/object.h ecl-13.5.1/src/h/object.h +--- ecl-13.5.1.orig/src/h/object.h 2013-05-28 03:37:36.000000000 +0700 ++++ ecl-13.5.1/src/h/object.h 2013-05-29 19:23:34.000000000 +0700 +@@ -25,4 +25,9 @@ + ++#ifndef TRUE + #define TRUE 1 /* boolean true value */ ++#endif ++ ++#ifndef FALSE + #define FALSE 0 /* boolean false value */ ++#endif + diff --git a/dev-lisp/ecls/files/16.0.0-headers-gentoo.patch b/dev-lisp/ecls/files/16.0.0-headers-gentoo.patch new file mode 100644 index 000000000000..1c08bc57b737 --- /dev/null +++ b/dev-lisp/ecls/files/16.0.0-headers-gentoo.patch @@ -0,0 +1,13 @@ +diff -r -U1 ecl-16.0.0.orig/src/h/object.h ecl-16.0.0/src/h/object.h +--- ecl-16.0.0.orig/src/h/object.h 2015-08-24 12:41:27.000000000 +0600 ++++ ecl-16.0.0/src/h/object.h 2015-08-29 12:04:58.249594669 +0600 +@@ -25,4 +25,9 @@ + ++#ifndef TRUE + #define TRUE 1 /* boolean true value */ ++#endif ++ ++#ifndef FALSE + #define FALSE 0 /* boolean false value */ ++#endif + diff --git a/dev-lisp/ecls/files/16.1.2-headers-gentoo.patch b/dev-lisp/ecls/files/16.1.2-headers-gentoo.patch new file mode 100644 index 000000000000..193822a8fae2 --- /dev/null +++ b/dev-lisp/ecls/files/16.1.2-headers-gentoo.patch @@ -0,0 +1,13 @@ +diff -r -U1 ecl-16.1.2.orig/src/h/object.h ecl-16.1.2/src/h/object.h +--- ecl-16.1.2.orig/src/h/object.h 2016-02-25 08:06:19.000000000 +0100 ++++ ecl-16.1.2/src/h/object.h 2016-02-29 12:46:56.846308964 +0100 +@@ -27,4 +27,9 @@ + ++#ifndef TRUE + #define TRUE 1 /* boolean true value */ ++#endif ++ ++#ifndef FALSE + #define FALSE 0 /* boolean false value */ ++#endif + diff --git a/dev-lisp/ecls/files/16.1.3-build.patch b/dev-lisp/ecls/files/16.1.3-build.patch new file mode 100644 index 000000000000..ff7d6cd74d8b --- /dev/null +++ b/dev-lisp/ecls/files/16.1.3-build.patch @@ -0,0 +1,10 @@ +diff -r -U2 ecl-16.1.3.orig/src/c/printer/write_sse.d ecl-16.1.3/src/c/printer/write_sse.d +--- ecl-16.1.3.orig/src/c/printer/write_sse.d 2016-12-19 17:25:00.000000000 +0700 ++++ ecl-16.1.3/src/c/printer/write_sse.d 2016-12-19 19:20:01.863563607 +0700 +@@ -13,4 +13,6 @@ + */ + ++#include ++ + #ifdef ECL_SSE2 + #include diff --git a/dev-lisp/ecls/files/16.1.3-headers-gentoo.patch b/dev-lisp/ecls/files/16.1.3-headers-gentoo.patch new file mode 100644 index 000000000000..10802aa48803 --- /dev/null +++ b/dev-lisp/ecls/files/16.1.3-headers-gentoo.patch @@ -0,0 +1,15 @@ +diff -r -U2 ecl-16.1.3.orig/src/h/object.h ecl-16.1.3/src/h/object.h +--- ecl-16.1.3.orig/src/h/object.h 2016-12-19 17:25:00.000000000 +0700 ++++ ecl-16.1.3/src/h/object.h 2016-12-19 19:22:21.147557750 +0700 +@@ -26,6 +26,11 @@ + */ + ++#ifndef TRUE + #define TRUE 1 /* boolean true value */ ++#endif ++ ++#ifndef FALSE + #define FALSE 0 /* boolean false value */ ++#endif + + #if !defined(__cplusplus) && !defined(bool) diff --git a/dev-lisp/ecls/files/README.Gentoo b/dev-lisp/ecls/files/README.Gentoo new file mode 100644 index 000000000000..9bb82f220097 --- /dev/null +++ b/dev-lisp/ecls/files/README.Gentoo @@ -0,0 +1,15 @@ +-*- outline -*- + +Gentoo GNU/Linux specific notes for ECL +--------------------------------------- + +This is the README.Gentoo file from /usr/share/doc/@PF@/ directory. + + * The Gentoo port includes a patch to ECL's installed header file (ech.h) so + that TRUE and FALSE are not redefined if they're already included from + elsewhere. This makes it easier to use ECL with other software which defines + those C preprocesser symbols (eg. glib-2.0). + +If you encounter any problems or have suggestions, use http://bugs.gentoo.org. +Please don't bother the upstream authors unless you are absolutely certain it is +not Gentoo-related. -- cgit v1.2.3