summaryrefslogtreecommitdiff
path: root/homebrew/clisp/.beer
blob: 15ccedf96ef86f1c057fa846a257537457821622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
    "name": "Clisp",
    "description": "GNU CLISP, a Common Lisp implementation",
    "url": "https://ftp.gnu.org/gnu/clisp/release/2.49/clisp-2.49.tar.bz2",
    "mirror": "https://ftpmirror.gnu.org/clisp/release/2.49/clisp-2.49.tar.bz2",
    "homepage": "https://clisp.sourceforge.io/",
    "depends": [
        {
            "depend": "libsigsegv",
            "build-depend": false
        },
        {
            "depend": "readline",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/e2cc7c1/clisp/patch-src_lispbibl_d.diff",
            "strip": "0"
        },
        {
            "url": null,
            "data": [
                "diff --git a/src/stream.d b/src/stream.d\n",
                "index 5345ed6..cf14e29 100644\n",
                "--- a/src/stream.d\n",
                "+++ b/src/stream.d\n",
                "@@ -3994,7 +3994,7 @@ global object iconv_range (object encoding, uintL start, uintL end, uintL maxint\n",
                " nonreturning_function(extern, error_unencodable, (object encoding, chart ch));\n",
                "\n",
                " /* Avoid annoying warning caused by a wrongly standardized iconv() prototype. */\n",
                "-#ifdef GNU_LIBICONV\n",
                "+#if defined(GNU_LIBICONV) && !defined(__APPLE_CC__)\n",
                "   #undef iconv\n",
                "   #define iconv(cd,inbuf,inbytesleft,outbuf,outbytesleft) \\\n",
                "     libiconv(cd,(ICONV_CONST char **)(inbuf),inbytesleft,outbuf,outbytesleft)\n"
            ]
        }
    ],
    "install": [
        "ENV.deparallelize ",
        "ENV.O0 ",
        "ENV[\"CC\"] = \"#{ENV.cc} -m64\"",
        "inreplace \"src/makemake.in\", \"${datarootdir}/emacs/site-lisp\", elisp",
        "system \"./configure\", \"--prefix=#{prefix}\",",
        "\"--with-readline=yes\"",
        "cd \"src\" do",
        "inreplace \"Makefile\" do |s|",
        "s.change_make_var! \"CFLAGS\", \"#{s.get_make_var(\"CFLAGS\")} #{ENV[\"CFLAGS\"]}\""
    ],
    "version": "2.49",
    "file": "clisp.rb"
}