Skip to contentSkip to conversation

json-c; bump version to json-c-0.12-20140410

PATCH Superseded Sagaert Johan 2 participants 2 messages Apr 15, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 json-c; bump version to json-c-0.12-20140410

Also:
-removed upstream patch
-added hash
-add patch to remove -Werror from make flags

---
V1->V2
Remove the -Werror from make flags

---
 .../0001-don-t-threat-warnings-as-errors.patch     | 21 +++++++++++
 package/json-c/0001-no-reentrant.patch             | 44 ----------------------
 package/json-c/json-c.hash                         |  2 +
 package/json-c/json-c.mk                           |  3 +-
 4 files changed, 25 insertions(+), 45 deletions(-)
 create mode 100644 package/json-c/0001-don-t-threat-warnings-as-errors.patch
 delete mode 100644 package/json-c/0001-no-reentrant.patch
 create mode 100644 package/json-c/json-c.hash
package/json-c/0001-don-t-threat-warnings-as-errors.patch new file +21 -0
new file mode 100644
index 0000000..f18bf92
@@ -0,0 +1,21 @@
+From e81a30a35107643323950ef6803eddebecb33344 Mon Sep 17 00:00:00 2001
+From: Sagaert Johan <[email protected]>
+Date: Wed, 15 Apr 2015 00:40:46 +0200
+Subject: [PATCH 1/1] don't threat warnings as errors
+
+Signed-off-by: Sagaert Johan <[email protected]>
+---
+ Makefile.am.inc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am.inc b/Makefile.am.inc
+index fec591b..61db1d2 100644
+--- a/Makefile.am.inc
++++ b/Makefile.am.inc
+@@ -1,2 +1,2 @@
+-AM_CFLAGS = -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
++AM_CFLAGS = -Wall -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+ 
+-- 
+2.3.3
+
package/json-c/0001-no-reentrant.patch deleted +0 -44

44 lines not on this page · raw message

package/json-c/json-c.hash new file +2 -0
new file mode 100644
index 0000000..a6f9a1f
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	99304a4a633f1ee281d6a521155a182824dd995139d5ed6ee5c93093c281092b  json-c-json-c-0.12-20140410.tar.gz
package/json-c/json-c.mk +2 -1
index b8212ca..9ebd951 100644
@@ -4,11 +4,12 @@
 #
 ################################################################################
 
-JSON_C_VERSION = json-c-0.11-20130402
+JSON_C_VERSION = json-c-0.12-20140410
 JSON_C_SITE = $(call github,json-c,json-c,$(JSON_C_VERSION))
 JSON_C_INSTALL_STAGING = YES
 JSON_C_MAKE = $(MAKE1)
 JSON_C_CONF_OPTS = --disable-oldname-compat
+JSON_C_AUTORECONF = YES
 JSON_C_LICENSE = MIT
 JSON_C_LICENSE_FILES = COPYING
 
Signature · 1 line
2.3.3
#1 lore raw

PATCH v2 1/1 json-c; bump version to json-c-0.12-20140410

Hi Sagaert Johan,

package/json-c/json-c.hash line 2

Quoted 8 lines · Sagaert Johan
package/json-c/json-c.hash new file +2 -0
new file mode 100644
index 0000000..a6f9a1f
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	99304a4a633f1ee281d6a521155a182824dd995139d5ed6ee5c93093c281092b  json-c-json-c-0.12-20140410.tar.gz

This tar file is generated locally from a git checkout. tar generation is not deterministic, so the tar file may change from one checkout to another. In this case we do not add a hash file.

Quoted 5 lines
package/json-c/json-c.mk +0 -0
index b8212ca..9ebd951 100644

package/json-c/json-c.mk line 12

Quoted 10 lines
package/json-c/json-c.mk +2 -1
@@ -4,11 +4,12 @@
 #
 ################################################################################
 
-JSON_C_VERSION = json-c-0.11-20130402
+JSON_C_VERSION = json-c-0.12-20140410
 JSON_C_SITE = $(call github,json-c,json-c,$(JSON_C_VERSION))
 JSON_C_INSTALL_STAGING = YES
 JSON_C_MAKE = $(MAKE1)
 JSON_C_CONF_OPTS = --disable-oldname-compat
+JSON_C_AUTORECONF = YES

Please add an inline comment noting that AUTORECONF is needed because of Makefile.am.inc patch.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -