[135201] trunk/dports/net/gq

ryandesign at macports.org ryandesign at macports.org
Sat Apr 18 21:11:18 PDT 2015


Revision: 135201
          https://trac.macports.org/changeset/135201
Author:   ryandesign at macports.org
Date:     2015-04-18 21:11:18 -0700 (Sat, 18 Apr 2015)
Log Message:
-----------
gq: fix build with glib 2.32 (#36421); fix undefined libiconv symbol errors

Modified Paths:
--------------
    trunk/dports/net/gq/Portfile

Added Paths:
-----------
    trunk/dports/net/gq/files/
    trunk/dports/net/gq/files/patch-glib-2.32.diff

Modified: trunk/dports/net/gq/Portfile
===================================================================
--- trunk/dports/net/gq/Portfile	2015-04-19 03:52:03 UTC (rev 135200)
+++ trunk/dports/net/gq/Portfile	2015-04-19 04:11:18 UTC (rev 135201)
@@ -25,9 +25,12 @@
                 port:openldap \
                 port:openssl \
                 port:libgnome-keyring \
-                port:libglade2
+                port:libglade2 \
+                port:libiconv
 
-configure.ldflags-append -lcrypto
+patchfiles      patch-glib-2.32.diff
+
+configure.ldflags-append -lcrypto -liconv
 configure.args  --disable-update-mimedb \
                 --with-ssl-prefix=${prefix} \
                 --with-ldap-prefix=${prefix}

Added: trunk/dports/net/gq/files/patch-glib-2.32.diff
===================================================================
--- trunk/dports/net/gq/files/patch-glib-2.32.diff	                        (rev 0)
+++ trunk/dports/net/gq/files/patch-glib-2.32.diff	2015-04-19 04:11:18 UTC (rev 135201)
@@ -0,0 +1,33 @@
+--- src/gq-hash.h.orig	2006-10-04 09:50:41.000000000 -0500
++++ src/gq-hash.h	2015-04-18 23:05:14.000000000 -0500
+@@ -24,7 +24,7 @@
+ #ifndef GQ_ENCRYPTION_H
+ #define GQ_ENCRYPTION_H
+ 
+-#include <glib/garray.h>
++#include <glib.h>
+ #include "util.h"
+ 
+ G_BEGIN_DECLS
+--- src/gq-server-list.h.orig	2006-10-04 09:50:40.000000000 -0500
++++ src/gq-server-list.h	2015-04-18 23:05:14.000000000 -0500
+@@ -26,7 +26,7 @@
+ #ifndef GQ_SERVER_LIST_H
+ #define GQ_SERVER_LIST_H
+ 
+-#include <glib/gmacros.h>
++#include <glib.h>
+ #include "gq-server.h" // for GqServer
+ 
+ G_BEGIN_DECLS
+--- src/state.c.orig	2006-10-04 09:50:42.000000000 -0500
++++ src/state.c	2015-04-18 23:05:16.000000000 -0500
+@@ -36,7 +36,7 @@
+ #include <errno.h>
+ 
+ #include <glib/gi18n.h>
+-#include <glib/gmessages.h>
++#include <glib.h>
+ #include <gtk/gtk.h>
+ 
+ #include "xmlparse.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150418/2e3af96a/attachment.html>


More information about the macports-changes mailing list