[wmudmount] 1.13-4

Andreas Bierfert awjb at fedoraproject.org
Wed Dec 5 20:24:37 UTC 2012


commit 469289397f15f611cd2c1c5b382502145c862250
Author: Andreas Bierfert <andreas.bierfert at lowlatency.de>
Date:   Wed Dec 5 21:24:31 2012 +0100

    1.13-4
    
    - require udisks v1
    - add upstream header patch

 wmudmount-headers.patch |   22 ++++++++++++++++++++++
 wmudmount.spec          |   12 ++++++++++--
 2 files changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/wmudmount-headers.patch b/wmudmount-headers.patch
new file mode 100644
index 0000000..34fbfdf
--- /dev/null
+++ b/wmudmount-headers.patch
@@ -0,0 +1,22 @@
+warning: implicit declaration of function ‘free’ and 'realloc' [-Wimplicit-function-declaration]
+
+--- askpass.c
++++ askpass.c
+@@ -23,6 +23,7 @@
+ #include <sys/resources.h>
+ #endif
+ 
++#include <stdlib.h> /* free */
+ #include <glib.h>
+ 
+ #ifdef HAVE_GNOME_KEYRING
+--- secureentry.c
++++ secureentry.c
+@@ -18,6 +18,7 @@
+ #include "config.h"
+ 
+ #include <unistd.h>
++#include <stdlib.h> /* free and realloc */
+ #include <string.h>
+ #ifdef HAVE_GNOME_KEYRING
+ #include <gnome-keyring-memory.h>
diff --git a/wmudmount.spec b/wmudmount.spec
index 4bf21f6..45bb1e8 100644
--- a/wmudmount.spec
+++ b/wmudmount.spec
@@ -1,11 +1,13 @@
 Name:           wmudmount
 Version:        1.13
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A WindowMaker filesystem mounting dockapp using udisks
 
 License:        GPLv2+
 URL:            http://sourceforge.net/projects/wmudmount/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+#http://sourceforge.net/tracker/?func=detail&aid=3540867&group_id=309786&atid=1304474
+Patch0:         wmudmount-headers.patch
 
 BuildRequires:  dbus-glib-devel
 BuildRequires:  gtk2-devel
@@ -15,6 +17,7 @@ BuildRequires:  libnotify-devel
 BuildRequires:  ImageMagick
 
 Requires:       hicolor-icon-theme
+Requires:       udisks
 
 %description
 wmudmount is a filesystem mounter that uses udisks to handle notification of
@@ -24,7 +27,7 @@ percentage.
 
 %prep
 %setup -q
-
+%patch0 -p0 -b.headers
 
 %build
 %configure --disable-gtktest --with-x
@@ -58,6 +61,11 @@ fi
 
 
 %changelog
+* Wed Dec 05 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 1.13-4
+- require udisks v1
+- add upstream header patch
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.13-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list