summaryrefslogtreecommitdiffstats
path: root/devel/kprof
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-21 18:54:17 +0000
committerkrion <krion@FreeBSD.org>2003-12-21 18:54:17 +0000
commitb83e711888f06018c6127db4871158f68e488cc3 (patch)
treedfb64bfaa8df70c589a6cdcd9ea5eaef8242c0ba /devel/kprof
parent4b2ce7b0c0df6493c9ec4f30123bab521a0cd58b (diff)
downloadFreeBSD-ports-b83e711888f06018c6127db4871158f68e488cc3.zip
FreeBSD-ports-b83e711888f06018c6127db4871158f68e488cc3.tar.gz
- Use Qt treeview libraries
PR: 50992 Submitted by: zako <hagerakko@geocities.co.jp> Approved by: maintainer timeout > 1 month
Diffstat (limited to 'devel/kprof')
-rw-r--r--devel/kprof/Makefile3
-rw-r--r--devel/kprof/files/patch-aa31
2 files changed, 33 insertions, 1 deletions
diff --git a/devel/kprof/Makefile b/devel/kprof/Makefile
index e2d636c..5781e99 100644
--- a/devel/kprof/Makefile
+++ b/devel/kprof/Makefile
@@ -8,12 +8,13 @@
PORTNAME= kprof
PORTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pmarquis@pobox.com
-COMMENT= A profiling tool for KDE.
+COMMENT= A profiling tool for KDE
USE_KDELIBS_VER= 3
GNU_CONFIGURE= yes
diff --git a/devel/kprof/files/patch-aa b/devel/kprof/files/patch-aa
new file mode 100644
index 0000000..5d2b40b
--- /dev/null
+++ b/devel/kprof/files/patch-aa
@@ -0,0 +1,31 @@
+*** kprof/kprofwidget.cpp.orig Thu Apr 10 22:50:13 2003
+--- kprof/kprofwidget.cpp Thu Apr 10 22:59:37 2003
+***************
+*** 445,450 ****
+--- 445,457 ----
+ QFileInfo gmonfinfo (outfile);
+ if (!gmonfinfo.exists ())
+ {
++ outfile = filename + ".gmon";
++ QFileInfo ngmoninfo (outfile);
++ }
++ QFileInfo ngmoninfo (outfile);
++
++ if (!gmonfinfo.exists () && !ngmoninfo.exists () )
++ {
+ outfile = finfo.dirPath () + "/fnccheck.out";
+ QFileInfo fnccheckinfo (outfile);
+ if (!fnccheckinfo.exists ())
+***************
+*** 591,600 ****
+ prepareProfileView (mObjs, true);
+ customizeColumns (mObjs, sLastFileFormat);
+
+- #ifdef HAVE_LIBQTREEMAP
+ QListViewItem *obj_toplevel = new QListViewItem(mObjs,"Objects");
+ QListViewItem *hier_toplevel = new QListViewItem(mHier,"Hierarchy");
+- #endif
+
+ // fill lists
+ fillFlatProfileList ();
+--- 598,605 ----
OpenPOWER on IntegriCloud