[MacPorts] #60610: gedit @3.28.1_1: error building +quartz

MacPorts noreply at macports.org
Wed Jun 10 08:04:37 UTC 2020


#60610: gedit @3.28.1_1: error building +quartz
---------------------+----------------------
  Reporter:  kencu   |      Owner:  dbevans
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  gedit   |
---------------------+----------------------

Comment (by kencu):

 The attached patch allows {{{gedit +quartz}}} to run, by disabling the
 piece of code that triggers the error.

 Exactly why it is triggering the error is not yet obvious to me, but at
 least I know where the error is.
 {{{
 diff --git plugins/checkupdate/gedit-check-update-plugin.c
 plugins/checkupdate/gedit-check-update-plugin.c
 index 3f2c3c3..4625ed4 100644
 --- plugins/checkupdate/gedit-check-update-plugin.c
 +++ plugins/checkupdate/gedit-check-update-plugin.c
 @@ -563,8 +563,9 @@ parse_page_version (SoupSession            *session,
                     SoupMessage            *msg,
                     GeditCheckUpdatePlugin *plugin)
  {
 -       if (msg->status_code == SOUP_STATUS_OK)
 -       {
 +//     if (msg->status_code == SOUP_STATUS_OK)
 +    if (0)
 +    {
                 gchar *version;
                 SoupMessage *msg2;

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60610#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list