gentoo-ebuilds/x11-misc/fbpanel/files/fbpanel-7.0-2to3.patch
Ionen Wolkens 0cb5d6c835
x11-misc/fbpanel: use patch rather than 2to3 + fix w/ gcc-15
Had forgot about this, and it worked by accident when
tested it.

The patch is smaller than was expecting, so tossing it
in filesdir like the rest.

Not that this package has a long life ahead of it, I only
look at it now and then because I know someone on the forums
that is using it (I don't). Next time there is a major issue
I'd say it should be last-rited.

Closes: https://bugs.gentoo.org/955505
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-05-06 10:21:49 -04:00

41 lines
1.3 KiB
Diff

Generated with `2to3 -n -w --no-diffs configure .config/*.py`.
https://bugs.gentoo.org/955505
--- a/.config/argparse.py
+++ b/.config/argparse.py
@@ -100 +100 @@
- basestring
+ str
@@ -102 +102 @@
- basestring = str
+ str = str
@@ -1724 +1724 @@
- if isinstance(action.default, basestring):
+ if isinstance(action.default, str):
@@ -2202 +2202 @@
- if isinstance(value, basestring):
+ if isinstance(value, str):
--- a/.config/options.py
+++ b/.config/options.py
@@ -99 +99 @@
- print str,
+ print(str, end=' ')
--- a/.config/repl.py
+++ b/.config/repl.py
@@ -17 +17 @@
-print re.sub('@\w+@', repl_func, sys.stdin.read())
+print(re.sub('@\w+@', repl_func, sys.stdin.read()))
--- a/configure
+++ b/configure
@@ -117 +117 @@
- self.help_names = self.help_groups.keys()
+ self.help_names = list(self.help_groups.keys())
@@ -278,3 +278,3 @@
- print(e.output)
- print("This usually means that '" + pname + \
- "' development files are not installed")
+ print((e.output))
+ print(("This usually means that '" + pname + \
+ "' development files are not installed"))
@@ -333 +333 @@
- if type(v) == str or type(v) == unicode:
+ if type(v) == str or type(v) == str: