From b2f1ce777ca34dc228bb0bb998fffe20ea487e9f Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 21 Apr 2008 23:42:30 +0200 Subject: removed outdated/obsolete ebuilds --- .../files/fuse_python_accept_none.patch | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 sys-fs/fuse-python/files/fuse_python_accept_none.patch (limited to 'sys-fs/fuse-python/files') diff --git a/sys-fs/fuse-python/files/fuse_python_accept_none.patch b/sys-fs/fuse-python/files/fuse_python_accept_none.patch deleted file mode 100644 index 9f71800..0000000 --- a/sys-fs/fuse-python/files/fuse_python_accept_none.patch +++ /dev/null @@ -1,75 +0,0 @@ ---- fuseparts/_fusemodule.c.old 2007-06-18 16:20:09.000000000 +0200 -+++ fuseparts/_fusemodule.c 2008-04-08 01:18:43.000000000 +0200 -@@ -182,8 +182,50 @@ - * the getattr type functions. - */ - --#define fetchattr_soft_d(st, attr, defa) \ -- fetchattr_soft(st, attr) else st->attr = defa -+// (sorry ...) -+ -+#define good(attr) _GOOD_SPAGHETTI_ ## attr -+#define bad(attr) _BAD_SPAGHETTI_ ## attr -+ -+/* -+ * This macro checks whether an attribute is available and not None. -+ * Success --> set attribute and goto _GOOD_SPAGHETTI -+ * Failure --> goto _BAD_SPAGHETTI -+ * Error --> goto OUT_DECREF -+ */ -+#define fetchattr_soft_none_pre(st, attr) \ -+ if (PyObject_HasAttrString(v, #attr)) { \ -+ if (!(pytmp = PyObject_GetAttrString(v, #attr))) \ -+ goto OUT_DECREF; \ -+ else if (pytmp != Py_None) { \ -+ py2attr(st, attr) \ -+ goto good(attr); \ -+ } \ -+ else { \ -+ Py_DECREF(pytmp); \ -+ goto bad(attr); \ -+ } \ -+ } \ -+ goto bad(attr); -+ -+/** -+ * Calls fetchattr_soft_none_pre and ignores failure. -+ */ -+#define fetchattr_soft_none(st, attr) \ -+ fetchattr_soft_none_pre(st, attr); \ -+ good(attr): ; \ -+ bad(attr): ; -+ -+/** -+ * Calls fetchattr_soft_none_pre and sets a default value on failure. -+ */ -+#define fetchattr_soft_d(st, attr, defa) \ -+ fetchattr_soft_none_pre(st, attr); \ -+ bad(attr): \ -+ st->attr = defa; \ -+ good(attr): ; -+ -+// - - #define FETCH_STAT_DATA() \ - fetchattr(st, st_mode); \ -@@ -206,7 +248,7 @@ - * autotools so we just dare to throw these in as is. \ - */ \ - \ -- fetchattr_soft(st, st_rdev); \ -+ fetchattr_soft_none(st, st_rdev); \ - fetchattr_soft_d(st, st_blksize, 4096); \ - fetchattr_soft_d(st, st_blocks, (st->st_size + 511)/512) - -@@ -245,6 +287,10 @@ - #endif - - #undef fetchattr_soft_d -+#undef fetchattr_soft_none -+#undef fetchattr_soft_none_pre -+#undef good -+#undef bad - #undef FETCH_STAT_DATA - - static int -- cgit v1.2.3-70-g09d2 ref='/dotfiles.git/log/.vim/bundle/gundo.vim/.hg?id=54eec2fe3a6b41dafdd9b1c5d5bdc46342456372&showmsg=1&follow=1'>.hg (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-24'caf' aliasRené 'Necoro' Neumann1-0/+1
2011-03-24Try to avoid name-clashesRené 'Necoro' Neumann1-10/+8
2011-03-24ZSH enhancements.René 'Necoro' Neumann2-2/+32
2011-03-24Enhance the functions -- shadow local functions.René 'Necoro' Neumann1-3/+6
2011-03-24Add suffix aliases for useful things.René 'Necoro' Neumann1-0/+14
2011-03-24Make 'unpack' use open_ebuildRené 'Necoro' Neumann2-20/+23
2011-03-23Only one dir for mencRené 'Necoro' Neumann1-5/+2
2011-03-23Remove jabref configsRené 'Necoro' Neumann2-143/+0
2011-03-23Vimperator enhancementsRené 'Necoro' Neumann1-0/+10
2011-03-13Add list_cc_flags -- with commentsRené 'Necoro' Neumann1-0/+2
2011-03-13Add list_cc_flagsRené 'Necoro' Neumann1-0/+23
2011-03-13Enhanced the open_ebuild functionRené 'Necoro' Neumann1-6/+29
2011-03-13make menc() more verboseRené 'Necoro' Neumann1-0/+5
2011-03-13Better 'cci' outputRené 'Necoro' Neumann1-0/+2
2011-03-13Add function to mount encrypted thingiesRené 'Necoro' Neumann1-0/+11
2011-03-13Make 'Y' behave correctly in vimRené 'Necoro' Neumann1-0/+3
2011-02-10backward-kill-wordRené 'Necoro' Neumann1-0/+3
2011-02-10Fix zsh versionRené 'Necoro' Neumann1-1/+1