Package Details: eukleides 1.5.4-2

Git Clone URL: (read-only, click to copy)
Package Base: eukleides
Description: Eukleides is a computer language devoted to elementary plane geometry.
Upstream URL:
Licenses: GPL
Submitter: holst
Maintainer: holst (jrvarma)
Last Packager: holst
Votes: 0
Popularity: 0.000000
First Submitted: 2017-10-07 16:25 (UTC)
Last Updated: 2022-10-07 15:09 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Latest Comments

jrvarma commented on 2022-10-08 13:42 (UTC)

Thanks. The new PKGBUILD worked perfectly.

holst commented on 2022-10-07 15:10 (UTC)

I went with the second alternative since we already are shipping a patch file for the source.

Note that I have not tested if this actually works since I do not have a (working) archlinux X11 installation at the current moment. Let me know if it broke the package!

jrvarma commented on 2022-10-03 09:48 (UTC)

I get a multiple declarations error from the linker when building this package. This happens because in modern C, the declaration of A, B, C, x, y in quadrilateral.c and the declaration of the same variables in triangle.c both have implicit extern linkage. I was able to build the package by adding a linker flag to allow multiple declaration. Specifically, I edited PKGBUILD to add the following line to the prepare() function.

sed -i "s/LDFLAGS = /LDFLAGS = -z muldefs /" build/Makefile

Perhaps, the better solution is to patch quadrilateral.c and triangle.c to insert the keyword static in front of the declarations of these variables.