diff options
author | dholland <dholland@pkgsrc.org> | 2012-05-09 05:31:28 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-05-09 05:31:28 +0000 |
commit | 94cb6ce2516b1332a3ec38fa2beb4b7722db27a9 (patch) | |
tree | 19c4502ee7cf6352b1a027090cdd1c84a9b5bd7f /editors | |
parent | 7c080565497daad5ae715483cf5ae4c949f4bf13 (diff) | |
download | pkgsrc-94cb6ce2516b1332a3ec38fa2beb4b7722db27a9.tar.gz |
Avoid another symbol name conflict with clone(2).
Diffstat (limited to 'editors')
-rw-r--r-- | editors/conglomerate/patches/patch-src_cong-editor-line-iter-span-wrapper_c | 31 |
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; |