Opened 19 years ago

Closed 18 years ago

Last modified 9 years ago

#8667 closed defect (fixed)

upgrading libsoup from 2.2.7_0 to 2.2.92_0 requires patch

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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)
 

Change History (4)

comment:1 Changed 19 years ago by yaseppochi (Stephen J. Turnbull)

* Bug 8436 has been marked as a duplicate of this bug. *

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added

libsoup is now at 2.2.94. It builds for me on 10.3. Can this be closed?

comment:3 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

Works for me. I presume the update took care of this.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: libsoup added
Note: See TracTickets for help on using tickets.