Github messages for voidlinux
 help / color / mirror / Atom feed
From: mahiuchun <mahiuchun@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] clisp: update to 2.49.92.
Date: Tue, 04 May 2021 22:07:48 +0200	[thread overview]
Message-ID: <20210504200748.1MeE9-eA2pkHKIO6plnkLAcFuHqfbOJnt1it--mn2cI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30301@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1830 bytes --]

There is an updated pull request by mahiuchun against master on the void-packages repository

https://github.com/mahiuchun/void-packages clisp
https://github.com/void-linux/void-packages/pull/30301

clisp: update to 2.49.92.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

2.49.92 is technically an alpha release but it is already packaged by Debian, openSUSE, Gentoo, Ubuntu, MacPorts, etc. From my experience it is much easier to build compared to that of 2.49 (e.g., the existing patches can be dropped).

A patch file from https://github.com/void-linux/void-packages/pull/30301.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clisp-30301.patch --]
[-- Type: text/x-diff, Size: 3401 bytes --]

From a1e8836aba992c49e31335d719fefe9c87235b37 Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sun, 18 Apr 2021 15:09:09 -0700
Subject: [PATCH] clisp: update to 2.49.92.

---
 srcpkgs/clisp/patches/no-page.h.patch  | 12 ------------
 srcpkgs/clisp/patches/readline-7.patch | 11 -----------
 srcpkgs/clisp/template                 | 16 ++++++++++------
 3 files changed, 10 insertions(+), 29 deletions(-)
 delete mode 100644 srcpkgs/clisp/patches/no-page.h.patch
 delete mode 100644 srcpkgs/clisp/patches/readline-7.patch

diff --git a/srcpkgs/clisp/patches/no-page.h.patch b/srcpkgs/clisp/patches/no-page.h.patch
deleted file mode 100644
index df602bcb5b72..000000000000
--- a/srcpkgs/clisp/patches/no-page.h.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./src/unix.d
-+++ ./src/unix.d
-@@ -135,9 +135,6 @@
-   #ifdef UNIX_AUX
-     #include <sys/mmu.h> /* for SHMLBA */
-   #endif
--  #if defined(UNIX_LINUX) && !defined(UNIX_GNU)
--    #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
--  #endif
- /* <sys/shm.h> declares shmget(), shmat(), shmdt(), shmctl() */
- #endif
- /* used by SPVW, STREAM */
diff --git a/srcpkgs/clisp/patches/readline-7.patch b/srcpkgs/clisp/patches/readline-7.patch
deleted file mode 100644
index 939342c6f4fb..000000000000
--- a/srcpkgs/clisp/patches/readline-7.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/readline/readline.lisp.orig	2016-09-20 22:23:51.876046496 +0200
-+++ modules/readline/readline.lisp	2016-09-20 22:24:11.070047486 +0200
-@@ -424,7 +424,7 @@
-    "The version of this incarnation of the readline library, e.g., 0x0402."))
- (def-c-var gnu-readline-p (:name "rl_gnu_readline_p") (:type int)
-   (:documentation "True if this is real GNU readline."))
--(def-c-var readline-state (:name "rl_readline_state") (:type int)
-+(def-c-var readline-state (:name "rl_readline_state") (:type ulong)
-   (:documentation "Flags word encapsulating the current readline state."))
- (def-c-var editing-mode (:name "rl_editing_mode") (:type int)
-   (:documentation "Says which editing mode readline is currently using.
diff --git a/srcpkgs/clisp/template b/srcpkgs/clisp/template
index ee0941a3d581..3cdd2b347eb1 100644
--- a/srcpkgs/clisp/template
+++ b/srcpkgs/clisp/template
@@ -1,8 +1,8 @@
 # Template file for 'clisp'
 pkgname=clisp
-version=2.49
-revision=6
-# possibly works elsewhere but not in an ancient 2010 release
+version=2.49.92
+revision=1
+# possibly works elsewhere
 archs="x86_64* i686*"
 build_style=configure
 configure_args="--prefix=/usr --disable-mmap --disable-rpath
@@ -12,9 +12,9 @@ makedepends="libsigsegv-devel $(vopt_if readline readline-devel)"
 short_desc="ANSI Common Lisp Interpreter, Compiler and Debugger"
 maintainer="Martin Riese <grauehaare@gmx.de>"
 license="GPL-2.0-only"
-homepage="http://clisp.cons.org"
-distfiles="${SOURCEFORGE_SITE}/clisp/clisp-${version}.tar.bz2"
-checksum=8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890
+homepage="https://gitlab.com/gnu-clisp/clisp"
+distfiles="https://alpha.gnu.org/gnu/clisp/clisp-${version}.tar.bz2"
+checksum=bd443a94aa9b02da4c4abbcecfc04ffff1919c0a8b0e7e35649b86198cd6bb89
 nopie=yes
 nocross=yes
 lib32disabled=yes
@@ -31,6 +31,10 @@ if [ "$XBPS_TARGET_WORDSIZE" == 32 ]; then
 	CFLAGS+=" -falign-functions=4"
 fi
 
+pre_configure() {
+	export FORCE_UNSAFE_CONFIGURE=1
+}
+
 do_build() {
 	# Need to increase the Limit
 	ulimit -s 16384

  parent reply	other threads:[~2021-05-04 20:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18 22:11 [PR PATCH] " mahiuchun
2021-04-23 14:37 ` ericonr
2021-05-04 20:07 ` mahiuchun [this message]
2021-06-26 15:39 ` [PR PATCH] [Updated] " mahiuchun
2021-08-26 15:51 ` anddam
2021-11-14  8:38 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210504200748.1MeE9-eA2pkHKIO6plnkLAcFuHqfbOJnt1it--mn2cI@z \
    --to=mahiuchun@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).