[packages/dokuwiki: 4/5] Drop autoload.patch; No longer works

glen glen at pld-linux.org
Sun Apr 16 22:57:22 CEST 2023


commit 6a9e513f6eeb3701d6ec011afb9364ebf5e3cf1b
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Apr 3 14:02:19 2023 +0300

    Drop autoload.patch; No longer works

 autoload.patch | 14 --------------
 dokuwiki.spec  |  2 --
 2 files changed, 16 deletions(-)
---
diff --git a/dokuwiki.spec b/dokuwiki.spec
index deaa928..501247d 100644
--- a/dokuwiki.spec
+++ b/dokuwiki.spec
@@ -33,7 +33,6 @@ Source13:	http://mirrors.jenkins-ci.org/art/jenkins-logo/16x16/headshot.png?/jen
 # Source13-md5:	ae892e4ca43ffab88f6e3dca951f3e8a
 Patch66:	%{name}-config.patch
 Patch0:		%{name}-paths.patch
-Patch1:		autoload.patch
 Patch2:		style-width.patch
 Patch5:		%{name}-http_auth-option.patch
 Patch8:		%{name}-notify-respect-minor.patch
@@ -129,7 +128,6 @@ test -e data/pages/playground/playground.txt || \
 echo '====== PlayGround ======' >  data/pages/playground/playground.txt
 
 %patch0 -p1
-%patch1 -p1
 %patch2 -p1
 %patch5 -p1
 %patch8 -p1
diff --git a/autoload.patch b/autoload.patch
deleted file mode 100644
index 162bb17..0000000
--- a/autoload.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- dokuwiki-2022-07-31a/vendor/composer/autoload_real.php~	2022-09-03 20:15:22.000000000 +0300
-+++ dokuwiki-2022-07-31a/vendor/composer/autoload_real.php	2023-03-30 17:57:54.803967426 +0300
-@@ -28,8 +28,11 @@
-         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
-         spl_autoload_unregister(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'));
- 
-+		// autoload_static.php patching is annoying and not worth the effort
-+		if (0) {
-         require __DIR__ . '/autoload_static.php';
-         call_user_func(\Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::getInitializer($loader));
-+		}
- 
-         $loader->register(true);
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki.git/commitdiff/145f7473e3df8f2a19a5634f0c0f422aa120bdbb



More information about the pld-cvs-commit mailing list