diff options
author | vs <vs@FreeBSD.org> | 2005-10-28 21:29:21 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-10-28 21:29:21 +0800 |
commit | 67fb3fb685ac9230e755dd6521e4a1ee7c016ae9 (patch) | |
tree | 3aadb40e6ddc9bdc24c9478ab5dd5bd1a8a2d1f5 /deskutils/kdissert | |
parent | 98c6db061a20835636c7d05097e8ecda38f59137 (diff) | |
download | freebsd-ports-gnome-67fb3fb685ac9230e755dd6521e4a1ee7c016ae9.tar.gz freebsd-ports-gnome-67fb3fb685ac9230e755dd6521e4a1ee7c016ae9.tar.zst freebsd-ports-gnome-67fb3fb685ac9230e755dd6521e4a1ee7c016ae9.zip |
Update to 1.0.5
PR: ports/87735
Submitted by: Ports Fury
Diffstat (limited to 'deskutils/kdissert')
-rw-r--r-- | deskutils/kdissert/Makefile | 10 | ||||
-rw-r--r-- | deskutils/kdissert/distinfo | 4 | ||||
-rw-r--r-- | deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp | 18 | ||||
-rw-r--r-- | deskutils/kdissert/pkg-plist | 5 |
4 files changed, 33 insertions, 4 deletions
diff --git a/deskutils/kdissert/Makefile b/deskutils/kdissert/Makefile index 7211756fcb86..3ff385e51fb9 100644 --- a/deskutils/kdissert/Makefile +++ b/deskutils/kdissert/Makefile @@ -6,7 +6,7 @@ # PORTNAME= kdissert -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= deskutils kde MASTER_SITES= http://www.kde-apps.org/content/files/ DISTNAME= 12725-${PORTNAME}-${PORTVERSION} @@ -22,6 +22,12 @@ USE_BZIP2= yes USE_KDELIBS_VER= 3 USE_REINPLACE= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +CXXFLAGS+= -fpermissive +.endif + post-patch: @${REINPLACE_CMD} -e \ 's:%%CXX%%:${CXX}:g ; \ @@ -39,4 +45,4 @@ do-install: @cd ${WRKSRC} && scons install @${STRIP_CMD} ${PREFIX}/bin/kdissert -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/deskutils/kdissert/distinfo b/deskutils/kdissert/distinfo index 1f5f9030e7a5..46c8bc7d0b93 100644 --- a/deskutils/kdissert/distinfo +++ b/deskutils/kdissert/distinfo @@ -1,2 +1,2 @@ -MD5 (12725-kdissert-1.0.4.tar.bz2) = 83102305be711399d80ea61bf6f1ec2f -SIZE (12725-kdissert-1.0.4.tar.bz2) = 482414 +MD5 (12725-kdissert-1.0.5.tar.bz2) = 18ff5d04d633cf3b4e3fbf869c18dd2f +SIZE (12725-kdissert-1.0.5.tar.bz2) = 489281 diff --git a/deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp b/deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp new file mode 100644 index 000000000000..bfe86a63250f --- /dev/null +++ b/deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp @@ -0,0 +1,18 @@ +--- src/kdissert/canvasview/DCanvasView.cpp.orig Sat Oct 15 22:22:33 2005 ++++ src/kdissert/canvasview/DCanvasView.cpp Tue Oct 18 20:47:13 2005 +@@ -1466,6 +1466,7 @@ + if (x2>canvas()->width()-limit) dx += extend+x2-limit; + if (y2>canvas()->height()-limit) dy += extend+y2-limit; + ++#if !(defined(__GNUC__) && (__GNUC__ < 3)) + // just for security: check for hard system limits + if (((double)canvas()->width()+dx) > (double)std::numeric_limits<typeof(canvas()->width())>::max() || ((double)canvas()->height()+dy) > (double)std::numeric_limits<typeof(canvas()->height())>::max()) { + static bool told(false); // should never happen, but say it once... +@@ -1473,6 +1474,7 @@ + told = true; + return; + } ++#endif + + // expand if necessary + if (dx>0 || dy>0) { diff --git a/deskutils/kdissert/pkg-plist b/deskutils/kdissert/pkg-plist index 7ddbe4e2c8b9..8590a0dbc053 100644 --- a/deskutils/kdissert/pkg-plist +++ b/deskutils/kdissert/pkg-plist @@ -19,6 +19,7 @@ lib/kde3/libkdissprosperslides.la lib/kde3/libkdissprosperslides.so lib/kde3/libkdissstx.la lib/kde3/libkdissstx.so +share/applications/kde/kdissert.desktop share/applnk/Utilities/kdissert.desktop share/apps/kdissert/kdissertui.rc share/apps/kdissert/pics/nopix.png @@ -34,9 +35,12 @@ share/apps/kdissert/templatedata/kdissprosperslides.tar.gz share/apps/kdissert/templatedata/kdissstx.tar.gz share/apps/kdissert/tips share/apps/kdissertpart/kdissertpart.rc +share/config.kcfg/kdissert.kcfg +share/doc/HTML/en/kdissert/common share/doc/HTML/en/kdissert/index.cache.bz2 share/doc/HTML/en/kdissert/index.docbook share/doc/HTML/en/kdissert/screenshot.jpg +share/doc/HTML/fr/kdissert/common share/doc/HTML/fr/kdissert/index.cache.bz2 share/doc/HTML/fr/kdissert/index.docbook share/icons/hicolor/128x128/actions/kdissert_sort.png @@ -62,6 +66,7 @@ share/locale/it/LC_MESSAGES/kdissert.mo share/locale/nl/LC_MESSAGES/kdissert.mo share/locale/pl/LC_MESSAGES/kdissert.mo share/mimelnk/application/x-kdissert.desktop +share/services/kdissertpart.desktop @dirrm share/doc/HTML/fr/kdissert @dirrm share/doc/HTML/en/kdissert @dirrm share/apps/kdissertpart |