Package Details: sketch 0.3.7-3

Git Clone URL: https://aur.archlinux.org/sketch.git (read-only, click to copy)
Package Base: sketch
Description: Small, simple system for producing line drawings of two- or three-dimensional solid objects and scenes
Upstream URL: http://sketch4latex.sourceforge.net
Licenses: GPL-3.0-or-later
Submitter: core-problem
Maintainer: core-problem
Last Packager: core-problem
Votes: 4
Popularity: 0.000000
First Submitted: 2015-10-12 23:07 (UTC)
Last Updated: 2025-05-17 21:57 (UTC)

Latest Comments

micwoj92 commented on 2025-05-18 00:23 (UTC)

Fyi gnu17 also works, I don't know what are the differences for compiling this software with c89 vs c17.

core-problem commented on 2025-05-17 21:58 (UTC)

Thanks @Vain, I applied your patch. Haven't been using this package for a long time.

Vain commented on 2025-05-14 14:47 (UTC)

Hi,

this doesn't build with GCC 15. Given that the last release by upstream is 13 years old, the easiest way is probably to set the C standard explicitly:

diff --git a/PKGBUILD b/PKGBUILD
index 883e38a..b625481 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,11 @@ md5sums=('c51c6a0ed6c16a95e1a1afe1afd5d70e')

 build() {
     cd "$srcdir/$pkgname-$pkgver"
-    make
+
+    # This is what is set in 'makefile', no easy way to extend it.
+    default_cc='gcc -O1 -g -Wall'
+
+    make CC="$default_cc -std=gnu89"
 }

 package() {

micwoj92 commented on 2024-10-12 23:03 (UTC)

Please set license to SPDX identifier, GPL-3.0-or-later.