New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21188 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Small Fix to Inkscape Portfile

Reported by: royliu@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: inkscape

Description

It seems that fixes to prevent Poppler Object.h from conflicting with Python25 Object.h is not enough. The following extra line is necessary:

--- Portfile.orig	2009-09-07 04:04:04.000000000 -0700
+++ Portfile	2009-09-07 14:50:41.000000000 -0700
@@ -85,9 +85,9 @@
 post-patch {
         reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.5\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
         reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
+        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
 }

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to devans@…
  • Keywords inkscape removed

comment:2 Changed 4 years ago by devans@…

  • Status changed from new to assigned

I think you're right but it is not causing a problem on my machine (tiger ppc). Are you by any chance on Snow Leopard? If not what?

Is this the same problem as #21311?

comment:3 Changed 4 years ago by devans@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r57544 for both inkscape and inkscape-devel.

Note: See TracTickets for help on using tickets.