From: Marcin Krol Date: Sun, 16 Aug 2020 16:28:46 +0000 (+0200) Subject: - fix autodeps, don't use env X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=58f71afbd2fca01fcee8244a1210e072b302f128;p=packages%2FphpMyAdmin.git - fix autodeps, don't use env --- diff --git a/phpMyAdmin-env.patch b/phpMyAdmin-env.patch new file mode 100644 index 0000000..ba1aa1c --- /dev/null +++ b/phpMyAdmin-env.patch @@ -0,0 +1,36 @@ +diff -ur phpMyAdmin-5.0.2-all-languages.orig/vendor/paragonie/random_compat/build-phar.sh phpMyAdmin-5.0.2-all-languages/vendor/paragonie/random_compat/build-phar.sh +--- phpMyAdmin-5.0.2-all-languages.orig/vendor/paragonie/random_compat/build-phar.sh 2020-03-21 05:17:40.000000000 +0100 ++++ phpMyAdmin-5.0.2-all-languages/vendor/paragonie/random_compat/build-phar.sh 2020-08-16 18:20:12.786866887 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/bash + + basedir=$( dirname $( readlink -f ${BASH_SOURCE[0]} ) ) + +diff -ur phpMyAdmin-5.0.2-all-languages.orig/vendor/phpmyadmin/sql-parser/bin/highlight-query phpMyAdmin-5.0.2-all-languages/vendor/phpmyadmin/sql-parser/bin/highlight-query +--- phpMyAdmin-5.0.2-all-languages.orig/vendor/phpmyadmin/sql-parser/bin/highlight-query 2020-03-21 05:17:39.000000000 +0100 ++++ phpMyAdmin-5.0.2-all-languages/vendor/phpmyadmin/sql-parser/bin/highlight-query 2020-08-16 18:20:23.032866887 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env php ++#!/usr/bin/php + = 1.268 BuildRequires: tar >= 1:1.22 @@ -85,6 +84,7 @@ podręcznika MySQL). Aktualnie phpMyAdmin potrafi: %setup -q -n %{name}-%{version}-all-languages %patch0 -p1 %patch1 -p1 +%patch2 -p1 # cleanup backups after patching find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f