aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kdemultimedia3
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-27 10:54:09 +0800
committerkevlo <kevlo@FreeBSD.org>2000-11-27 10:54:09 +0800
commit75792eb4b765849abb79dbb07a33ace24fef910f (patch)
tree00d60b5c917c9f0614a513aa90069e74cf1c3e35 /multimedia/kdemultimedia3
parentab70e07dc321752c852c3f3060de6cbe45deea8c (diff)
downloadfreebsd-ports-gnome-75792eb4b765849abb79dbb07a33ace24fef910f.tar.gz
freebsd-ports-gnome-75792eb4b765849abb79dbb07a33ace24fef910f.tar.zst
freebsd-ports-gnome-75792eb4b765849abb79dbb07a33ace24fef910f.zip
Fix tmpnam() warnings, using KTempfile instead of mkstemp.
Fix kde -HEAD as well: http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdemultimedia/kscd/CDDialog.cpp
Diffstat (limited to 'multimedia/kdemultimedia3')
-rw-r--r--multimedia/kdemultimedia3/files/patch-CDDialog.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia3/files/patch-CDDialog.cpp b/multimedia/kdemultimedia3/files/patch-CDDialog.cpp
new file mode 100644
index 000000000000..3ecedcb68ced
--- /dev/null
+++ b/multimedia/kdemultimedia3/files/patch-CDDialog.cpp
@@ -0,0 +1,30 @@
+--- kscd/CDDialog.cpp.orig Fri Nov 24 18:13:01 2000
++++ kscd/CDDialog.cpp Mon Nov 27 10:22:44 2000
+@@ -24,6 +24,7 @@
+
+ #include <klocale.h>
+ #include <kdebug.h>
++#include <ktempfile.h>
+
+ #include <stdio.h>
+ #include <math.h>
+@@ -427,8 +428,9 @@
+ dialog->getSelection(submitcat);
+ delete dialog;
+
+- QString tempfile;
+- tempfile = tmpnam(0L);
++ KTempFile tmpFile;
++ tmpFile.setAutoDelete(true); // delete file when we are done.
++ QString tempfile = tmpFile.name();
+
+ save_cddb_entry(tempfile,true);
+
+@@ -515,7 +517,6 @@
+ file.close();
+ // file2.close(); // *****
+
+- unlink(QFile::encodeName(tempfile));
+ kdDebug() << "DONE SENDING\n" << endl;
+ } // upload
+
6a4ba8cd9a2c193b165516b7a70bfe'>Mechanically convert unmaintained ports which use "gnomehack" to use ↵eadler2013-03-281-6/+3 | | | | "pathfix" instead. * Update PCRE to 8.32mm2012-12-111-2/+2 | | | | | Introduces the UTF-32 library pcre32 Bump PORTREVISION in dependent ports * - update png to 1.5.10dinoex2012-06-011-1/+1 | * Bump pcre library dependency due to 8.30 updatemm2012-02-141-1/+2 | * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2 | | | | | | | | | - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav * - Update to 0.11.2miwi2010-07-161-11/+8 | | | | | PR: 148567 Submitted by: Ports Fury * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 | * - update to 1.4.1dinoex2010-03-281-1/+1 | | | | | Reviewed by: exp8 run on pointyhat Supported by: miwi * - update to jpeg-8dinoex2010-02-051-1/+1 | * Chase the vte shared lib bump.marcus2009-08-231-1/+1 | * - bump all port that indirectly depends on libjpeg and have not yet been ↵dinoex2009-07-311-1/+1 | | | | | | bumped or updated Requested by: edwin * Chase the vte shared lib version bump.marcus2009-06-031-1/+1 | * - Use GNOME macro instead of ${MASTER_SITE_GNOME}, removearaujo2009-02-02