summaryrefslogtreecommitdiff
path: root/editors/conglomerate
diff options
context:
space:
mode:
authordholland <dholland>2012-05-09 05:31:28 +0000
committerdholland <dholland>2012-05-09 05:31:28 +0000
commitd4a7bde6421bbf64cdef6bcd904e10eeb23d7089 (patch)
tree19c4502ee7cf6352b1a027090cdd1c84a9b5bd7f /editors/conglomerate
parentc75ac5d3253869c45faa72b3bbd182d293cc51ec (diff)
downloadpkgsrc-d4a7bde6421bbf64cdef6bcd904e10eeb23d7089.tar.gz
Avoid another symbol name conflict with clone(2).
Diffstat (limited to 'editors/conglomerate')
-rw-r--r--editors/conglomerate/patches/patch-src_cong-editor-line-iter-span-wrapper_c31
1 files changed, 31 insertions, 0 deletions
diff --git a/editors/conglomerate/patches/patch-src_cong-editor-line-iter-span-wrapper_c b/editors/conglomerate/patches/patch-src_cong-editor-line-iter-span-wrapper_c
new file mode 100644
index 00000000000..1a24b260ee2
--- /dev/null
+++ b/editors/conglomerate/patches/patch-src_cong-editor-line-iter-span-wrapper_c
@@ -0,0 +1,31 @@
+$NetBSD: patch-src_cong-editor-line-iter-span-wrapper_c,v 1.1 2012/05/09 05:31:28 dholland Exp $
+
+Avoid symbol conflict with clone(2).
+
+--- src/cong-editor-line-iter-span-wrapper.c~ 2004-11-04 19:18:48.000000000 +0000
++++ src/cong-editor-line-iter-span-wrapper.c
+@@ -26,13 +26,13 @@
+ #include "cong-editor-line-iter-span-wrapper.h"
+
+ static CongEditorLineIter*
+-clone (CongEditorLineIter *line_iter);
++clone_ (CongEditorLineIter *line_iter);
+
+ static CongEditorAreaLine*
+ get_line (CongEditorLineIter *line_iter);
+
+ CONG_DEFINE_CLASS_PUBLIC_DATA (CongEditorLineIterSpanWrapper, cong_editor_line_iter_span_wrapper, CONG_EDITOR_LINE_ITER_SPAN_WRAPPER, CongEditorLineIter, CONG_EDITOR_LINE_ITER_TYPE,
+- CONG_EDITOR_LINE_ITER_CLASS (klass)->clone = clone;
++ CONG_EDITOR_LINE_ITER_CLASS (klass)->clone = clone_;
+ CONG_EDITOR_LINE_ITER_CLASS (klass)->get_line = get_line;)
+
+ /* Implementation of CongLineEditorIterSpanWrapper: */
+@@ -80,7 +80,7 @@ cong_editor_line_iter_span_wrapper_dispo
+ }
+
+ static CongEditorLineIter*
+-clone (CongEditorLineIter *line_iter)
++clone_ (CongEditorLineIter *line_iter)
+ {
+ CongEditorLineIterSpanWrapper* span_wrapper_iter = CONG_EDITOR_LINE_ITER_SPAN_WRAPPER (line_iter);
+ CongEditorLineIterSpanWrapper* new_iter;