Package Details: cdecl 2.5-3

Git Clone URL: https://aur.archlinux.org/cdecl.git (read-only, click to copy)
Package Base: cdecl
Description: Translation between C declarations and pseudo-English
Upstream URL: http://www.ibiblio.org/pub/linux/devel/lang/c/
Licenses: Public Domain
Submitter: galdor
Maintainer: aksr
Last Packager: aksr
Votes: 36
Popularity: 0.000000
First Submitted: 2008-07-02 09:53 (UTC)
Last Updated: 2015-07-16 14:52 (UTC)

Latest Comments

1 2 Next › Last »

tirsek commented on 2019-07-09 14:04 (UTC)

Setting CFLAGS when calling make from PKGBUILD completely replaces the CFLAGS defined in the Makefile, which results in the package being build without readline support.

We should probably add the original CFLAGS contents to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 6e71f76..532f854 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,7 +36,7 @@ prepare() {

 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  make CFLAGS="-std=gnu90"
+  make CFLAGS="-O2 -s -DUSE_READLINE -std=gnu90"
 }

 package() {

aksr commented on 2015-07-16 14:54 (UTC)

jarmar: Thanks, fixed.

jarmar commented on 2015-07-16 12:39 (UTC)

I'm getting the following error (and a few more on the same subject) when trying to build: cdecl.c: In function ‘mbcheck’: cdecl.c:243:24: error: expected identifier or ‘(’ before ‘restrict’ register int i, j, restrict; ^ This is likely due to gcc changing the default standard from gnu90 to gnu11 in version 5.1, making restrict a reserved word. Adding -std=gnu90 to CFLAGS made it build properly for me.

cb73 commented on 2015-01-23 21:44 (UTC)

I'm getting the following error when trying to build this package: ==> Building and installing package ==> ERROR: Missing package() function in /tmp/yaourt-tmp-claudio/aur-cdecl/./PKGBUILD ==> ERROR: Makepkg was unable to build cdecl. I had split the make install out of the build() function into the package() function and it worked.

<deleted-account> commented on 2011-04-14 14:16 (UTC)

I replaced the ftp link with http://www.ibiblio.org. Works well now! Thanks for your report.

<deleted-account> commented on 2011-04-14 14:09 (UTC)

There seems to be a problem with metalab's ftp server. I get "connection refused" when opening the PASV data connection. I'll keep investigating; maybe I can find a better source link.

vojtechkral commented on 2011-04-14 13:46 (UTC)

Is it just me or is the source link dead?

<deleted-account> commented on 2010-09-05 19:42 (UTC)

Ok, thanks! I updated it.

galdor commented on 2010-09-05 19:22 (UTC)

Sorry, I wasn't available the last days. I'm not using cdecl anymore and don't have the time to make an update before a day or two. I disowned the package so that you can update it. Good job by the way!