[arch-commits] Commit in clisp/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 6 23:57:40 UTC 2016


    Date: Sunday, November 6, 2016 @ 23:57:39
  Author: foutrelis
Revision: 279981

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  clisp/repos/staging-i686/
  clisp/repos/staging-i686/PKGBUILD
    (from rev 279980, clisp/trunk/PKGBUILD)
  clisp/repos/staging-i686/clisp-gcc5.patch
    (from rev 279980, clisp/trunk/clisp-gcc5.patch)
  clisp/repos/staging-i686/patch-modules_readline_readline.lisp
    (from rev 279980, clisp/trunk/patch-modules_readline_readline.lisp)
  clisp/repos/staging-x86_64/
  clisp/repos/staging-x86_64/PKGBUILD
    (from rev 279980, clisp/trunk/PKGBUILD)
  clisp/repos/staging-x86_64/clisp-gcc5.patch
    (from rev 279980, clisp/trunk/clisp-gcc5.patch)
  clisp/repos/staging-x86_64/patch-modules_readline_readline.lisp
    (from rev 279980, clisp/trunk/patch-modules_readline_readline.lisp)

-----------------------------------------------------+
 staging-i686/PKGBUILD                               |   49 ++++++++++++++++++
 staging-i686/clisp-gcc5.patch                       |   38 +++++++++++++
 staging-i686/patch-modules_readline_readline.lisp   |   15 +++++
 staging-x86_64/PKGBUILD                             |   49 ++++++++++++++++++
 staging-x86_64/clisp-gcc5.patch                     |   38 +++++++++++++
 staging-x86_64/patch-modules_readline_readline.lisp |   15 +++++
 6 files changed, 204 insertions(+)

Copied: clisp/repos/staging-i686/PKGBUILD (from rev 279980, clisp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-11-06 23:57:39 UTC (rev 279981)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+pkgname=clisp
+pkgver=2.49
+pkgrel=6
+pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://clisp.cons.org/"
+depends=('readline' 'libsigsegv')
+provides=('common-lisp')
+makedepends=('ffcall')
+options=('!makeflags' '!emptydirs')
+source=("http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2"
+        "clisp-gcc5.patch"
+        "patch-modules_readline_readline.lisp")
+md5sums=('1962b99d5e530390ec3829236d168649'
+         'e3008f96f6cd3059717d4a930b8c0e9c'
+         '5b29c9301ab7c1b683da70c2f805609f')
+
+prepare() {
+  cd $srcdir/${pkgname}-${pkgver}
+  patch -Np1 -i ../clisp-gcc5.patch
+  patch -Np0 -i ../patch-modules_readline_readline.lisp
+
+  # https://sourceforge.net/p/clisp/clisp/ci/cebd289dfc19de4aa504113dfcb0284657787430/
+  # http://hg.slitaz.org/wok/rev/d5a39f30f9f1#l2.28
+  sed -i 's/clisp\.cons\.org/clisp.org/' src/cfgunix.lisp
+}
+
+build() {
+  cd $srcdir/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --with-readline --with-ffcall src
+  cd src
+  ./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
+  make
+  sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
+  make
+}
+
+check() {
+  cd $srcdir/${pkgname}-${pkgver}/src
+  make check
+}
+
+package() {
+  cd $srcdir/${pkgname}-${pkgver}/src
+  make DESTDIR=$pkgdir install
+}

Copied: clisp/repos/staging-i686/clisp-gcc5.patch (from rev 279980, clisp/trunk/clisp-gcc5.patch)
===================================================================
--- staging-i686/clisp-gcc5.patch	                        (rev 0)
+++ staging-i686/clisp-gcc5.patch	2016-11-06 23:57:39 UTC (rev 279981)
@@ -0,0 +1,38 @@
+--- ./src/makemake.in.orig	2013-02-16 15:26:28.000000000 -0700
++++ ./src/makemake.in	2015-02-11 17:20:00.000000000 -0700
+@@ -1217,7 +1217,7 @@ if [ $XCC_GCC = true ] ; then
+   if [ $CROSS = false ] ; then
+     case "$XCC_GCC_VERSION" in
+       # gcc 2.7 introduced an annoying warning, but gcc 2.8 has a workaround:
+-      2.[8-9]* | 3.* | 4.* | egcs-2.*)
++      2.[8-9]* | 3.* | 4.* | 5.* | 6.* | 7.* | 8.* | egcs-2.*)
+         XCFLAGS=$XCFLAGS' -Wno-sign-compare -Wno-format-nonliteral'
+         ;;
+       * ) ;;
+@@ -1226,7 +1226,7 @@ if [ $XCC_GCC = true ] ; then
+   if [ $CROSS = false -a $CC_CPLUSPLUS = true ] ; then
+     case "$XCC_GCC_VERSION" in
+       # g++ 3.4 introduced an annoying warning, but has a workaround:
+-      3.[4-9]* | 4.*)
++      3.[4-9]* | 4.* | 5.* | 6.* | 7.* | 8.*)
+         XCFLAGS=$XCFLAGS' -Wno-invalid-offsetof'
+         ;;
+       * ) ;;
+@@ -1241,7 +1241,7 @@ if [ $XCC_GCC = true ] ; then
+             # gcc-2.7.2 has a strength-reduction bug (fixed in gcc-2.7.2.1,
+             # also fixed through the specs file of some Linux distributions).
+             XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations -fno-strength-reduce' ;;
+-          2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | egcs-2.*)
++          2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | 5.* | 6.* | 7.* | 8.* | egcs-2.*)
+             XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations' ;;
+           * )
+             XCFLAGS=$XCFLAGS' -O' ;;
+@@ -1295,7 +1295,7 @@ if [ $XCC_GCC = true ] ; then
+     esac
+   fi # with_debug
+   case "$XCC_GCC_VERSION" in
+-    3* | 4*)
++    3* | 4* | 5* | 6* | 7* | 8*)
+       # When not optimizing on linux, or with Apple's gcc 4 on MacOS X,
+       # or with GCC 4 when "gcc -Os" is used:
+       #   C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x806D512

Copied: clisp/repos/staging-i686/patch-modules_readline_readline.lisp (from rev 279980, clisp/trunk/patch-modules_readline_readline.lisp)
===================================================================
--- staging-i686/patch-modules_readline_readline.lisp	                        (rev 0)
+++ staging-i686/patch-modules_readline_readline.lisp	2016-11-06 23:57:39 UTC (rev 279981)
@@ -0,0 +1,15 @@
+$NetBSD: patch-modules_readline_readline.lisp,v 1.1 2016/09/20 14:10:25 wiz Exp $
+
+rl_readline_state changed from int to unsigned long in readline-7.0.
+
+--- modules/readline/readline.lisp.orig	2010-01-06 22:18:03.000000000 +0000
++++ modules/readline/readline.lisp
+@@ -424,7 +424,7 @@ name in ~/.inputrc. This is preferred wa
+    "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.

Copied: clisp/repos/staging-x86_64/PKGBUILD (from rev 279980, clisp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-11-06 23:57:39 UTC (rev 279981)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+pkgname=clisp
+pkgver=2.49
+pkgrel=6
+pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://clisp.cons.org/"
+depends=('readline' 'libsigsegv')
+provides=('common-lisp')
+makedepends=('ffcall')
+options=('!makeflags' '!emptydirs')
+source=("http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2"
+        "clisp-gcc5.patch"
+        "patch-modules_readline_readline.lisp")
+md5sums=('1962b99d5e530390ec3829236d168649'
+         'e3008f96f6cd3059717d4a930b8c0e9c'
+         '5b29c9301ab7c1b683da70c2f805609f')
+
+prepare() {
+  cd $srcdir/${pkgname}-${pkgver}
+  patch -Np1 -i ../clisp-gcc5.patch
+  patch -Np0 -i ../patch-modules_readline_readline.lisp
+
+  # https://sourceforge.net/p/clisp/clisp/ci/cebd289dfc19de4aa504113dfcb0284657787430/
+  # http://hg.slitaz.org/wok/rev/d5a39f30f9f1#l2.28
+  sed -i 's/clisp\.cons\.org/clisp.org/' src/cfgunix.lisp
+}
+
+build() {
+  cd $srcdir/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --with-readline --with-ffcall src
+  cd src
+  ./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
+  make
+  sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
+  make
+}
+
+check() {
+  cd $srcdir/${pkgname}-${pkgver}/src
+  make check
+}
+
+package() {
+  cd $srcdir/${pkgname}-${pkgver}/src
+  make DESTDIR=$pkgdir install
+}

Copied: clisp/repos/staging-x86_64/clisp-gcc5.patch (from rev 279980, clisp/trunk/clisp-gcc5.patch)
===================================================================
--- staging-x86_64/clisp-gcc5.patch	                        (rev 0)
+++ staging-x86_64/clisp-gcc5.patch	2016-11-06 23:57:39 UTC (rev 279981)
@@ -0,0 +1,38 @@
+--- ./src/makemake.in.orig	2013-02-16 15:26:28.000000000 -0700
++++ ./src/makemake.in	2015-02-11 17:20:00.000000000 -0700
+@@ -1217,7 +1217,7 @@ if [ $XCC_GCC = true ] ; then
+   if [ $CROSS = false ] ; then
+     case "$XCC_GCC_VERSION" in
+       # gcc 2.7 introduced an annoying warning, but gcc 2.8 has a workaround:
+-      2.[8-9]* | 3.* | 4.* | egcs-2.*)
++      2.[8-9]* | 3.* | 4.* | 5.* | 6.* | 7.* | 8.* | egcs-2.*)
+         XCFLAGS=$XCFLAGS' -Wno-sign-compare -Wno-format-nonliteral'
+         ;;
+       * ) ;;
+@@ -1226,7 +1226,7 @@ if [ $XCC_GCC = true ] ; then
+   if [ $CROSS = false -a $CC_CPLUSPLUS = true ] ; then
+     case "$XCC_GCC_VERSION" in
+       # g++ 3.4 introduced an annoying warning, but has a workaround:
+-      3.[4-9]* | 4.*)
++      3.[4-9]* | 4.* | 5.* | 6.* | 7.* | 8.*)
+         XCFLAGS=$XCFLAGS' -Wno-invalid-offsetof'
+         ;;
+       * ) ;;
+@@ -1241,7 +1241,7 @@ if [ $XCC_GCC = true ] ; then
+             # gcc-2.7.2 has a strength-reduction bug (fixed in gcc-2.7.2.1,
+             # also fixed through the specs file of some Linux distributions).
+             XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations -fno-strength-reduce' ;;
+-          2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | egcs-2.*)
++          2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | 5.* | 6.* | 7.* | 8.* | egcs-2.*)
+             XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations' ;;
+           * )
+             XCFLAGS=$XCFLAGS' -O' ;;
+@@ -1295,7 +1295,7 @@ if [ $XCC_GCC = true ] ; then
+     esac
+   fi # with_debug
+   case "$XCC_GCC_VERSION" in
+-    3* | 4*)
++    3* | 4* | 5* | 6* | 7* | 8*)
+       # When not optimizing on linux, or with Apple's gcc 4 on MacOS X,
+       # or with GCC 4 when "gcc -Os" is used:
+       #   C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x806D512

Copied: clisp/repos/staging-x86_64/patch-modules_readline_readline.lisp (from rev 279980, clisp/trunk/patch-modules_readline_readline.lisp)
===================================================================
--- staging-x86_64/patch-modules_readline_readline.lisp	                        (rev 0)
+++ staging-x86_64/patch-modules_readline_readline.lisp	2016-11-06 23:57:39 UTC (rev 279981)
@@ -0,0 +1,15 @@
+$NetBSD: patch-modules_readline_readline.lisp,v 1.1 2016/09/20 14:10:25 wiz Exp $
+
+rl_readline_state changed from int to unsigned long in readline-7.0.
+
+--- modules/readline/readline.lisp.orig	2010-01-06 22:18:03.000000000 +0000
++++ modules/readline/readline.lisp
+@@ -424,7 +424,7 @@ name in ~/.inputrc. This is preferred wa
+    "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.



More information about the arch-commits mailing list