droped patch because fixed upstream
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 2 Jun 2014 20:19:00 +0000 (22:19 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 2 Jun 2014 20:19:00 +0000 (22:19 +0200)
debian/changelog
debian/patches/json-c-FTBFS-fix.patch [deleted file]
debian/patches/series [deleted file]

index 016396a..b3058a9 100644 (file)
@@ -15,7 +15,9 @@ psensor (1.0.1-1) unstable; urgency=low
       + excanvas.js (removed upstream) copyright removed.
   * debian/rules
       + use autoreconf to update libtool and configure. (Closes: #749110)
-
+  * debian/patches/json-c-FTBFS-fix.patch
+      + droped, fixed upstream
+       
  -- Jean-Philippe Orsini <jeanfi@gmail.com>  Mon, 02 Jun 2014 22:17:16 +0200
 
 psensor (0.8.0.4-1.1) unstable; urgency=low
diff --git a/debian/patches/json-c-FTBFS-fix.patch b/debian/patches/json-c-FTBFS-fix.patch
deleted file mode 100644 (file)
index d5f82cd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: Update json usage for current API
- The json-c interface was using a deprecated method.
- This cherry-picked patch from upstream fixes it.
- .
- psensor (0.8.0.4-1.1) unstable; urgency=low
- .
-Author: Wookey <wookey@debian.org>
-Bug-Debian: http://bugs.debian.org/746145
-Origin: upstream, http://wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff;h=695aaee544240f86415140a77f5716f858bec91e
-Last-Update: 2014-05-31
-
---- psensor-0.8.0.4.orig/src/lib/psensor_json.c
-+++ psensor-0.8.0.4/src/lib/psensor_json.c
-@@ -140,9 +140,9 @@ struct psensor *psensor_new_from_json(js
-       struct psensor *s;
-       char *eid, *url;
--      oid = json_object_object_get(o, "id");
--      oname = json_object_object_get(o, "name");
--      otype = json_object_object_get(o, "type");
-+      json_object_object_get_ex(o, "id", &oid);
-+      json_object_object_get_ex(o, "name", &oname);
-+      json_object_object_get_ex(o, "type", &otype);
-       eid = url_encode(json_object_get_string(oid));
-       url = malloc(strlen(sensors_url) + 1 + strlen(eid) + 1);
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644 (file)
index ed8e002..0000000
+++ /dev/null
@@ -1 +0,0 @@
-json-c-FTBFS-fix.patch