View | Details | Raw Unified
Collapse All | Expand All

(-) bmpx-0.20.2.orig/configure (-9 / +9 lines)
 Lines 34333-34344    Link Here 
if test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG"; then
        if test -n "$PKG_CONFIG" && \
        if test -n "$PKG_CONFIG" && \
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.26\"") >&5
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.27\"") >&5
  ($PKG_CONFIG --exists --print-errors "neon < 0.26") 2>&5
  ($PKG_CONFIG --exists --print-errors "neon < 0.27") 2>&5
  ac_status=$?
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  (exit $ac_status); }; then
  pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon < 0.26" 2>/dev/null`
  pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon < 0.27" 2>/dev/null`
else
else
  pkg_failed=yes
  pkg_failed=yes
fi
fi
 Lines 34347-34358    Link Here 
fi
fi
if test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG"; then
        if test -n "$PKG_CONFIG" && \
        if test -n "$PKG_CONFIG" && \
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.26\"") >&5
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.27\"") >&5
  ($PKG_CONFIG --exists --print-errors "neon < 0.26") 2>&5
  ($PKG_CONFIG --exists --print-errors "neon < 0.27") 2>&5
  ac_status=$?
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  (exit $ac_status); }; then
  pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon < 0.26" 2>/dev/null`
  pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon < 0.27" 2>/dev/null`
else
else
  pkg_failed=yes
  pkg_failed=yes
fi
fi
 Lines 34361-34378    Link Here 
fi
fi
if test $pkg_failed = yes; then
if test $pkg_failed = yes; then
	NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon < 0.26"`
	NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon < 0.27"`
	# Put the nasty error message in config.log where it belongs
	# Put the nasty error message in config.log where it belongs
	echo "$NEON_PKG_ERRORS" 1>&5
	echo "$NEON_PKG_ERRORS" 1>&5
	{ { echo "$as_me:$LINENO: error: Package requirements (neon < 0.26) were not met.
	{ { echo "$as_me:$LINENO: error: Package requirements (neon < 0.27) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
installed software in a non-standard prefix.
Alternatively you may set the NEON_CFLAGS and NEON_LIBS environment variables
Alternatively you may set the NEON_CFLAGS and NEON_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
to avoid the need to call pkg-config.  See the pkg-config man page for
more details." >&5
more details." >&5
echo "$as_me: error: Package requirements (neon < 0.26) were not met.
echo "$as_me: error: Package requirements (neon < 0.27) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
installed software in a non-standard prefix.
(-) bmpx-0.20.2.orig/plugins/vfs/transport/bmp_ne_private.h (+68 lines)
 Lines 1-6    Link Here 
#ifndef BMP_NE_PRIVATE_H
#ifndef BMP_NE_PRIVATE_H
#define BMP_NE_PRIVATE_H
#define BMP_NE_PRIVATE_H
#ifndef NEON_026
struct host_info {
struct host_info {
    char *hostname;
    char *hostname;
    unsigned int port;
    unsigned int port;
 Lines 62-65    Link Here 
    char *user_agent; /* full User-Agent: header field */
    char *user_agent; /* full User-Agent: header field */
};
};
#else
struct host_info {
    char *hostname;
    unsigned int port;
    ne_sock_addr *address; /* if non-NULL, result of resolving 'hostname'. */
    /* current network address obtained from 'address' being used. */
    const ne_inet_addr *current;
    char *hostport; /* URI hostport segment */
};
/* Store every registered callback in a generic container, and cast
 * the function pointer when calling it.  */
struct hook {
    void (*fn)(void);
    void *userdata;
    const char *id; /* non-NULL for accessors. */
    struct hook *next;
};
#define HAVE_HOOK(st,func) (st->hook->hooks->func != NULL)
#define HOOK_FUNC(st, func) (*st->hook->hooks->func)
/* Session support. */
struct ne_session_s {
    /* Connection information */
    ne_socket *socket;
    /* non-zero if connection has been established. */
    int connected;
    
    /* non-zero if connection has persisted beyond one request. */
    int persisted;
    int is_http11; /* >0 if connected server is known to be
		    * HTTP/1.1 compliant. */
    char *scheme;
    struct host_info server, proxy;
    /* application-provided address list */
    const ne_inet_addr **addrlist;
    size_t numaddrs, curaddr;
    /* Settings */
    int use_proxy; /* do we have a proxy server? */
    int use_ssl; /* whether a secure connection is required */
    int in_connect; /* doing a proxy CONNECT */
    int flags[NE_SESSFLAG_LAST];
    ne_progress progress_cb;
    void *progress_ud;
    ne_notify_status notify_cb;
    void *notify_ud;
    int rdtimeout; /* read timeout. */
    struct hook *create_req_hooks, *pre_send_hooks, *post_send_hooks;
    struct hook *destroy_req_hooks, *destroy_sess_hooks, *priv;
    char *user_agent; /* full User-Agent: header field */
};
#endif
#endif
#endif
(-) bmpx-0.20.2.orig/plugins/vfs/transport/libtransport_http.cpp (+4 lines)
 Lines 39-44    Link Here 
#include <src/uri++.hpp>
#include <src/uri++.hpp>
#include <src/vfs.hpp>
#include <src/vfs.hpp>
#ifndef NE_FREE
#  define NEON_026 1
#endif
#include "bmp_ne_private.h"
#include "bmp_ne_private.h"
namespace
namespace