[MacPorts] #8667: upgrading libsoup from 2.2.7_0 to 2.2.92_0 requires patch
MacPorts
noreply at macports.org
Thu Mar 24 08:46:27 PDT 2016
#8667: upgrading libsoup from 2.2.7_0 to 2.2.92_0 requires patch
------------------------+--------------------------------
Reporter: stephen@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.2
Resolution: fixed | Keywords:
Port: libsoup |
------------------------+--------------------------------
Changes (by ryandesign@…):
* port: => libsoup
Old description:
> struct timeval was undefined, so libsoup/soup-socket.c:update_fdflags()
> couldn't compile.
>
> NB: system is Mac OS X 10.3.9 "Panther", not "Tiger".
>
> I added these two lines to Portfile
>
> -----------------------------------------------------------------
> patchfiles time.h.patch
> patch.pre_args -p1
> -----------------------------------------------------------------
>
> where time.h.patch contains
>
> --------------------------------------------------------------------
> libsoup-2.2.92/libsoup/soup-socket.c~ Mon May 1 00:54:53 2006
> +++ libsoup-2.2.92/libsoup/soup-socket.c Mon May 1 00:54:02 2006
> @@ -22,6 +22,7 @@
> #include "soup-ssl.h"
>
> #include <sys/types.h>
> +#include <sys/time.h>
>
> G_DEFINE_TYPE (SoupSocket, soup_socket, G_TYPE_OBJECT)
>
> -----------------------------------------------------------------
New description:
struct timeval was undefined, so libsoup/soup-socket.c:update_fdflags()
couldn't compile.
NB: system is Mac OS X 10.3.9 "Panther", not "Tiger".
I added these two lines to Portfile
{{{
patchfiles time.h.patch
patch.pre_args -p1
}}}
where time.h.patch contains
{{{
--- libsoup-2.2.92/libsoup/soup-socket.c~ Mon May 1 00:54:53 2006
+++ libsoup-2.2.92/libsoup/soup-socket.c Mon May 1 00:54:02 2006
@@ -22,6 +22,7 @@
#include "soup-ssl.h"
#include <sys/types.h>
+#include <sys/time.h>
G_DEFINE_TYPE (SoupSocket, soup_socket, G_TYPE_OBJECT)
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/8667#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list