[abiword] Add patch to fix libabiword_init annotation

Peter Robinson pbrobinson at fedoraproject.org
Tue Nov 5 09:49:13 UTC 2013


commit 491567af142fd1a6c701afd93320fde76154c031
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Nov 5 09:49:18 2013 +0000

    Add patch to fix libabiword_init annotation

 abiword-3.0.0-fixintrospection.patch |   16 ++++++++++++++++
 abiword.spec                         |    7 ++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/abiword-3.0.0-fixintrospection.patch b/abiword-3.0.0-fixintrospection.patch
new file mode 100644
index 0000000..cc126d9
--- /dev/null
+++ b/abiword-3.0.0-fixintrospection.patch
@@ -0,0 +1,16 @@
+diff --git a/src/wp/main/gtk/libabiword.cpp b/src/wp/main/gtk/libabiword.cpp
+index 7567a54..c4d8e12 100644
+--- a/src/wp/main/gtk/libabiword.cpp
++++ b/src/wp/main/gtk/libabiword.cpp
+@@ -30,8 +30,8 @@ static AP_UnixApp *_abiword_app = NULL;
+ 
+ /**
+  * libabiword_init:
+- * @argc: (inout): argument count
+- * @argv: (array length=argc) (inout) (allow-none): Commandline arguments
++ * @argc: argument count
++ * @argv: (array length=argc): Commandline arguments
+  *
+  * Initializes libabiword
+  */
+
diff --git a/abiword.spec b/abiword.spec
index a3122af..7b2b13a 100644
--- a/abiword.spec
+++ b/abiword.spec
@@ -6,7 +6,7 @@
 Summary: Word processing program
 Name: abiword
 Version: %{majorversion}.%{minorversion}.%{microversion}
-Release: 3%{?dist}
+Release: 4%{?dist}
 Epoch: 1
 Group: Applications/Editors
 License: GPLv2+
@@ -20,6 +20,7 @@ Source13: abiword.xml
 Patch0: abiword-2.6.0-windowshelppaths.patch
 Patch1: abiword-2.8.3-desktop.patch
 Patch2: abiword-2.6.0-boolean.patch
+Patch3: abiword-3.0.0-fixintrospection.patch
 
 BuildRequires: aiksaurus-devel
 BuildRequires: aiksaurus-gtk-devel
@@ -101,6 +102,7 @@ Python bindings for developing with libabiword
 # patch abiword
 %patch1 -p1 -b .desktop
 %patch2 -p1 -b .boolean
+%patch3 -p1 -b .introspection
 
 # setup abiword documentation
 %setup -q -T -b 1 -n abiword-docs-%{version}
@@ -185,6 +187,9 @@ fi
 %{python_sitearch}/*
 
 %changelog
+* Mon Nov  4 2013 Peter Robinson <pbrobinson at fedoraproject.org> 1:3.0.0-4
+- Add patch to fix libabiword_init annotation
+
 * Fri Oct 25 2013 Peter Robinson <pbrobinson at fedoraproject.org> 1:3.0.0-3
 - Update icon cache on install/update/erase
 


More information about the scm-commits mailing list