Opened 18 years ago

Last modified 8 years ago

#8667 closed defect

upgrading libsoup from 2.2.7_0 to 2.2.92_0 requires patch — at Initial Version

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port: libsoup

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: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)


Change History (0)

Note: See TracTickets for help on using tickets.