Attempt to fix the build on 6.X.
This commit is contained in:
parent
c3451c70c8
commit
35a603c7f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246256
@ -57,6 +57,10 @@ CONFIGURE_ARGS+= --enable-poppler-cairo
|
||||
CONFIGURE_ARGS+= --enable-poppler-cairo=no
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 700000
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_document.cpp
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|ieefp.h|ieeefp.h|' \
|
||||
${WRKSRC}/src/2geom/bezier-utils.cpp
|
||||
|
13
graphics/inkscape/files/extra-patch-src_document.cpp
Normal file
13
graphics/inkscape/files/extra-patch-src_document.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
--- src/document.cpp.orig 2009-12-19 14:57:53.000000000 -0500
|
||||
+++ src/document.cpp 2009-12-19 14:59:10.000000000 -0500
|
||||
@@ -183,8 +183,8 @@ SPDocument::~SPDocument() {
|
||||
|
||||
if (oldSignalsConnected) {
|
||||
g_signal_handlers_disconnect_by_func(G_OBJECT(INKSCAPE),
|
||||
- reinterpret_cast<gpointer>(sp_document_reset_key),
|
||||
- static_cast<gpointer>(this));
|
||||
+ (gpointer)(sp_document_reset_key),
|
||||
+ (gpointer)(this));
|
||||
} else {
|
||||
_selection_changed_connection.disconnect();
|
||||
_desktop_activated_connection.disconnect();
|
Loading…
Reference in New Issue
Block a user