fixed compilation with newer json lib
authorJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 13 Feb 2014 23:29:21 +0000 (23:29 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 13 Feb 2014 23:29:21 +0000 (23:29 +0000)
po/Makefile
po/Makefile.in
src/fcache.h
src/html.c
src/lp_json.h
src/lp_ws.c
src/ppastats.1

index 00efa4a..4fa184e 100644 (file)
@@ -35,12 +35,12 @@ INSTALL_DATA = ${INSTALL} -m 644
 # We use $(mkdir_p).
 # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
 # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
-# ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ppastats/trunk/install-sh does not start with $(SHELL), so we add it.
+# ${SHELL} /home/jporsini/work/wpitchoune.net/svnpub/ppastats/trunk/install-sh does not start with $(SHELL), so we add it.
 # In automake >= 1.10, /bin/mkdir -p is derived from ${MKDIR_P}, which is defined
 # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
 # versions, $(mkinstalldirs) and $(install_sh) are unused.
-mkinstalldirs = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ppastats/trunk/install-sh -d
-install_sh = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ppastats/trunk/install-sh
+mkinstalldirs = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune.net/svnpub/ppastats/trunk/install-sh -d
+install_sh = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune.net/svnpub/ppastats/trunk/install-sh
 MKDIR_P = /bin/mkdir -p
 mkdir_p = /bin/mkdir -p
 
index 66e9f98..ea311c8 100644 (file)
@@ -35,12 +35,12 @@ INSTALL_DATA = ${INSTALL} -m 644
 # We use $(mkdir_p).
 # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
 # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
-# ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ppastats/trunk/install-sh does not start with $(SHELL), so we add it.
+# ${SHELL} /home/jporsini/work/wpitchoune.net/svnpub/ppastats/trunk/install-sh does not start with $(SHELL), so we add it.
 # In automake >= 1.10, /bin/mkdir -p is derived from ${MKDIR_P}, which is defined
 # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
 # versions, $(mkinstalldirs) and $(install_sh) are unused.
-mkinstalldirs = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ppastats/trunk/install-sh -d
-install_sh = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune/svnpub/ppastats/trunk/install-sh
+mkinstalldirs = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune.net/svnpub/ppastats/trunk/install-sh -d
+install_sh = $(SHELL) ${SHELL} /home/jporsini/work/wpitchoune.net/svnpub/ppastats/trunk/install-sh
 MKDIR_P = /bin/mkdir -p
 mkdir_p = /bin/mkdir -p
 
index 89bd9d8..de50b88 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef _PPASTATS_FCACHE_H_
 #define _PPASTATS_FCACHE_H_
 
-#include <json/json.h>
+#include <json.h>
 
 char *fcache_get(const char *k);
 void fcache_put(const char *k, const char *v);
index a6acc2f..a6536ae 100644 (file)
@@ -27,7 +27,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
-#include <json/json.h>
+#include <json.h>
 
 #include "html.h"
 #include "io.h"
index 99add45..f40c5c3 100644 (file)
 #ifndef _PPASTATS_LP_JSON_H_
 #define _PPASTATS_LP_JSON_H_
 
-#include <json/json.h>
+#include <json.h>
 
 #include <config.h>
 
 /* Declares json_bool to have consistent code even with
    old json lib releases using boolean instead of json_bool.*/
 #ifndef HAVE_JSON_BOOL
-typedef boolean json_bool;
+typedef int json_bool;
 #endif
 
 #include "lp.h"
index 21b9310..c58faaf 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <json/json.h>
+#include <json.h>
 
 #include "cache.h"
 #include "fcache.h"
index 166c065..6c31493 100644 (file)
@@ -1,4 +1,4 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.43.3.
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.44.1.
 .TH PPASTATS "1" "February 2014" "ppastats 0.0.x" "User Commands"
 .SH NAME
 ppastats \- PPA Statistics command line tool