mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
net-fs/wdfs: fix build with gcc 15
Closes: https://bugs.gentoo.org/943933 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/41706 Closes: https://github.com/gentoo/gentoo/pull/41706 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
bc3256db58
commit
b4bb0742c7
40
net-fs/wdfs/files/wdfs-1.4.2-gcc15.patch
Normal file
40
net-fs/wdfs/files/wdfs-1.4.2-gcc15.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
https://bugs.gentoo.org/943933
|
||||
|
||||
--- a/src/wdfs-main.c
|
||||
+++ b/src/wdfs-main.c
|
||||
@@ -1227,7 +1227,7 @@ static int wdfs_statfs(const char *localpath, struct statvfs *buf)
|
||||
|
||||
/* author jens, 04.08.2005 17:41:12, location: goettingen
|
||||
* this method is called, when the filesystems is unmounted. time to clean up! */
|
||||
-static void wdfs_destroy()
|
||||
+static void wdfs_destroy(void* a)
|
||||
{
|
||||
if (wdfs.debug == true)
|
||||
fprintf(stderr, ">> freeing globaly used memory\n");
|
||||
--- a/src/wdfs-main.h
|
||||
+++ b/src/wdfs-main.h
|
||||
@@ -29,10 +29,8 @@
|
||||
esac
|
||||
*/
|
||||
|
||||
-typedef enum {
|
||||
- true = 1,
|
||||
- false = 0
|
||||
-} bool_t;
|
||||
+#include <stdbool.h>
|
||||
+typedef bool bool_t;
|
||||
|
||||
/* used as mode for unify_path() */
|
||||
enum {
|
||||
--- a/src/webdav.h
|
||||
+++ b/src/webdav.h
|
||||
@@ -3,7 +3,8 @@
|
||||
|
||||
extern ne_session *session;
|
||||
|
||||
-int setup_webdav_session();
|
||||
+int setup_webdav_session(
|
||||
+ const char *uri_string, const char *username, const char *password);
|
||||
|
||||
int lockfile(const char *remotepath, const int timeout);
|
||||
int unlockfile(const char *remotepath);
|
||||
24
net-fs/wdfs/wdfs-1.4.2-r4.ebuild
Normal file
24
net-fs/wdfs/wdfs-1.4.2-r4.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="WebDAV filesystem with special features for accessing subversion repositories"
|
||||
HOMEPAGE="http://noedler.de/projekte/wdfs/"
|
||||
SRC_URI="http://noedler.de/projekte/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=net-libs/neon-0.24.7:=
|
||||
>=sys-fs/fuse-2.5:0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-Waddress.patch"
|
||||
"${FILESDIR}/${P}-gcc15.patch"
|
||||
)
|
||||
Reference in New Issue
Block a user