diff options
author | markus <markus@FreeBSD.org> | 2004-08-14 08:01:06 +0800 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2004-08-14 08:01:06 +0800 |
commit | 6fde42dc290e500f31f7b0e9ec73c3c3a34e50a6 (patch) | |
tree | c16d62e149fc8efe0a2e9ea2a7e836cb1124bd99 /graphics/kimagemapeditor | |
parent | 38b77686035dab37f37d77c4b06c44ccf829fe5b (diff) | |
download | freebsd-ports-graphics-6fde42dc290e500f31f7b0e9ec73c3c3a34e50a6.tar.gz freebsd-ports-graphics-6fde42dc290e500f31f7b0e9ec73c3c3a34e50a6.tar.zst freebsd-ports-graphics-6fde42dc290e500f31f7b0e9ec73c3c3a34e50a6.zip |
- Fix build with gcc 3.4 [1]
- Fix build on amd64
Reported by: pointyhat via kris [1]
Diffstat (limited to 'graphics/kimagemapeditor')
-rw-r--r-- | graphics/kimagemapeditor/Makefile | 2 | ||||
-rw-r--r-- | graphics/kimagemapeditor/files/patch-kimagemapeditor.cpp | 11 | ||||
-rw-r--r-- | graphics/kimagemapeditor/files/patch-kimearea.cpp | 11 |
3 files changed, 23 insertions, 1 deletions
diff --git a/graphics/kimagemapeditor/Makefile b/graphics/kimagemapeditor/Makefile index ba927eade3c..58485588bf8 100644 --- a/graphics/kimagemapeditor/Makefile +++ b/graphics/kimagemapeditor/Makefile @@ -23,7 +23,7 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" pre-configure: - ${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \ + ${REINPLACE_CMD} -e 's|-O2|-fPIC|g; s|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/graphics/kimagemapeditor/files/patch-kimagemapeditor.cpp b/graphics/kimagemapeditor/files/patch-kimagemapeditor.cpp new file mode 100644 index 00000000000..9977af86fec --- /dev/null +++ b/graphics/kimagemapeditor/files/patch-kimagemapeditor.cpp @@ -0,0 +1,11 @@ +--- src/kimagemapeditor.cpp.orig Sat Aug 14 01:43:23 2004 ++++ src/kimagemapeditor.cpp Sat Aug 14 01:48:29 2004 +@@ -76,7 +76,7 @@ + + // Factory code for KDE 3 + typedef KParts::GenericFactory<KImageMapEditor> KimeFactory; +-K_EXPORT_COMPONENT_FACTORY( libkimagemapeditor , KimeFactory ); ++K_EXPORT_COMPONENT_FACTORY( libkimagemapeditor , KimeFactory ) + + KImageMapEditor::KImageMapEditor(QWidget *parentWidget, const char *, + QObject *parent, const char *name, const QStringList & ) diff --git a/graphics/kimagemapeditor/files/patch-kimearea.cpp b/graphics/kimagemapeditor/files/patch-kimearea.cpp new file mode 100644 index 00000000000..d2fee839e3f --- /dev/null +++ b/graphics/kimagemapeditor/files/patch-kimearea.cpp @@ -0,0 +1,11 @@ +--- src/kimearea.cpp.orig Sat Aug 14 01:41:52 2004 ++++ src/kimearea.cpp Sat Aug 14 01:42:17 2004 +@@ -440,7 +440,7 @@ + } + p.setRasterOp(Qt::XorROP); + +-}; ++} + + QRect* Area::onSelectionPoint(const QPoint & p, double zoom) const + { |