From 66fee909266a1dedf3dfc1f03bb0841380d78805 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Fri, 26 Jul 2013 19:19:20 +0000 Subject: KDE3 and QT3 expired on 2013-07-01, remove these ports. Unfortunately, this also affects some ports using QT3 as a GUI toolkit. Changes to infrastructure files: - bsd.kde.mk : obsolete, remove - bsd.qt.mk : note that a CONFLICTS_BUILD line can probably go after a while - CHANGES : document the removals from bsd.port.mk - KNOBS : remove KDE and QT (KDE4 and QT4 should be used instead) - MOVED : add the removed ports PR: ports/180745 Submitted by: rene Approved by: portmgr (bapt) Exp-run by: bapt --- net/twinkle/files/patch-src-call_script.cpp | 33 ----------------------------- 1 file changed, 33 deletions(-) delete mode 100644 net/twinkle/files/patch-src-call_script.cpp (limited to 'net/twinkle/files/patch-src-call_script.cpp') diff --git a/net/twinkle/files/patch-src-call_script.cpp b/net/twinkle/files/patch-src-call_script.cpp deleted file mode 100644 index cbbdfe1cffbb..000000000000 --- a/net/twinkle/files/patch-src-call_script.cpp +++ /dev/null @@ -1,33 +0,0 @@ ---- src/call_script.cpp Wed Jul 12 13:20:34 2006 -+++ src/call_script.cpp Wed Jul 12 13:23:34 2006 -@@ -46,6 +46,8 @@ - #define SCR_TRIGGER_LOCAL_RELEASE "local_release" - #define SCR_TRIGGER_REMOTE_RELEASE "remote_release" - -+extern char **environ; -+ - ///////////////////////// - // class t_script_result - ///////////////////////// -@@ -324,14 +326,16 @@ - } - - char *line_buf = NULL; -- size_t line_buf_len = 0; -- ssize_t num_read; -+ char *num_read; -+ int line_buf_len; -+ int count=0; - - // Read and parse script results. -- while ((num_read = getline(&line_buf, &line_buf_len, fp_result)) != -1) { -+ while ((num_read = fgets(line_buf, sizeof(line_buf), fp_result)) != NULL) { -+ count++; - // Strip newline if present -- if (line_buf[num_read - 1] == '\n') { -- line_buf[num_read - 1] = 0; -+ if (line_buf[count - 1] == '\n') { -+ line_buf[count - 1] = 0; - } - - // Convert the read line to a C++ string -- cgit v1.2.3