Patchwork fix cjson package

login
register
mail settings
Submitter Viallard Anthony
Date Dec. 6, 2012, 3:18 p.m.
Message ID <50C0B73C.9020407@syscom-instruments.com>
Download mbox | patch
Permalink /patch/204279/
State Superseded
Headers show

Comments

Viallard Anthony - Dec. 6, 2012, 3:18 p.m.
Hi buildroot guys,

I've try to use cjson package but there a download problem. So, I fix up 
the package Makefile and here the change :




Cheers,
Viallard Anthony.
Danomi Manchego - Dec. 7, 2012, 2:14 a.m.
Viallard,

> -CJSON_VERSION         = undefined
> -CJSON_SOURCE          = cJSONFiles.zip
> +CJSON_VERSION         = 2011-10-10
> +CJSON_SOURCE          = cJSONFiles-$(CJSON_VERSION).zip
>  CJSON_SITE            = http://downloads.sourceforge.net/project/cjson/

This worked for you?  It doesn't work for me ... i.e. this line works for me:

    wget http://downloads.sourceforge.net/project/cjson/cJSONFiles.zip

but this line gives me ERROR 404 Not Found:

    wget http://downloads.sourceforge.net/project/cjson/cJSONFiles-2011-10-10.zip

Am I missing something here?

Danomi -

Patch

diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk
index ccc6010..728639d 100644
--- a/package/cjson/cjson.mk
+++ b/package/cjson/cjson.mk
@@ -3,8 +3,8 @@ 
  # cjson
  #
  #############################################################
-CJSON_VERSION         = undefined
-CJSON_SOURCE          = cJSONFiles.zip
+CJSON_VERSION         = 2011-10-10
+CJSON_SOURCE          = cJSONFiles-$(CJSON_VERSION).zip
  CJSON_SITE            = http://downloads.sourceforge.net/project/cjson/
  CJSON_INSTALL_STAGING = YES
  CJSON_LICENSE         = MIT