pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Remove ffcall, replaced by libffcall.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bd8dd9c45ee
branches:  trunk
changeset: 368112:1bd8dd9c45ee
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 10 20:04:31 2017 +0000

description:
Remove ffcall, replaced by libffcall.

diffstat:

 devel/Makefile                                                 |    3 +-
 devel/ffcall/DESCR                                             |   15 -
 devel/ffcall/Makefile                                          |   39 -
 devel/ffcall/PLIST                                             |   21 -
 devel/ffcall/buildlink3.mk                                     |   13 -
 devel/ffcall/distinfo                                          |   20 -
 devel/ffcall/files/tramp-rs6000-netbsd.s                       |   29 -
 devel/ffcall/files/vacall-rs6000-netbsd.s                      |  159 ------
 devel/ffcall/patches/patch-aa                                  |   38 -
 devel/ffcall/patches/patch-ab                                  |   13 -
 devel/ffcall/patches/patch-ae                                  |   35 -
 devel/ffcall/patches/patch-af                                  |   28 -
 devel/ffcall/patches/patch-ag                                  |  117 ----
 devel/ffcall/patches/patch-ah                                  |  254 ----------
 devel/ffcall/patches/patch-ai                                  |   13 -
 devel/ffcall/patches/patch-aj                                  |   17 -
 devel/ffcall/patches/patch-avcall_avcall-x86__64.s             |   29 -
 devel/ffcall/patches/patch-callback_Makefile.in                |   15 -
 devel/ffcall/patches/patch-callback_trampoline__r_trampoline.c |   66 --
 devel/ffcall/patches/patch-callback_vacall__r_vacall-x86_64.c  |   16 -
 devel/ffcall/patches/patch-callback_vacall__r_vacall-x86__64.s |   29 -
 devel/ffcall/patches/patch-vacall_vacall-x86_64.c              |   16 -
 doc/CHANGES-2017                                               |    3 +-
 23 files changed, 3 insertions(+), 985 deletions(-)

diffs (truncated from 1097 to 300 lines):

diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/Makefile
--- a/devel/Makefile    Sun Sep 10 20:03:49 2017 +0000
+++ b/devel/Makefile    Sun Sep 10 20:04:31 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2506 2017/09/10 20:01:05 wiz Exp $
+# $NetBSD: Makefile,v 1.2507 2017/09/10 20:04:32 wiz Exp $
 #
 
 COMMENT=       Development utilities
@@ -241,7 +241,6 @@
 SUBDIR+=       extra-cmake-modules
 SUBDIR+=       fann
 SUBDIR+=       fastdep
-SUBDIR+=       ffcall
 SUBDIR+=       fhist
 SUBDIR+=       flatzebra
 SUBDIR+=       flex
diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/ffcall/DESCR
--- a/devel/ffcall/DESCR        Sun Sep 10 20:03:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-ffcall - foreign function call libraries
-
-This is a collection of four libraries which can be used to build
-foreign function call interfaces in embedded interpreters.
-
-The four packages are:
-
-    avcall - calling C functions with variable arguments
-
-    vacall - C functions accepting variable argument prototypes
-
-    trampoline - closures as first-class C functions
-
-    callback - closures with variable arguments as first-class C functions
-               (a reentrant combination of vacall and trampoline)
diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/ffcall/Makefile
--- a/devel/ffcall/Makefile     Sun Sep 10 20:03:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile,v 1.33 2017/08/01 14:58:56 wiz Exp $
-
-DISTNAME=      ffcall-1.10
-PKGREVISION=   4
-CATEGORIES=    devel
-MASTER_SITES=  http://www.haible.de/bruno/gnu/
-MASTER_SITES+= ${MASTER_SITE_GNUSTEP:=libs/}
-
-MAINTAINER=    adam%NetBSD.org@localhost
-HOMEPAGE=      https://www.haible.de/bruno/packages-ffcall.html
-COMMENT=       Foreign function call libraries
-LICENSE=       gnu-gpl-v2
-
-MAKE_JOBS_SAFE=                        no
-
-# the file ${WRKSRC}/avcall/avcall-${MACHINE_ARCH}.c needs to
-# be added for additional port support.
-BROKEN_EXCEPT_ON_PLATFORM= \
-                       *-*-alpha *-*-arm *-*-convex *-*-hppa *-*-i386 \
-                       *-*-ia64 *-*-m68k *-*-m88k *-*-mips *-*-mipsel \
-                       *-*-mipseb *-*-mips64 *-*-mipsn32 \
-                       *-*-powerpc *-*-rs6000 \
-                       *-*-s390 *-*-sparc *-*-sparc64 \
-                       *-*-x86_64
-
-USE_LIBTOOL=           yes
-GNU_CONFIGURE=         yes
-
-CONFIGURE_ARGS+=       --enable-shared
-
-MAKE_FLAGS+=           htmldir=${PREFIX}/share/doc/ffcall
-
-post-patch:
-       ${CP} ${FILESDIR}/tramp-rs6000-netbsd.s ${WRKSRC}/callback/trampoline_r
-       ${CP} ${FILESDIR}/vacall-rs6000-netbsd.s ${WRKSRC}/callback/vacall_r
-
-TEST_TARGET=           check
-
-.include "../../mk/bsd.pkg.mk"
diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/ffcall/PLIST
--- a/devel/ffcall/PLIST        Sun Sep 10 20:03:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:48:43 joerg Exp $
-include/avcall.h
-include/callback.h
-include/trampoline.h
-include/trampoline_r.h
-include/vacall.h
-include/vacall_r.h
-lib/libavcall.la
-lib/libcallback.la
-lib/libtrampoline.a
-lib/libvacall.a
-man/man3/avcall.3
-man/man3/callback.3
-man/man3/trampoline.3
-man/man3/trampoline_r.3
-man/man3/vacall.3
-share/doc/ffcall/avcall.html
-share/doc/ffcall/callback.html
-share/doc/ffcall/trampoline.html
-share/doc/ffcall/trampoline_r.html
-share/doc/ffcall/vacall.html
diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/ffcall/buildlink3.mk
--- a/devel/ffcall/buildlink3.mk        Sun Sep 10 20:03:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:24:13 joerg Exp $
-
-BUILDLINK_TREE+=       ffcall
-
-.if !defined(FFCALL_BUILDLINK3_MK)
-FFCALL_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.ffcall+= ffcall>=1.9
-BUILDLINK_ABI_DEPENDS.ffcall+= ffcall>=1.10nb1
-BUILDLINK_PKGSRCDIR.ffcall?=   ../../devel/ffcall
-.endif # FFCALL_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -ffcall
diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/ffcall/distinfo
--- a/devel/ffcall/distinfo     Sun Sep 10 20:03:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: distinfo,v 1.15 2017/09/06 08:21:00 he Exp $
-
-SHA1 (ffcall-1.10.tar.gz) = 6b4fdc7bd38b434bbf3d65508a3d117fc8b349f3
-RMD160 (ffcall-1.10.tar.gz) = 910af54fae0b992ceb5620f155e301827d2e03c5
-SHA512 (ffcall-1.10.tar.gz) = dceb620907adae5bbbb52cf2d0b0c829242ad22adceb3186b7a887b7ba49e28b607c30179de6b5a0c46a90bd52f9963ce503ca0c69bc3ecf41e3556df094ddca
-Size (ffcall-1.10.tar.gz) = 914870 bytes
-SHA1 (patch-aa) = 208e3fe1d186e845e14c3623ac5b173923b113e9
-SHA1 (patch-ab) = 7e4b587a080af5530c7bd883a71b614162522320
-SHA1 (patch-ae) = 091132edde5d4360cdc3f0e72cc58833c6487181
-SHA1 (patch-af) = bec1789b42136929742e7bbaa73b88aaf102da6d
-SHA1 (patch-ag) = b21d51fc1d78d81a4f7a99183ca1033675ff04ac
-SHA1 (patch-ah) = 07781ee5caef0ca98e9f15c504fee0b43a111245
-SHA1 (patch-ai) = 03a5a572e94ddbcb78dd11201e0afd91998d1e3a
-SHA1 (patch-aj) = 8db7daeb150db176dfb2f59ad9b4854cb1f895fd
-SHA1 (patch-avcall_avcall-x86__64.s) = a41ec9d5f2f6b64e8dca77d29cf82fa025ab954f
-SHA1 (patch-callback_Makefile.in) = d27730ed485f405c5287b1af7b76cfbeb122c85d
-SHA1 (patch-callback_trampoline__r_trampoline.c) = ea7f0e93640f5424d2309698f20df805135d1fb4
-SHA1 (patch-callback_vacall__r_vacall-x86_64.c) = 2e7e6cc3bd32461e905cb48a3bd470517c90bfb8
-SHA1 (patch-callback_vacall__r_vacall-x86__64.s) = eee81d24f58a57c1ef8164b9c8c70b0e086bda29
-SHA1 (patch-vacall_vacall-x86_64.c) = 299a34fe8530c6bf926b97d0d018a8b850b35a97
diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/ffcall/files/tramp-rs6000-netbsd.s
--- a/devel/ffcall/files/tramp-rs6000-netbsd.s  Sun Sep 10 20:03:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-/* Trampoline for rs6000 CPU with SysV.4 ABI */
-
-/*
- * Copyright 1995-1999 Bruno Haible, <haible%clisp.cons.org@localhost>
- *
- * This is free software distributed under the GNU General Public Licence
- * described in the file COPYING. Contact the author if you don't have this
- * or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied,
- * on this software.
- */
-
-/* Available registers: r0, r12, r11, r10, r9, r8, r7, r6, r5, r4, r3. */
-/* However, r0 is special in that it cannot be used as a base register. */
-/* And r3...r10 should not be clobbered because they contain the first 8
- * integer arguments to the function being called. 
- * Use r13 as it's the last possible register allocated with gcc and r11/12
- * get used during dynamic linkage.
- */
-
-       .globl tramp
-tramp:
-/* Move <data> into register r13 */
-       lis 13,0x7355
-       ori 13,13,0x4711
-/* Get <function> */
-       lis 0,0xbabe
-       ori 0,0,0xbec0
-       mtctr 0
-       bctr
diff -r 10b68797b3a1 -r 1bd8dd9c45ee devel/ffcall/files/vacall-rs6000-netbsd.s
--- a/devel/ffcall/files/vacall-rs6000-netbsd.s Sun Sep 10 20:03:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,159 +0,0 @@
-       .file   "vacall-rs6000.c"
-gcc2_compiled.:
-       .section        ".text"
-       .align 2
-       .globl __vacall_r
-       .type    __vacall_r,@function
-__vacall_r:
-       stwu 1,-208(1)
-       mflr 0
-       stw 0,212(1)
-       stw 3,152(1)
-       stw 4,156(1)
-       stw 5,160(1)
-       stw 6,164(1)
-       stw 7,168(1)
-       stw 8,172(1)
-       stw 9,176(1)
-       stw 10,180(1)
-       stfd 1,48(1)
-       stfd 2,56(1)
-       stfd 3,64(1)
-       stfd 4,72(1)
-       stfd 5,80(1)
-       stfd 6,88(1)
-       stfd 7,96(1)
-       stfd 8,104(1)
-       li 9,0
-       stw 9,8(1)
-       addi 0,1,152
-       stw 0,12(1)
-       addi 0,1,216
-       stw 0,184(1)
-       stw 9,188(1)
-       stw 9,16(1)
-       stw 9,20(1)
-       addi 0,1,48
-       stw 0,40(1)
-       lwz 9,0(13)
-       lwz 3,4(13)
-       addi 4,1,8
-       mtlr 9
-       blrl
-       lwz 0,20(1)
-       cmpwi 0,0,0
-       bc 12,2,.L4
-       cmpwi 0,0,1
-       bc 12,2,.L42
-       lwz 0,20(1)
-       cmpwi 0,0,2
-       bc 4,2,.L7
-       lbz 0,32(1)
-       extsb 3,0
-       b .L4
-.L7:
-       lwz 0,20(1)
-       cmpwi 0,0,3
-       bc 4,2,.L9
-.L42:
-       lbz 3,32(1)
-       b .L4
-.L9:
-       lwz 0,20(1)
-       cmpwi 0,0,4
-       bc 4,2,.L11
-       lha 3,32(1)
-       b .L4
-.L11:
-       lwz 0,20(1)
-       cmpwi 0,0,5
-       bc 4,2,.L13
-       lhz 3,32(1)
-       b .L4
-.L13:
-       lwz 0,20(1)
-       cmpwi 0,0,6
-       bc 12,2,.L43
-       lwz 0,20(1)
-       cmpwi 0,0,7
-       bc 12,2,.L43
-       lwz 0,20(1)
-       cmpwi 0,0,8
-       bc 12,2,.L43
-       lwz 0,20(1)
-       cmpwi 0,0,9
-       bc 12,2,.L43
-       lwz 9,20(1)
-       addi 9,9,-10
-       cmplwi 0,9,1
-       bc 12,1,.L23
-       lwz 3,32(1)
-       lwz 4,36(1)
-       b .L4
-.L23:
-       lwz 0,20(1)
-       cmpwi 0,0,12
-       bc 4,2,.L25
-       lfs 1,32(1)
-       b .L4
-.L25:
-       lwz 0,20(1)
-       cmpwi 0,0,13
-       bc 4,2,.L27
-       lfd 1,32(1)
-       b .L4
-.L27:
-       lwz 0,20(1)
-       cmpwi 0,0,14
-       bc 4,2,.L29
-.L43:
-       lwz 3,32(1)
-       b .L4
-.L29:
-       lwz 0,20(1)
-       cmpwi 0,0,15
-       bc 4,2,.L4
-       lwz 0,8(1)
-       andi. 9,0,1
-       bc 12,2,.L32



Home | Main Index | Thread Index | Old Index