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 57 58
|
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
fricas (1.3.11-3) unstable; urgency=medium
.
* build-dep on gcl27
Author: Camm Maguire <camm@debian.org>
---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2025-04-27
--- fricas-1.3.11.orig/src/interp/util.lisp
+++ fricas-1.3.11/src/interp/util.lisp
@@ -55,7 +55,8 @@ at load time.
(cfun 100)
(cpages 3000)
(rpages 1000)
- (hole 2000) )
+ (hole 2000) )
+ (return-from init-memory-config nil)
;; initialize GCL memory allocation parameters
(progn
(system:allocate 'cons cons)
--- fricas-1.3.11.orig/src/lib/sockio-c.c
+++ fricas-1.3.11/src/lib/sockio-c.c
@@ -760,7 +760,7 @@ connect_to_local_server(char *server_nam
uaddr->sun_family = FRICAS_AF_LOCAL;
strncpy(uaddr->sun_path, name, sizeof(uaddr->sun_path) - 1);
for(i=0; i<max_con; i++) {
- code = connect(sock->socket, uaddr, sizeof(*uaddr));
+ code = connect(sock->socket, (struct sockaddr *)uaddr, sizeof(*uaddr));
if (code == -1) {
if (
/* @@@ Why we need this */
@@ -938,7 +938,7 @@ open_server(char *server_name)
struct sockaddr_un * uaddr = &(sock->addr.u_addr);
uaddr->sun_family = FRICAS_AF_LOCAL;
strncpy(uaddr->sun_path, name, sizeof(uaddr->sun_path) - 1);
- if (bind(sock->socket, uaddr, sizeof(*uaddr))) {
+ if (bind(sock->socket, (struct sockaddr *)uaddr, sizeof(*uaddr))) {
perror("binding local server socket");
server[1].socket = 0;
return -2;
|