View | Details | Raw Unified | Return to bug 220975 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +15 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	abiword
4
PORTNAME=	abiword
5
PORTVERSION=	3.0.1
5
PORTVERSION=	3.0.2
6
PORTREVISION=	11
7
CATEGORIES=	editors
6
CATEGORIES=	editors
8
MASTER_SITES=	http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/
7
MASTER_SITES=	http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/
9
DIST_SUBDIR=	AbiWord
8
DIST_SUBDIR=	AbiWord
Lines 19-30 Link Here
19
		libpng.so:graphics/png \
18
		libpng.so:graphics/png \
20
		libwv.so:textproc/wv \
19
		libwv.so:textproc/wv \
21
		libfribidi.so:converters/fribidi \
20
		libfribidi.so:converters/fribidi \
22
		libgoffice-0.10.so:devel/goffice010
21
                libgoffice-0.10.so:devel/goffice010 \
22
                libdbus-1.so:devel/dbus \
23
                libgpg-error.so:security/libgpg-error \
24
                libraptor2.so:textproc/raptor2 \
25
                librasqal.so:textproc/rasqal \
26
                libfontconfig.so:x11-fonts/fontconfig \
27
                libicalss.so:devel/libical \
28
                libfreetype.so:print/freetype2 \
29
                librdf.so:textproc/redland \
30
                libwmf.so:graphics/libwmf
31
		
23
RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf:x11-fonts/dejavu
32
RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf:x11-fonts/dejavu
24
33
25
USES=		compiler:c++11-lang desktop-file-utils gmake gnome iconv jpeg \
34
USES=		compiler:c++11-lang desktop-file-utils gmake iconv jpeg \
26
		libtool pathfix pkgconfig
35
		libtool pathfix pkgconfig
27
USE_GNOME=	libxml2 gtk30 librsvg2 libxslt
36
USE_GNOME=	cairo libxml2 gtk30 librsvg2 libxslt
37
USE_XORG+=      x11
28
GNU_CONFIGURE=	yes
38
GNU_CONFIGURE=	yes
29
CPPFLAGS+=	-I${LOCALBASE}/include
39
CPPFLAGS+=	-I${LOCALBASE}/include
30
LDFLAGS+=	-L${LOCALBASE}/lib
40
LDFLAGS+=	-L${LOCALBASE}/lib
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (AbiWord/abiword-3.0.1.tar.gz) = e094f6fbf0afc5c5538b4894888e7c346f8ee8f49c9d24821dd696d0734865c6
1
TIMESTAMP = 1518488853
2
SIZE (AbiWord/abiword-3.0.1.tar.gz) = 11144990
2
SHA256 (AbiWord/abiword-3.0.2.tar.gz) = afbfd458fd02989d8b0c6362ba8a4c14686d89666f54cfdb5501bd2090cf3522
3
SIZE (AbiWord/abiword-3.0.2.tar.gz) = 11154333
(-)files/patch-abiword.desktop (-3 / +3 lines)
Lines 1-6 Link Here
1
--- abiword.desktop.orig	2010-04-14 23:50:18.000000000 +0200
1
--- abiword.desktop.orig	2019-04-03 21:21:51 UTC
2
+++ abiword.desktop	2010-05-22 09:08:45.000000000 +0200
2
+++ abiword.desktop
3
@@ -6,7 +6,7 @@
3
@@ -6,7 +6,7 @@ Type=Application
4
 Categories=Office;WordProcessor;GNOME;GTK;X-Red-Hat-Base;
4
 Categories=Office;WordProcessor;GNOME;GTK;X-Red-Hat-Base;
5
 StartupNotify=true
5
 StartupNotify=true
6
 X-Desktop-File-Install-Version=0.9
6
 X-Desktop-File-Install-Version=0.9
(-)files/patch-c++11 (-100 lines)
Lines 1-100 Link Here
1
xap_Dialog.cpp:270:17: error: cast from pointer to smaller type 'char' loses information
2
        *pWindowName = (char) NULL;
3
                       ^~~~~~~~~~~
4
ap_UnixApp.cpp:866:29: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
5
        if(0 == strcmp (suffix, "."G_MODULE_SUFFIX))
6
                                   ^
7
ie_exp_XSL-FO.cpp:1454:13: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
8
                buf += " "x"=\""; \
9
                          ^
10
ie_exp_LaTeX.cpp:1332:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
11
#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true;
12
                                          ^
13
RealmProtocol.cpp:16:2: error: constant expression evaluates to -1 which cannot be narrowed to type 'uint32_t' (aka 'unsigned int') [-Wc++11-narrowing]
14
        RPV1_PACKET_VARIABLE, /* user joined */
15
        ^~~~~~~~~~~~~~~~~~~~
16
RealmProtocol.cpp:10:30: note: expanded from macro 'RPV1_PACKET_VARIABLE'
17
#define RPV1_PACKET_VARIABLE -1
18
                             ^~
19
RealmProtocol.cpp:16:2: note: insert an explicit cast to silence this issue
20
        RPV1_PACKET_VARIABLE, /* user joined */
21
        ^~~~~~~~~~~~~~~~~~~~
22
        static_cast<uint32_t>( )
23
RealmProtocol.cpp:10:30: note: expanded from macro 'RPV1_PACKET_VARIABLE'
24
#define RPV1_PACKET_VARIABLE -1
25
                             ^~
26
soa_soup.cpp:166:11: error: no viable conversion from returned value of type 'soa::GenericPtr' (aka 'shared_ptr<soa::Generic>') to function return type 'bool'
27
                        return soa::GenericPtr();
28
                               ^~~~~~~~~~~~~~~~~
29
30
https://github.com/AbiWord/abiword/commit/a83e6f50dbd5
31
https://github.com/AbiWord/abiword/commit/5623a94c756c
32
33
--- plugins/collab/backends/service/xp/RealmProtocol.cpp.orig	2009-05-27 05:41:59 UTC
34
+++ plugins/collab/backends/service/xp/RealmProtocol.cpp
35
@@ -6,8 +6,8 @@ namespace protocolv1 {
36
 
37
 #define MAX_PACKET_DATA_SIZE 64*1024*1024
38
 		
39
-#define RPV1_PACKET_NONEXISTENT -2
40
-#define RPV1_PACKET_VARIABLE -1
41
+#define RPV1_PACKET_NONEXISTENT uint32_t(-2)
42
+#define RPV1_PACKET_VARIABLE uint32_t(-1)
43
 	
44
 static uint32_t body_size[6] = {
45
 	RPV1_PACKET_NONEXISTENT, /* 0: reserved */
46
--- plugins/collab/backends/service/xp/soa_soup.cpp.orig	2009-09-29 13:58:11 UTC
47
+++ plugins/collab/backends/service/xp/soa_soup.cpp
48
@@ -163,7 +163,7 @@ namespace soup_soa {
49
 	
50
 	static bool _invoke(const std::string& /*url*/, const soa::method_invocation& /*mi*/, SoaSoupSession& sess, std::string& result) {
51
 		if (!sess.m_session || !sess.m_msg )
52
-			return soa::GenericPtr();
53
+			return false;
54
 
55
 		guint status = soup_session_send_message (sess.m_session, sess.m_msg);
56
 		if (!(SOUP_STATUS_IS_SUCCESSFUL (status) ||
57
--- plugins/latex/xp/ie_exp_LaTeX.cpp.orig	2013-04-07 13:53:03 UTC
58
+++ plugins/latex/xp/ie_exp_LaTeX.cpp
59
@@ -1329,7 +1329,7 @@ void s_LaTeX_Listener::_outputData(const UT_UCSChar * 
60
 	m_pie->write(sBuf.c_str(),sBuf.size());
61
 }
62
 
63
-#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true;
64
+#define SUB(a,who) case a: subst = "\\(\\" who"\\)"; return true;
65
 #define SUBd(a,who) case a: subst = who; return true;
66
 static bool _convertLettersToSymbols(char c, const char *& subst)
67
 {
68
--- plugins/xslfo/xp/ie_exp_XSL-FO.cpp.orig	2013-04-07 13:53:03 UTC
69
+++ plugins/xslfo/xp/ie_exp_XSL-FO.cpp
70
@@ -1451,7 +1451,7 @@ void s_XSL_FO_Listener::_openSection(PT_AttrPropIndex 
71
 	{ \
72
 		UT_UTF8String esc = szValue; \
73
 		esc.escapeXML(); \
74
-		buf += " "x"=\""; \
75
+		buf += " " x"=\""; \
76
 		buf += esc.utf8_str(); \
77
 		buf += "\""; \
78
 	}
79
--- src/af/xap/xp/xap_Dialog.cpp.orig	2013-04-07 13:53:03 UTC
80
+++ src/af/xap/xp/xap_Dialog.cpp
81
@@ -267,7 +267,7 @@ XAP_Dialog_Modeless::BuildWindowName(char * pWindowNam
82
 // This function constructs and returns the window name of a modeless dialog by
83
 // concatenating the active frame with the dialog name
84
 
85
-	*pWindowName = (char) NULL;
86
+	*pWindowName = '\0';
87
 	UT_UTF8String wn = UT_UTF8String(pDialogName);
88
 
89
 	XAP_Frame* pFrame = getActiveFrame();
90
--- src/wp/ap/gtk/ap_UnixApp.cpp.orig	2013-04-07 13:53:03 UTC
91
+++ src/wp/ap/gtk/ap_UnixApp.cpp
92
@@ -863,7 +863,7 @@ static bool is_so (const char *file) {
93
 	if (len < (strlen(G_MODULE_SUFFIX) + 2)) // this is ".so" and at least one char for the filename
94
 		return false;
95
 	const char *suffix = file+(len-3);
96
-	if(0 == strcmp (suffix, "."G_MODULE_SUFFIX))
97
+	if(0 == strcmp (suffix, "." G_MODULE_SUFFIX))
98
 		return true;
99
 	return false;
100
 }
(-)files/patch-configure (-5 / +599 lines)
Lines 1-18 Link Here
1
--- configure.orig	2014-12-23 06:13:20.000000000 +0100
1
--- configure.orig	2016-10-21 00:43:11 UTC
2
+++ configure	2016-01-26 21:22:33.585049000 +0100
2
+++ configure
3
@@ -23915,7 +23915,7 @@
3
@@ -10977,7 +10977,7 @@ $as_echo_n "checking whether the $compiler linker ($LD
4
   hardcode_minus_L=no
5
   hardcode_shlibpath_var=unsupported
6
   inherit_rpath=no
7
-  link_all_deplibs=unknown
8
+  link_all_deplibs=no
9
   module_cmds=
10
   module_expsym_cmds=
11
   old_archive_from_new_cmds=
12
@@ -11276,7 +11276,7 @@ _LT_EOF
13
 	wlarc=
14
       else
15
 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16
-	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17
+	archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
18
       fi
19
       ;;
4
 
20
 
21
@@ -11295,7 +11295,7 @@ _LT_EOF
22
 _LT_EOF
23
       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
24
 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25
-	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
26
+	archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
27
       else
28
 	ld_shlibs=no
29
       fi
30
@@ -11324,7 +11324,7 @@ _LT_EOF
31
 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
32
 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
33
 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
34
-	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
35
+	    archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
36
 	  else
37
 	    ld_shlibs=no
38
 	  fi
39
@@ -11342,7 +11342,7 @@ _LT_EOF
40
     *)
41
       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
42
 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
43
-	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
44
+	archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
45
       else
46
 	ld_shlibs=no
47
       fi
48
@@ -11990,7 +11990,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
49
 	hardcode_direct_absolute=yes
50
 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
51
 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
52
-	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
53
+	  archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-version-script,$lib-ver'
54
 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
55
 	  export_dynamic_flag_spec='$wl-E'
56
 	else
57
@@ -12839,7 +12839,7 @@ freebsd* | dragonfly*)
58
   version_type=freebsd-$objformat
59
   case $version_type in
60
     freebsd-elf*)
61
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
62
+      library_names_spec='$libname$release$shared_ext$versuffix  $libname$release$shared_ext$major	 $libname$shared_ext'			 soname_spec='$libname$release$shared_ext$major'
63
       soname_spec='$libname$release$shared_ext$major'
64
       need_version=no
65
       need_lib_prefix=no
66
@@ -13974,7 +13974,7 @@ striplib=
67
 old_striplib=
68
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
69
 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
70
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
71
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then
72
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
73
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
74
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
75
@@ -14226,7 +14226,7 @@ hardcode_automatic_CXX=no
76
 inherit_rpath_CXX=no
77
 module_cmds_CXX=
78
 module_expsym_cmds_CXX=
79
-link_all_deplibs_CXX=unknown
80
+link_all_deplibs_CXX=no
81
 old_archive_cmds_CXX=$old_archive_cmds
82
 reload_flag_CXX=$reload_flag
83
 reload_cmds_CXX=$reload_cmds
84
@@ -14437,7 +14437,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
85
       # archiving commands below assume that GNU ld is being used.
86
       if test yes = "$with_gnu_ld"; then
87
         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
88
-        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
89
+        archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
5
 
90
 
91
         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
92
         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
93
@@ -15129,7 +15129,7 @@ fi
94
 	    case `$CC -V 2>&1` in
95
 	      *"Version 7."*)
96
 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
97
-		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
98
+		archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
99
 		;;
100
 	      *)  # Version 8.0 or newer
101
 	        tmp_idyn=
102
@@ -15137,7 +15137,7 @@ fi
103
 		  ia64*) tmp_idyn=' -i_dynamic';;
104
 		esac
105
 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
106
-		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
107
+		archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
108
 		;;
109
 	    esac
110
 	    archive_cmds_need_lc_CXX=no
111
@@ -15169,7 +15169,7 @@ fi
112
 	      ;;
113
 	    *) # Version 6 and above use weak symbols
114
 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
115
-	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
116
+	      archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
117
 	      ;;
118
 	    esac
6
 
119
 
120
@@ -15180,7 +15180,7 @@ fi
121
 	  cxx*)
122
 	    # Compaq C++
123
 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
124
-	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
125
+	    archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-version-script $wl$lib-ver'
126
 
127
 	    runpath_var=LD_RUN_PATH
128
 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
129
@@ -15214,7 +15214,7 @@ fi
130
 	      # Sun C++ 5.9
131
 	      no_undefined_flag_CXX=' -zdefs'
132
 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
133
-	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
134
+	      archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script $wl$lib-ver'
135
 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
136
 	      whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
137
 	      compiler_needs_object_CXX=yes
138
@@ -15282,7 +15282,7 @@ fi
139
 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
140
 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
141
 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
142
-	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
143
+	    archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script,$lib-ver -o $lib'
144
 	    export_dynamic_flag_spec_CXX='$wl-E'
145
 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
146
 	  fi
147
@@ -16804,7 +16804,7 @@ freebsd* | dragonfly*)
148
   version_type=freebsd-$objformat
149
   case $version_type in
150
     freebsd-elf*)
151
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
152
+      library_names_spec='$libname$release$shared_ext$versuffix  $libname$release$shared_ext$major	 $libname$shared_ext'			 soname_spec='$libname$release$shared_ext$major'
153
       soname_spec='$libname$release$shared_ext$major'
154
       need_version=no
155
       need_lib_prefix=no
156
@@ -20435,7 +20435,7 @@ fi
157
 test "$enable_openwriter" = "auto" && PLUGINS="$PLUGINS openwriter"
158
 
159
 OPENWRITER_CFLAGS="$OPENWRITER_CFLAGS "'${PLUGIN_CFLAGS}'
160
-OPENWRITER_LIBS="$OPENWRITER_LIBS "'${PLUGIN_LIBS}'
161
+OPENWRITER_LIBS='${PLUGIN_LIBS}'" $OPENWRITER_LIBS "
162
 
163
 if test "$enable_openwriter_builtin" = "yes"; then
164
 	OPENWRITER_CFLAGS="$OPENWRITER_CFLAGS -DABI_PLUGIN_BUILTIN"
165
@@ -20584,7 +20584,7 @@ fi
166
 test "$enable_grammar" = "auto" && PLUGINS="$PLUGINS grammar"
167
 
168
 GRAMMAR_CFLAGS="$GRAMMAR_CFLAGS "'${PLUGIN_CFLAGS}'
169
-GRAMMAR_LIBS="$GRAMMAR_LIBS "'${PLUGIN_LIBS}'
170
+GRAMMAR_LIBS='${PLUGIN_LIBS}'" $GRAMMAR_LIBS "
171
 
172
 fi
173
 
174
@@ -20592,7 +20592,7 @@ fi
175
 
176
 
177
 
7
-wpg_pkgs="$gsf_req libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0"
178
-wpg_pkgs="$gsf_req libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0"
8
+wpg_pkgs="libwpg-0.3 $gsf_req"
179
+wpg_pkgs="libwpg-0.3 $gsf_req"
9
 wpg_deps="no"
180
 wpg_deps="no"
10
 
181
 
11
 if test "$enable_wpg" != ""; then
182
 if test "$enable_wpg" != ""; then
12
@@ -24341,8 +24341,8 @@
183
@@ -20717,7 +20717,7 @@ fi
184
 test "$enable_wpg" = "auto" && PLUGINS="$PLUGINS wpg"
13
 
185
 
186
 WPG_CFLAGS="$WPG_CFLAGS "'${PLUGIN_CFLAGS}'
187
-WPG_LIBS="$WPG_LIBS "'${PLUGIN_LIBS}'
188
+WPG_LIBS='${PLUGIN_LIBS}'" $WPG_LIBS "
14
 
189
 
190
 fi
15
 
191
 
192
@@ -20733,7 +20733,7 @@ if test "$enable_gimp" != ""; then
193
 test "$enable_gimp" = "auto" && PLUGINS="$PLUGINS gimp"
194
 
195
 GIMP_CFLAGS="$GIMP_CFLAGS "'${PLUGIN_CFLAGS}'
196
-GIMP_LIBS="$GIMP_LIBS "'${PLUGIN_LIBS}'
197
+GIMP_LIBS='${PLUGIN_LIBS}'" $GIMP_LIBS "
198
 
199
 if test "$enable_gimp_builtin" = "yes"; then
200
 	GIMP_CFLAGS="$GIMP_CFLAGS -DABI_PLUGIN_BUILTIN"
201
@@ -20888,7 +20888,7 @@ fi
202
 test "$enable_aiksaurus" = "auto" && PLUGINS="$PLUGINS aiksaurus"
203
 
204
 AIKSAURUS_CFLAGS="$AIKSAURUS_CFLAGS "'${PLUGIN_CFLAGS}'
205
-AIKSAURUS_LIBS="$AIKSAURUS_LIBS "'${PLUGIN_LIBS}'
206
+AIKSAURUS_LIBS='${PLUGIN_LIBS}'" $AIKSAURUS_LIBS "
207
 
208
 fi
209
 
210
@@ -21037,7 +21037,7 @@ fi
211
 test "$enable_command" = "auto" && PLUGINS="$PLUGINS command"
212
 
213
 COMMAND_CFLAGS="$COMMAND_CFLAGS "'${PLUGIN_CFLAGS}'
214
-COMMAND_LIBS="$COMMAND_LIBS "'${PLUGIN_LIBS}'
215
+COMMAND_LIBS='${PLUGIN_LIBS}'" $COMMAND_LIBS "
216
 
217
 fi
218
 
219
@@ -21197,7 +21197,7 @@ fi
220
 test "$enable_goffice" = "auto" && PLUGINS="$PLUGINS goffice"
221
 
222
 GOFFICE_CFLAGS="$GOFFICE_CFLAGS "'${PLUGIN_CFLAGS}'
223
-GOFFICE_LIBS="$GOFFICE_LIBS "'${PLUGIN_LIBS}'
224
+GOFFICE_LIBS='${PLUGIN_LIBS}'" $GOFFICE_LIBS "
225
 
226
 fi
227
 
228
@@ -21326,7 +21326,7 @@ fi
229
 test "$enable_sdw" = "auto" && PLUGINS="$PLUGINS sdw"
230
 
231
 SDW_CFLAGS="$SDW_CFLAGS "'${PLUGIN_CFLAGS}'
232
-SDW_LIBS="$SDW_LIBS "'${PLUGIN_LIBS}'
233
+SDW_LIBS='${PLUGIN_LIBS}'" $SDW_LIBS "
234
 
235
 if test "$enable_sdw_builtin" = "yes"; then
236
 	SDW_CFLAGS="$SDW_CFLAGS -DABI_PLUGIN_BUILTIN"
237
@@ -21352,7 +21352,7 @@ if test "$TOOLKIT" = "win"; then
238
 fi
239
 
240
 PAINT_CFLAGS="$PAINT_CFLAGS "'${PLUGIN_CFLAGS}'
241
-PAINT_LIBS="$PAINT_LIBS "'${PLUGIN_LIBS}'
242
+PAINT_LIBS='${PLUGIN_LIBS}'" $PAINT_LIBS "
243
 
244
 if test "$enable_paint_builtin" = "yes"; then
245
 	PAINT_CFLAGS="$PAINT_CFLAGS -DABI_PLUGIN_BUILTIN"
246
@@ -21372,7 +21372,7 @@ if test "$enable_passepartout" != ""; then
247
 test "$enable_passepartout" = "auto" && PLUGINS="$PLUGINS passepartout"
248
 
249
 PASSEPARTOUT_CFLAGS="$PASSEPARTOUT_CFLAGS "'${PLUGIN_CFLAGS}'
250
-PASSEPARTOUT_LIBS="$PASSEPARTOUT_LIBS "'${PLUGIN_LIBS}'
251
+PASSEPARTOUT_LIBS='${PLUGIN_LIBS}'" $PASSEPARTOUT_LIBS "
252
 
253
 if test "$enable_passepartout_builtin" = "yes"; then
254
 	PASSEPARTOUT_CFLAGS="$PASSEPARTOUT_CFLAGS -DABI_PLUGIN_BUILTIN"
255
@@ -21517,7 +21517,7 @@ fi
256
 test "$enable_opendocument" = "auto" && PLUGINS="$PLUGINS opendocument"
257
 
258
 OPENDOCUMENT_CFLAGS="$OPENDOCUMENT_CFLAGS "'${PLUGIN_CFLAGS}'
259
-OPENDOCUMENT_LIBS="$OPENDOCUMENT_LIBS "'${PLUGIN_LIBS} -lz'
260
+OPENDOCUMENT_LIBS='${PLUGIN_LIBS} -lz'" $OPENDOCUMENT_LIBS "
261
 
262
 if test "$enable_opendocument_builtin" = "yes"; then
263
 	OPENDOCUMENT_CFLAGS="$OPENDOCUMENT_CFLAGS -DABI_PLUGIN_BUILTIN"
264
@@ -21650,7 +21650,7 @@ fi
265
 test "$enable_wml" = "auto" && PLUGINS="$PLUGINS wml"
266
 
267
 WML_CFLAGS="$WML_CFLAGS "'${PLUGIN_CFLAGS}'
268
-WML_LIBS="$WML_LIBS "'${PLUGIN_LIBS}'
269
+WML_LIBS='${PLUGIN_LIBS}'" $WML_LIBS "
270
 
271
 if test "$enable_wml_builtin" = "yes"; then
272
 	WML_CFLAGS="$WML_CFLAGS -DABI_PLUGIN_BUILTIN"
273
@@ -21670,7 +21670,7 @@ if test "$enable_eml" != ""; then
274
 test "$enable_eml" = "auto" && PLUGINS="$PLUGINS eml"
275
 
276
 EML_CFLAGS="$EML_CFLAGS "'${PLUGIN_CFLAGS}'
277
-EML_LIBS="$EML_LIBS "'${PLUGIN_LIBS}'
278
+EML_LIBS='${PLUGIN_LIBS}'" $EML_LIBS "
279
 
280
 if test "$enable_eml_builtin" = "yes"; then
281
 	EML_CFLAGS="$EML_CFLAGS -DABI_PLUGIN_BUILTIN"
282
@@ -21904,7 +21904,7 @@ $as_echo "yes" >&6; }
283
 fi
284
 
285
 MHT_CFLAGS="$MHT_CFLAGS "'${PLUGIN_CFLAGS}'
286
-MHT_LIBS="$MHT_LIBS $MHT_OPT_LIBS "'${PLUGIN_LIBS}'
287
+MHT_LIBS='${PLUGIN_LIBS}'" $MHT_LIBS $MHT_OPT_LIBS "
288
 
289
 fi
290
 
291
@@ -22001,7 +22001,7 @@ if test "$enable_s5" != ""; then
292
 test "$enable_s5" = "auto" && PLUGINS="$PLUGINS s5"
293
 
294
 S5_CFLAGS="$S5_CFLAGS "'${PLUGIN_CFLAGS}'
295
-S5_LIBS="$S5_LIBS "'${PLUGIN_LIBS}'
296
+S5_LIBS='${PLUGIN_LIBS}'" $S5_LIBS "
297
 
298
 if test "$enable_s5_builtin" = "yes"; then
299
 	S5_CFLAGS="$S5_CFLAGS -DABI_PLUGIN_BUILTIN"
300
@@ -22021,7 +22021,7 @@ if test "$enable_babelfish" != ""; then
301
 test "$enable_babelfish" = "auto" && PLUGINS="$PLUGINS babelfish"
302
 
303
 BABELFISH_CFLAGS="$BABELFISH_CFLAGS "'${PLUGIN_CFLAGS}'
304
-BABELFISH_LIBS="$BABELFISH_LIBS "'${PLUGIN_LIBS}'
305
+BABELFISH_LIBS='${PLUGIN_LIBS}'" $BABELFISH_LIBS "
306
 
307
 if test "$enable_babelfish_builtin" = "yes"; then
308
 	BABELFISH_CFLAGS="$BABELFISH_CFLAGS -DABI_PLUGIN_BUILTIN"
309
@@ -22158,7 +22158,7 @@ $as_echo "yes" >&6; }
310
 fi
311
 
312
 OTS_CFLAGS="$OTS_CFLAGS "'${PLUGIN_CFLAGS}'
313
-OTS_LIBS="$OTS_LIBS "'${PLUGIN_LIBS}'
314
+OTS_LIBS='${PLUGIN_LIBS}'" $OTS_LIBS "
315
 
316
 fi
317
 
318
@@ -22182,7 +22182,7 @@ if test "$enable_bmp" = "yes" || \
319
 # TODO check for libpng, well abiword links to it anyways
320
 
321
 BMP_CFLAGS="$BMP_CFLAGS $PNG_CFLAGS "'${PLUGIN_CFLAGS}'
322
-BMP_LIBS="$BMP_LIBS $PNG_LIBS "'${PLUGIN_LIBS}'
323
+BMP_LIBS='${PLUGIN_LIBS}'" $BMP_LIBS $PNG_LIBS "
324
 
325
 if test "$enable_bmp_builtin" = "yes"; then
326
 	BMP_CFLAGS="$BMP_CFLAGS -DABI_PLUGIN_BUILTIN"
327
@@ -22344,7 +22344,7 @@ fi
328
 test "$enable_psion" = "auto" && PLUGINS="$PLUGINS psion"
329
 
330
 PSION_CFLAGS="$PSION_CFLAGS $PNG_CFLAGS "'${PLUGIN_CFLAGS}'
331
-PSION_LIBS="$PSION_LIBS $PNG_LIBS -lgsf-1 "'${PLUGIN_LIBS}'
332
+PSION_LIBS='${PLUGIN_LIBS}'" $PSION_LIBS $PNG_LIBS -lgsf-1 "
333
 
334
 fi
335
 
336
@@ -22492,7 +22492,7 @@ fi
337
 test "$enable_gda" = "auto" && PLUGINS="$PLUGINS gda"
338
 
339
 GDA_CFLAGS="$GDA_CFLAGS "'${PLUGIN_CFLAGS}'
340
-GDA_LIBS="$GDA_LIBS "'${PLUGIN_LIBS}'
341
+GDA_LIBS='${PLUGIN_LIBS}'" $GDA_LIBS "
342
 
343
 fi
344
 
345
@@ -22508,7 +22508,7 @@ if test "$enable_opml" != ""; then
346
 test "$enable_opml" = "auto" && PLUGINS="$PLUGINS opml"
347
 
348
 OPML_CFLAGS="$OPML_CFLAGS "'${PLUGIN_CFLAGS}'
349
-OPML_LIBS="$OPML_LIBS "'${PLUGIN_LIBS}'
350
+OPML_LIBS='${PLUGIN_LIBS}'" $OPML_LIBS "
351
 
352
 if test "$enable_opml_builtin" = "yes"; then
353
 	OPML_CFLAGS="$OPML_CFLAGS -DABI_PLUGIN_BUILTIN"
354
@@ -22677,7 +22677,7 @@ fi
355
 test "$enable_garble" = "auto" && PLUGINS="$PLUGINS garble"
356
 
357
 GARBLE_CFLAGS="$GARBLE_CFLAGS $PNG_CFLAGS "'${PLUGIN_CFLAGS}'
358
-GARBLE_LIBS="$GARBLE_LIBS $PNG_LIBS "'${PLUGIN_LIBS}'
359
+GARBLE_LIBS='${PLUGIN_LIBS}'" $GARBLE_LIBS $PNG_LIBS "
360
 
361
 if test "$enable_garble_builtin" = "yes"; then
362
 	GARBLE_CFLAGS="$GARBLE_CFLAGS -DABI_PLUGIN_BUILTIN"
363
@@ -22697,7 +22697,7 @@ if test "$enable_hrtext" != ""; then
364
 test "$enable_hrtext" = "auto" && PLUGINS="$PLUGINS hrtext"
365
 
366
 HRTEXT_CFLAGS="$HRTEXT_CFLAGS "'${PLUGIN_CFLAGS}'
367
-HRTEXT_LIBS="$HRTEXT_LIBS "'${PLUGIN_LIBS}'
368
+HRTEXT_LIBS='${PLUGIN_LIBS}'" $HRTEXT_LIBS "
369
 
370
 if test "$enable_hrtext_builtin" = "yes"; then
371
 	HRTEXT_CFLAGS="$HRTEXT_CFLAGS -DABI_PLUGIN_BUILTIN"
372
@@ -22717,7 +22717,7 @@ if test "$enable_presentation" != ""; then
373
 test "$enable_presentation" = "auto" && PLUGINS="$PLUGINS presentation"
374
 
375
 PRESENTATION_CFLAGS="$PRESENTATION_CFLAGS "'${PLUGIN_CFLAGS}'
376
-PRESENTATION_LIBS="$PRESENTATION_LIBS "'${PLUGIN_LIBS}'
377
+PRESENTATION_LIBS='${PLUGIN_LIBS}'" $PRESENTATION_LIBS "
378
 
379
 if test "$enable_presentation_builtin" = "yes"; then
380
 	PRESENTATION_CFLAGS="$PRESENTATION_CFLAGS -DABI_PLUGIN_BUILTIN"
381
@@ -22737,7 +22737,7 @@ if test "$enable_freetranslation" != ""; then
382
 test "$enable_freetranslation" = "auto" && PLUGINS="$PLUGINS freetranslation"
383
 
384
 FREETRANSLATION_CFLAGS="$FREETRANSLATION_CFLAGS "'${PLUGIN_CFLAGS}'
385
-FREETRANSLATION_LIBS="$FREETRANSLATION_LIBS "'${PLUGIN_LIBS}'
386
+FREETRANSLATION_LIBS='${PLUGIN_LIBS}'" $FREETRANSLATION_LIBS "
387
 
388
 if test "$enable_freetranslation_builtin" = "yes"; then
389
 	FREETRANSLATION_CFLAGS="$FREETRANSLATION_CFLAGS -DABI_PLUGIN_BUILTIN"
390
@@ -22870,7 +22870,7 @@ fi
391
 test "$enable_xslfo" = "auto" && PLUGINS="$PLUGINS xslfo"
392
 
393
 XSLFO_CFLAGS="$XSLFO_CFLAGS "'${PLUGIN_CFLAGS}'
394
-XSLFO_LIBS="$XSLFO_LIBS "'${PLUGIN_LIBS}'
395
+XSLFO_LIBS='${PLUGIN_LIBS}'" $XSLFO_LIBS "
396
 
397
 if test "$enable_xslfo_builtin" = "yes"; then
398
 	XSLFO_CFLAGS="$XSLFO_CFLAGS -DABI_PLUGIN_BUILTIN"
399
@@ -22882,8 +22882,8 @@ fi
400
 
401
 
402
 
16
-wordperfect_pkgs="libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0 $gsf_req"
403
-wordperfect_pkgs="libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0 $gsf_req"
17
-wordperfect_wps_pkgs='libwps-0.2 >= 0.1.0'
404
-wordperfect_wps_pkgs='libwps-0.2 >= 0.1.0'
18
+wordperfect_pkgs="libwpd-0.10 $gsf_req"
405
+wordperfect_pkgs="libwpd-0.10 $gsf_req"
Lines 20-26 Link Here
20
 wordperfect_deps="no"
407
 wordperfect_deps="no"
21
 
408
 
22
 WORDPERFECT_CFLAGS=
409
 WORDPERFECT_CFLAGS=
23
@@ -24385,7 +24385,7 @@
410
@@ -22926,7 +22926,7 @@ if test -n "$PKG_CONFIG" && \
24
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
411
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25
   test $ac_status = 0; }; then
412
   test $ac_status = 0; }; then
26
 
413
 
Lines 29-31 Link Here
29
 	WPS_DEFINE=" -DHAVE_LIBWPS"
416
 	WPS_DEFINE=" -DHAVE_LIBWPS"
30
 
417
 
31
 fi
418
 fi
419
@@ -23026,7 +23026,7 @@ fi
420
 test "$enable_wordperfect" = "auto" && PLUGINS="$PLUGINS wordperfect"
421
 
422
 WORDPERFECT_CFLAGS="$WORDPERFECT_CFLAGS "'${PLUGIN_CFLAGS}'"$WPS_DEFINE"
423
-WORDPERFECT_LIBS="$WORDPERFECT_LIBS "'${PLUGIN_LIBS}'
424
+WORDPERFECT_LIBS='${PLUGIN_LIBS}'" $WORDPERFECT_LIBS "
425
 
426
 fi
427
 
428
@@ -23155,7 +23155,7 @@ fi
429
 test "$enable_applix" = "auto" && PLUGINS="$PLUGINS applix"
430
 
431
 APPLIX_CFLAGS="$APPLIX_CFLAGS "'${PLUGIN_CFLAGS}'
432
-APPLIX_LIBS="$APPLIX_LIBS "'${PLUGIN_LIBS}'
433
+APPLIX_LIBS='${PLUGIN_LIBS}'" $APPLIX_LIBS "
434
 
435
 if test "$enable_applix_builtin" = "yes"; then
436
 	APPLIX_CFLAGS="$APPLIX_CFLAGS -DABI_PLUGIN_BUILTIN"
437
@@ -23288,7 +23288,7 @@ fi
438
 test "$enable_loadbindings" = "auto" && PLUGINS="$PLUGINS loadbindings"
439
 
440
 LOADBINDINGS_CFLAGS="$LOADBINDINGS_CFLAGS "'${PLUGIN_CFLAGS}'
441
-LOADBINDINGS_LIBS="$LOADBINDINGS_LIBS "'${PLUGIN_LIBS}'
442
+LOADBINDINGS_LIBS='${PLUGIN_LIBS}'" $LOADBINDINGS_LIBS "
443
 
444
 if test "$enable_loadbindings_builtin" = "yes"; then
445
 	LOADBINDINGS_CFLAGS="$LOADBINDINGS_CFLAGS -DABI_PLUGIN_BUILTIN"
446
@@ -23457,7 +23457,7 @@ fi
447
 test "$enable_docbook" = "auto" && PLUGINS="$PLUGINS docbook"
448
 
449
 DOCBOOK_CFLAGS="$DOCBOOK_CFLAGS "'${PLUGIN_CFLAGS}'
450
-DOCBOOK_LIBS="$DOCBOOK_LIBS "'${PLUGIN_LIBS}'
451
+DOCBOOK_LIBS='${PLUGIN_LIBS}'" $DOCBOOK_LIBS "
452
 
453
 if test "$enable_docbook_builtin" = "yes"; then
454
 	DOCBOOK_CFLAGS="$DOCBOOK_CFLAGS -DABI_PLUGIN_BUILTIN"
455
@@ -23477,7 +23477,7 @@ if test "$enable_mif" != ""; then
456
 test "$enable_mif" = "auto" && PLUGINS="$PLUGINS mif"
457
 
458
 MIF_CFLAGS="$MIF_CFLAGS "'${PLUGIN_CFLAGS}'
459
-MIF_LIBS="$MIF_LIBS "'${PLUGIN_LIBS}'
460
+MIF_LIBS='${PLUGIN_LIBS}'" $MIF_LIBS "
461
 
462
 if test "$enable_mif_builtin" = "yes"; then
463
 	MIF_CFLAGS="$MIF_CFLAGS -DABI_PLUGIN_BUILTIN"
464
@@ -23613,7 +23613,7 @@ fi
465
 test "$enable_pdf" = "auto" && PLUGINS="$PLUGINS pdf"
466
 
467
 PDF_CFLAGS="$PDF_CFLAGS "'${PLUGIN_CFLAGS}'
468
-PDF_LIBS="$PDF_LIBS "'${PLUGIN_LIBS}'
469
+PDF_LIBS='${PLUGIN_LIBS}'" $PDF_LIBS "
470
 
471
 if test "$enable_pdf_builtin" = "yes"; then
472
 	PDF_CFLAGS="$PDF_CFLAGS -DABI_PLUGIN_BUILTIN"
473
@@ -23633,7 +23633,7 @@ if test "$enable_google" != ""; then
474
 test "$enable_google" = "auto" && PLUGINS="$PLUGINS google"
475
 
476
 GOOGLE_CFLAGS="$GOOGLE_CFLAGS "'${PLUGIN_CFLAGS}'
477
-GOOGLE_LIBS="$GOOGLE_LIBS "'${PLUGIN_LIBS}'
478
+GOOGLE_LIBS='${PLUGIN_LIBS}'" $GOOGLE_LIBS "
479
 
480
 if test "$enable_google_builtin" = "yes"; then
481
 	GOOGLE_CFLAGS="$GOOGLE_CFLAGS -DABI_PLUGIN_BUILTIN"
482
@@ -23766,7 +23766,7 @@ fi
483
 test "$enable_clarisworks" = "auto" && PLUGINS="$PLUGINS clarisworks"
484
 
485
 CLARISWORKS_CFLAGS="$CLARISWORKS_CFLAGS "'${PLUGIN_CFLAGS}'
486
-CLARISWORKS_LIBS="$CLARISWORKS_LIBS "'${PLUGIN_LIBS}'
487
+CLARISWORKS_LIBS='${PLUGIN_LIBS}'" $CLARISWORKS_LIBS "
488
 
489
 if test "$enable_clarisworks_builtin" = "yes"; then
490
 	CLARISWORKS_CFLAGS="$CLARISWORKS_CFLAGS -DABI_PLUGIN_BUILTIN"
491
@@ -24002,7 +24002,7 @@ fi
492
 fi
493
 
494
 LATEX_CFLAGS="$LATEX_CFLAGS "'${PLUGIN_CFLAGS}'
495
-LATEX_LIBS="$LATEX_LIBS "'${PLUGIN_LIBS}'
496
+LATEX_LIBS='${PLUGIN_LIBS}'" $LATEX_LIBS "
497
 
498
 if test "$enable_latex_builtin" = "yes"; then
499
 	LATEX_CFLAGS="$LATEX_CFLAGS -DABI_PLUGIN_BUILTIN"
500
@@ -24135,7 +24135,7 @@ fi
501
 test "$enable_t602" = "auto" && PLUGINS="$PLUGINS t602"
502
 
503
 T602_CFLAGS="$T602_CFLAGS "'${PLUGIN_CFLAGS}'
504
-T602_LIBS="$T602_LIBS "'${PLUGIN_LIBS}'
505
+T602_LIBS='${PLUGIN_LIBS}'" $T602_LIBS "
506
 
507
 if test "$enable_t602_builtin" = "yes"; then
508
 	T602_CFLAGS="$T602_CFLAGS -DABI_PLUGIN_BUILTIN"
509
@@ -24602,7 +24602,7 @@ fi
510
 test "$enable_collab" = "auto" && PLUGINS="$PLUGINS collab"
511
 
512
 COLLAB_CFLAGS="$COLLAB_CFLAGS "'${PLUGIN_CFLAGS}'
513
-COLLAB_LIBS="$COLLAB_LIBS "'${PLUGIN_LIBS}'
514
+COLLAB_LIBS='${PLUGIN_LIBS}'" $COLLAB_LIBS "
515
 
516
 fi # plugin conditional
517
 
518
@@ -24797,7 +24797,7 @@ fi
519
 test "$enable_mswrite" = "auto" && PLUGINS="$PLUGINS mswrite"
520
 
521
 MSWRITE_CFLAGS="$MSWRITE_CFLAGS "'${PLUGIN_CFLAGS}'
522
-MSWRITE_LIBS="$MSWRITE_LIBS "'${PLUGIN_LIBS}'
523
+MSWRITE_LIBS='${PLUGIN_LIBS}'" $MSWRITE_LIBS "
524
 
525
 if test "$enable_mswrite_builtin" = "yes"; then
526
 	MSWRITE_CFLAGS="$MSWRITE_CFLAGS -DABI_PLUGIN_BUILTIN"
527
@@ -24817,7 +24817,7 @@ if test "$enable_iscii" != ""; then
528
 test "$enable_iscii" = "auto" && PLUGINS="$PLUGINS iscii"
529
 
530
 ISCII_CFLAGS="$ISCII_CFLAGS "'${PLUGIN_CFLAGS}'
531
-ISCII_LIBS="$ISCII_LIBS "'${PLUGIN_LIBS}'
532
+ISCII_LIBS='${PLUGIN_LIBS}'" $ISCII_LIBS "
533
 
534
 if test "$enable_iscii_builtin" = "yes"; then
535
 	ISCII_CFLAGS="$ISCII_CFLAGS -DABI_PLUGIN_BUILTIN"
536
@@ -24953,7 +24953,7 @@ fi
537
 test "$enable_openxml" = "auto" && PLUGINS="$PLUGINS openxml"
538
 
539
 OPENXML_CFLAGS="$OPENXML_CFLAGS "'${PLUGIN_CFLAGS}'
540
-OPENXML_LIBS="$OPENXML_LIBS "'${PLUGIN_LIBS}'
541
+OPENXML_LIBS='${PLUGIN_LIBS}'" $OPENXML_LIBS "
542
 
543
 if test "$enable_openxml_builtin" = "yes"; then
544
 	OPENXML_CFLAGS="$OPENXML_CFLAGS -DABI_PLUGIN_BUILTIN"
545
@@ -24973,7 +24973,7 @@ if test "$enable_wikipedia" != ""; then
546
 test "$enable_wikipedia" = "auto" && PLUGINS="$PLUGINS wikipedia"
547
 
548
 WIKIPEDIA_CFLAGS="$WIKIPEDIA_CFLAGS "'${PLUGIN_CFLAGS}'
549
-WIKIPEDIA_LIBS="$WIKIPEDIA_LIBS "'${PLUGIN_LIBS}'
550
+WIKIPEDIA_LIBS='${PLUGIN_LIBS}'" $WIKIPEDIA_LIBS "
551
 
552
 if test "$enable_wikipedia_builtin" = "yes"; then
553
 	WIKIPEDIA_CFLAGS="$WIKIPEDIA_CFLAGS -DABI_PLUGIN_BUILTIN"
554
@@ -25106,7 +25106,7 @@ fi
555
 test "$enable_pdb" = "auto" && PLUGINS="$PLUGINS pdb"
556
 
557
 PDB_CFLAGS="$PDB_CFLAGS "'${PLUGIN_CFLAGS}'
558
-PDB_LIBS="$PDB_LIBS "'${PLUGIN_LIBS}'
559
+PDB_LIBS='${PLUGIN_LIBS}'" $PDB_LIBS "
560
 
561
 if test "$enable_pdb_builtin" = "yes"; then
562
 	PDB_CFLAGS="$PDB_CFLAGS -DABI_PLUGIN_BUILTIN"
563
@@ -25284,7 +25284,7 @@ fi
564
 test "$enable_mathview" = "auto" && PLUGINS="$PLUGINS mathview"
565
 
566
 MATHVIEW_CFLAGS="$MATHVIEW_CFLAGS $HASHMAP_CFLAGS "'${PLUGIN_CFLAGS}'
567
-MATHVIEW_LIBS="$MATHVIEW_LIBS "'${PLUGIN_LIBS}'
568
+MATHVIEW_LIBS='${PLUGIN_LIBS}'" $MATHVIEW_LIBS "
569
 
570
 fi
571
 
572
@@ -25509,7 +25509,7 @@ if test "$enable_urldict" != ""; then
573
 test "$enable_urldict" = "auto" && PLUGINS="$PLUGINS urldict"
574
 
575
 URLDICT_CFLAGS="$URLDICT_CFLAGS "'${PLUGIN_CFLAGS}'
576
-URLDICT_LIBS="$URLDICT_LIBS "'${PLUGIN_LIBS}'
577
+URLDICT_LIBS='${PLUGIN_LIBS}'" $URLDICT_LIBS "
578
 
579
 if test "$enable_urldict_builtin" = "yes"; then
580
 	URLDICT_CFLAGS="$URLDICT_CFLAGS -DABI_PLUGIN_BUILTIN"
581
@@ -25669,7 +25669,7 @@ fi
582
 test "$enable_wmf" = "auto" && PLUGINS="$PLUGINS wmf"
583
 
584
 WMF_CFLAGS="$WMF_CFLAGS "'${PLUGIN_CFLAGS}'
585
-WMF_LIBS="$WMF_LIBS "'${PLUGIN_LIBS}'
586
+WMF_LIBS='${PLUGIN_LIBS}'" $WMF_LIBS "
587
 
588
 fi
589
 
590
@@ -25798,7 +25798,7 @@ fi
591
 test "$enable_hancom" = "auto" && PLUGINS="$PLUGINS hancom"
592
 
593
 HANCOM_CFLAGS="$HANCOM_CFLAGS "'${PLUGIN_CFLAGS}'
594
-HANCOM_LIBS="$HANCOM_LIBS "'${PLUGIN_LIBS}'
595
+HANCOM_LIBS='${PLUGIN_LIBS}'" $HANCOM_LIBS "
596
 
597
 if test "$enable_hancom_builtin" = "yes"; then
598
 	HANCOM_CFLAGS="$HANCOM_CFLAGS -DABI_PLUGIN_BUILTIN"
599
@@ -25931,7 +25931,7 @@ fi
600
 test "$enable_epub" = "auto" && PLUGINS="$PLUGINS epub"
601
 
602
 EPUB_CFLAGS="$EPUB_CFLAGS "'${PLUGIN_CFLAGS}'
603
-EPUB_LIBS="$EPUB_LIBS "'${PLUGIN_LIBS}'
604
+EPUB_LIBS='${PLUGIN_LIBS}'" $EPUB_LIBS "
605
 
606
 if test "$enable_epub_builtin" = "yes"; then
607
 	EPUB_CFLAGS="$EPUB_CFLAGS -DABI_PLUGIN_BUILTIN"
608
@@ -26064,7 +26064,7 @@ fi
609
 test "$enable_kword" = "auto" && PLUGINS="$PLUGINS kword"
610
 
611
 KWORD_CFLAGS="$KWORD_CFLAGS "'${PLUGIN_CFLAGS}'
612
-KWORD_LIBS="$KWORD_LIBS "'${PLUGIN_LIBS}'
613
+KWORD_LIBS='${PLUGIN_LIBS}'" $KWORD_LIBS "
614
 
615
 if test "$enable_kword_builtin" != ""; then
616
 	KWORD_CFLAGS="$KWORD_CFLAGS -DABI_PLUGIN_BUILTIN"
617
@@ -26210,7 +26210,7 @@ fi
618
 test "$enable_rsvg" = "auto" && PLUGINS="$PLUGINS rsvg"
619
 
620
 RSVG_CFLAGS="$RSVG_CFLAGS "'${PLUGIN_CFLAGS}'
621
-RSVG_LIBS="$RSVG_LIBS "'${PLUGIN_LIBS}'
622
+RSVG_LIBS='${PLUGIN_LIBS}'" $RSVG_LIBS "
623
 
624
 fi
625
 
(-)files/patch-flickering (+138 lines)
Line 0 Link Here
1
--- src/af/gr/gtk/gr_UnixCairoGraphics.cpp.orig	2019-04-03 20:11:12 UTC
2
+++ src/af/gr/gtk/gr_UnixCairoGraphics.cpp
3
@@ -577,9 +577,7 @@ void GR_UnixCairoGraphics::_endPaint()
4
 
5
 void GR_UnixCairoGraphics::flush(void)
6
 {
7
-	if (m_Widget) {
8
-		gtk_widget_queue_draw(m_Widget);
9
-	}
10
+	gdk_flush();
11
 }
12
 
13
 bool GR_UnixCairoGraphics::queryProperties(GR_Graphics::Properties gp) const
14
--- src/af/gr/xp/gr_Caret.cpp.orig	2019-04-03 18:13:38 UTC
15
+++ src/af/gr/xp/gr_Caret.cpp
16
@@ -146,8 +146,10 @@ void GR_Caret::s_work(UT_Worker * _w)
17
 {
18
 	GR_Caret * c = static_cast<GR_Caret *>(_w->getInstanceData());
19
 
20
-	if (c->m_nDisableCount == 0)
21
-		c->_blink(false);
22
+	c->m_enabler->stop();
23
+        c->m_worker->stop();
24
+	c->m_worker->start();
25
+	c->_blink(true);
26
 }
27
 
28
 /** One-time enabler. */
29
@@ -155,22 +157,17 @@ void GR_Caret::s_enable(UT_Worker * _w)
30
 {
31
 	GR_Caret * c = static_cast<GR_Caret *>(_w->getInstanceData());
32
 
33
+	c->m_enabler->stop();
34
 	c->m_worker->stop();
35
-	c->_blink(true);
36
-	if (!c->m_bCursorIsOn)
37
-		c->_blink(true); // blink again
38
-	else
39
-	{
40
-		c->_blink(true); // ?? - MARCM
41
-		c->_blink(true);
42
-	}
43
 	c->m_worker->start();
44
-	c->m_enabler->stop();
45
+	c->_blink(true);
46
 }
47
 
48
 void GR_Caret::s_blink_timeout(UT_Worker * _w)
49
 {
50
 	GR_Caret * c = static_cast<GR_Caret *>(_w->getInstanceData());
51
+
52
+	c->m_blinkTimeout->stop();
53
 	if (c->isEnabled())
54
 		c->disable();
55
 }
56
--- src/af/util/xp/ut_iconv.cpp.orig	2019-04-03 18:13:38 UTC
57
+++ src/af/util/xp/ut_iconv.cpp
58
@@ -264,10 +264,10 @@ const char * ucs4Internal ()
59
   // we special-case the win32 build, otherwise spelling and other stuff
60
   // just doesn't work
61
   return "UCS-4LE";
62
-#elif defined(_LIBICONV_H)
63
+#elif defined(_LIBICONV_H) || defined(__FreeBSD__)
64
   // libiconv seems to prefer UCS-4-INTERNAL to UCS-4BE and UCS-4LE
65
   return "UCS-4-INTERNAL";
66
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
67
+#elif defined(__OpenBSD__) || defined(__NetBSD__)
68
   // we special case the BSDs since spelling just doesn't work
69
   return "UCS4";
70
 #else
71
--- src/af/xap/gtk/xap_UnixFrameImpl.cpp.orig	2019-04-03 18:13:38 UTC
72
+++ src/af/xap/gtk/xap_UnixFrameImpl.cpp
73
@@ -1208,15 +1208,23 @@ gint XAP_UnixFrameImpl::_fe::delete_event(GtkWidget * 
74
 }
75
 
76
 #if GTK_CHECK_VERSION(3,0,0)
77
-gint XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
78
+gboolean XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
79
 #else
80
 gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
81
 #endif
82
 {
83
 	XAP_UnixFrameImpl * pUnixFrameImpl = static_cast<XAP_UnixFrameImpl *>(g_object_get_data(G_OBJECT(w), "user_data"));
84
 	FV_View * pView = static_cast<FV_View *>(pUnixFrameImpl->getFrame()->getCurrentView());
85
+	double x, y, width, height;
86
 #if GTK_CHECK_VERSION(3,0,0)
87
-	GdkEventExpose *pExposeEvent = reinterpret_cast<GdkEventExpose *>(gtk_get_current_event());
88
+	cairo_clip_extents (cr, &x, &y, &width, &height);
89
+	width -= x;
90
+	height -= y;
91
+#else
92
+	x = pExposeEvent->area.x;
93
+	y = pExposeEvent->area.y;
94
+	width = pExposeEvent->area.width;
95
+	height = pExposeEvent->area.height;
96
 #endif
97
 /* Jean: commenting out next lines since the zoom update code does draw only
98
  * part of what needs to be updated. */
99
@@ -1230,20 +1238,21 @@ gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, Gdk
100
 		UT_Rect rClip;
101
 		if (pGr->getPaintCount () > 0)
102
 			return TRUE;
103
-		xxx_UT_DEBUGMSG(("Expose area: x %d y %d width %d  height %d \n",pExposeEvent->area.x,pExposeEvent->area.y,pExposeEvent->area.width,pExposeEvent->area.height));
104
-		rClip.left = pGr->tlu(pExposeEvent->area.x);
105
-		rClip.top = pGr->tlu(pExposeEvent->area.y);
106
-		rClip.width = pGr->tlu(pExposeEvent->area.width)+1;
107
-		rClip.height = pGr->tlu(pExposeEvent->area.height)+1;
108
-#if GTK_CHECK_VERSION(3,0,0)
109
+		rClip.left = pGr->tlu(x);
110
+                rClip.top = pGr->tlu(y);
111
+ #if GTK_CHECK_VERSION(3,0,0)
112
+		rClip.width = pGr->tlu(width);
113
+		rClip.height = pGr->tlu(height);
114
 		static_cast<GR_CairoGraphics *>(pGr)->setCairo(cr);
115
 		pView->draw(&rClip);
116
 		static_cast<GR_CairoGraphics *>(pGr)->setCairo(NULL);
117
 #else
118
+		rClip.width = pGr->tlu(width)+1;
119
+		rClip.height = pGr->tlu(height)+1;
120
 		pView->draw(&rClip);
121
 #endif
122
 	}
123
-	return FALSE;
124
+	return TRUE;
125
 }
126
 
127
 static bool bScrollWait = false;
128
--- src/af/xap/gtk/xap_UnixFrameImpl.h.orig	2019-04-03 18:13:38 UTC
129
+++ src/af/xap/gtk/xap_UnixFrameImpl.h
130
@@ -152,7 +152,7 @@ class XAP_UnixFrameImpl : public XAP_FrameImpl (protec
131
 			static gint key_release_event(GtkWidget* w, GdkEventKey* e);
132
 			static gint delete_event(GtkWidget * w, GdkEvent * /*event*/, gpointer /*data*/);
133
 #if GTK_CHECK_VERSION(3,0,0)
134
-			static gint draw(GtkWidget * w, cairo_t * cr);
135
+			static gboolean draw(GtkWidget * w, cairo_t * cr);
136
 #else
137
 			static gint expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
138
 #endif
(-)files/patch-plugins_collab_backends_service_xp_tls_tunnel.cpp (-24 lines)
Lines 1-24 Link Here
1
--- plugins/collab/backends/service/xp/tls_tunnel.cpp.orig	2014-11-04 01:12:14 UTC
2
+++ plugins/collab/backends/service/xp/tls_tunnel.cpp
3
@@ -306,8 +306,6 @@ void Proxy::tunnel_(transport_ptr_t tran
4
 	disconnect_(transport_ptr, session_ptr, local_socket_ptr, remote_socket_ptr);		
5
 }
6
 
7
-static const int PRIORITIES[] = { GNUTLS_KX_ANON_DH, GNUTLS_KX_RSA, GNUTLS_KX_DHE_DSS, GNUTLS_KX_DHE_RSA, 0 };
8
-static const int CIPHERS[] = { GNUTLS_CIPHER_AES_256_CBC, GNUTLS_CIPHER_AES_128_CBC, GNUTLS_CIPHER_3DES_CBC, GNUTLS_CIPHER_ARCFOUR_128, 0 };
9
 
10
 // FIXME: this clientproxy can only handle 1 SSL connection at the same time
11
 ClientProxy::ClientProxy(const std::string& connect_address, unsigned short connect_port, 
12
@@ -399,9 +397,9 @@ session_ptr_t ClientProxy::setup_tls_ses
13
 
14
 	// setup session
15
 	return_val_if_neg(gnutls_init(session_ptr.get(), GNUTLS_CLIENT), session_ptr_t());
16
-	return_val_if_neg(gnutls_set_default_priority(*session_ptr), session_ptr_t());
17
-	return_val_if_neg(gnutls_kx_set_priority(*session_ptr,PRIORITIES), session_ptr_t());
18
-	return_val_if_neg(gnutls_cipher_set_priority(*session_ptr,CIPHERS), session_ptr_t());
19
+	return_val_if_neg(gnutls_priority_set_direct(*session_ptr,"NORMAL"
20
+		":-CIPHER-ALL:+AES-256-CBC:+AES-128-CBC:+3DES-CBC:+ARCFOUR-128"
21
+		":-KX-ALL:+ANON-DH:+RSA:+DHE-DSS:+DHE-RSA",NULL), session_ptr_t());
22
 	return_val_if_neg(gnutls_credentials_set(*session_ptr, GNUTLS_CRD_CERTIFICATE, x509cred), session_ptr_t());
23
 
24
 	// setup transport
(-)files/patch-plugins_collab_backends_sipsimple_xp_SIPSimpleBuddy.h (-15 lines)
Lines 1-15 Link Here
1
--- plugins/collab/backends/sipsimple/xp/SIPSimpleBuddy.h.orig	2015-04-04 04:57:15 UTC
2
+++ plugins/collab/backends/sipsimple/xp/SIPSimpleBuddy.h
3
@@ -52,10 +52,10 @@ public:
4
 
5
 	virtual const DocTreeItem* getDocTreeItems() const
6
 	{
7
-		const vector<DocHandle*>& docHandles = getDocHandles();
8
+		const std::vector<DocHandle*>& docHandles = getDocHandles();
9
 		DocTreeItem* first = 0;
10
 		DocTreeItem* prev = 0;
11
-		for (vector<DocHandle*>::const_iterator pos = docHandles.begin(); pos != docHandles.end(); pos++)
12
+		for (std::vector<DocHandle*>::const_iterator pos = docHandles.begin(); pos != docHandles.end(); pos++)
13
 		{
14
 			DocTreeItem* item = new DocTreeItem();
15
 			item->m_type = DOCTREEITEM_TYPE_DOCUMENT;
(-)files/patch-src_af_util_xp_ut_iconv.cpp (-15 lines)
Lines 1-15 Link Here
1
--- src/af/util/xp/ut_iconv.cpp.orig	2009-06-25 02:52:27.000000000 +0200
2
+++ src/af/util/xp/ut_iconv.cpp	2009-10-27 22:43:07.000000000 +0100
3
@@ -264,10 +264,10 @@ const char * ucs4Internal ()
4
   // we special-case the win32 build, otherwise spelling and other stuff
5
   // just doesn't work
6
   return "UCS-4LE";
7
-#elif defined(_LIBICONV_H)
8
+#elif defined(_LIBICONV_H) || defined(__FreeBSD__)
9
   // libiconv seems to prefer UCS-4-INTERNAL to UCS-4BE and UCS-4LE
10
   return "UCS-4-INTERNAL";
11
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
12
+#elif defined(__OpenBSD__) || defined(__NetBSD__)
13
   // we special case the BSDs since spelling just doesn't work
14
   return "UCS4";
15
 #else
(-)files/patch-src_af_xap_xp_xap__Dialog.cpp (+11 lines)
Line 0 Link Here
1
--- src/af/xap/xp/xap_Dialog.cpp.orig	2019-04-03 22:06:58 UTC
2
+++ src/af/xap/xp/xap_Dialog.cpp
3
@@ -267,7 +267,7 @@ XAP_Dialog_Modeless::BuildWindowName(char * pWindowNam
4
 // This function constructs and returns the window name of a modeless dialog by
5
 // concatenating the active frame with the dialog name
6
 
7
-	*pWindowName = (char) NULL;
8
+	*pWindowName = (char)(size_t) NULL;
9
 	UT_UTF8String wn = UT_UTF8String(pDialogName);
10
 
11
 	XAP_Frame* pFrame = getActiveFrame();
(-)files/patch-src_text_ptbl_xp_pd__DocumentRDF.cpp (-24 / +12 lines)
Lines 1-26 Link Here
1
--- src/text/ptbl/xp/pd_DocumentRDF.cpp.orig	2015-03-31 15:14:42 UTC
1
--- src/text/ptbl/xp/pd_DocumentRDF.cpp.orig	2019-04-03 21:34:11 UTC
2
+++ src/text/ptbl/xp/pd_DocumentRDF.cpp
2
+++ src/text/ptbl/xp/pd_DocumentRDF.cpp
3
@@ -570,6 +570,11 @@ bool PD_URI::operator==(const std::strin
3
@@ -2269,9 +2269,8 @@ PD_RDFEvent::exportToFile( const std::string& filename
4
     return m_value == b;
4
         icalcomponent_set_uid( c,         m_uid.c_str() );
5
 }
5
         icalcomponent_set_location( c,    m_location.c_str() );
6
 
6
         icalcomponent_set_description( c, m_desc.c_str() );
7
+bool PD_URI::operator<(const PD_URI& b) const
7
-        icalcomponent_set_dtstart( c,     icaltime_from_timet( m_dtstart, 0 ) );
8
+{
8
-        icalcomponent_set_dtend( c,       icaltime_from_timet( m_dtend, 0 ) );
9
+    return m_value < b.m_value;
10
+}
11
+
12
 PD_URI
13
 PD_URI::prefixedToURI( PD_RDFModelHandle model ) const
14
 {
15
@@ -611,11 +616,6 @@ bool PD_URI::write( std::ostream& ss ) c
16
     return true;
17
 }
18
 
19
-bool operator<( PD_URI a, PD_URI b)
20
-{
21
-    return a.toString() < b.toString();
22
-}
23
-
9
-
24
 bool operator<( std::pair< PD_URI, PD_URI > a, PD_URI b)
10
+	icalcomponent_set_dtstart( c,     icaltime_from_timet_with_zone( m_dtstart, 0, 0) );
25
 {
11
+	icalcomponent_set_dtend( c,       icaltime_from_timet_with_zone( m_dtend, 0, 0  ) );
26
     return a.first.toString() < b.toString();
12
         char* data = icalcomponent_as_ical_string( c );
13
         std::ofstream oss( filename.c_str() );
14
         oss.write( data, strlen(data) );
(-)files/patch-src_text_ptbl_xp_pd__DocumentRDF.h (-10 lines)
Lines 1-10 Link Here
1
--- src/text/ptbl/xp/pd_DocumentRDF.h.orig	2015-03-31 15:15:00 UTC
2
+++ src/text/ptbl/xp/pd_DocumentRDF.h
3
@@ -68,6 +68,7 @@ class ABI_EXPORT PD_URI
4
     bool isValid() const;
5
     bool operator==(const PD_URI& b) const;
6
     bool operator==(const std::string& b) const;
7
+    bool operator<(const PD_URI& b) const;
8
 
9
     virtual bool read( std::istream& ss );
10
     virtual bool write( std::ostream& ss ) const;
(-)files/patch-src_wp_ap_gtk_ap__UnixApp.cpp (+11 lines)
Line 0 Link Here
1
--- src/wp/ap/gtk/ap_UnixApp.cpp.orig	2019-04-03 22:28:26 UTC
2
+++ src/wp/ap/gtk/ap_UnixApp.cpp
3
@@ -863,7 +863,7 @@ static bool is_so (const char *file) {
4
 	if (len < (strlen(G_MODULE_SUFFIX) + 2)) // this is ".so" and at least one char for the filename
5
 		return false;
6
 	const char *suffix = file+(len-3);
7
-	if(0 == strcmp (suffix, "."G_MODULE_SUFFIX))
8
+	if(0 == strcmp (suffix, "." G_MODULE_SUFFIX))
9
 		return true;
10
 	return false;
11
 }

Return to bug 220975