Opened 15 years ago

Closed 15 years ago

#21188 closed defect (fixed)

Small Fix to Inkscape Portfile

Reported by: royliu@… Owned by: dbevans (David B. Evans)
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 (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

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

comment:2 Changed 15 years ago by dbevans (David B. Evans)

Status: newassigned

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 15 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Fixed in r57544 for both inkscape and inkscape-devel.

Note: See TracTickets for help on using tickets.