diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-07-26 19:19:20 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-07-26 19:19:20 +0000 |
commit | 66fee909266a1dedf3dfc1f03bb0841380d78805 (patch) | |
tree | 4c98d494bc4532b5dd5b19f4e47bcb3babf104c2 /net/twinkle/files/patch-src-call_script.cpp | |
parent | Remove support for Qt3/kde in preparation for full Qt3/kde3 removal (diff) |
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
Notes
Notes:
svn path=/head/; revision=323748
Diffstat (limited to 'net/twinkle/files/patch-src-call_script.cpp')
-rw-r--r-- | net/twinkle/files/patch-src-call_script.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
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 |