]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
depends: remove unused patches
authortobtoht <tob@featherwallet.org>
Wed, 29 Mar 2023 19:53:42 +0000 (21:53 +0200)
committertobtoht <tob@featherwallet.org>
Wed, 29 Mar 2023 19:53:42 +0000 (21:53 +0200)
contrib/depends/patches/native_biplist/sorted_list.patch [deleted file]
contrib/depends/patches/native_cctools/skip_otool.patch [deleted file]
contrib/depends/patches/native_cdrkit/cdrkit-deterministic.patch [deleted file]
contrib/depends/patches/native_mac_alias/python3.patch [deleted file]
contrib/depends/patches/native_qt/QShader_map.patch [deleted file]
contrib/depends/patches/unwind/fix_obj_order.patch [deleted file]

diff --git a/contrib/depends/patches/native_biplist/sorted_list.patch b/contrib/depends/patches/native_biplist/sorted_list.patch
deleted file mode 100644 (file)
index 89abdb1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/biplist/__init__.py      2014-10-26 19:03:11.000000000 +0000
-+++ b/biplist/__init__.py      2016-07-19 19:30:17.663521999 +0000
-@@ -541,7 +541,7 @@
-             return HashableWrapper(n)
-         elif isinstance(root, dict):
-             n = {}
--            for key, value in iteritems(root):
-+            for key, value in sorted(iteritems(root)):
-                 n[self.wrapRoot(key)] = self.wrapRoot(value)
-             return HashableWrapper(n)
-         elif isinstance(root, list):
-@@ -616,7 +616,7 @@
-             elif isinstance(obj, dict):
-                 size = proc_size(len(obj))
-                 self.incrementByteCount('dictBytes', incr=1+size)
--                for key, value in iteritems(obj):
-+                for key, value in sorted(iteritems(obj)):
-                     check_key(key)
-                     self.computeOffsets(key, asReference=True)
-                     self.computeOffsets(value, asReference=True)
-@@ -714,7 +714,7 @@
-                 keys = []
-                 values = []
-                 objectsToWrite = []
--                for key, value in iteritems(obj):
-+                for key, value in sorted(iteritems(obj)):
-                     keys.append(key)
-                     values.append(value)
-                 for key in keys:
diff --git a/contrib/depends/patches/native_cctools/skip_otool.patch b/contrib/depends/patches/native_cctools/skip_otool.patch
deleted file mode 100644 (file)
index 30c4ee5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- cctools/Makefile.am.O      2016-06-09 15:06:16.000000000 +0100
-+++ cctools/Makefile.am        2019-11-18 08:59:20.078663220 +0000
-@@ -1,7 +1,7 @@
- if ISDARWIN
--SUBDIRS=libstuff ar as misc otool ld64 $(LD_CLASSIC)
-+SUBDIRS=libstuff ar as misc ld64 $(LD_CLASSIC)
- else
--SUBDIRS=libstuff ar as misc libobjc2 otool ld64 $(LD_CLASSIC)
-+SUBDIRS=libstuff ar as misc ld64 $(LD_CLASSIC)
- endif
- ACLOCAL_AMFLAGS = -I m4
diff --git a/contrib/depends/patches/native_cdrkit/cdrkit-deterministic.patch b/contrib/depends/patches/native_cdrkit/cdrkit-deterministic.patch
deleted file mode 100644 (file)
index 8ab0993..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
---- cdrkit-1.1.11.old/genisoimage/tree.c       2008-10-21 19:57:47.000000000 -0400
-+++ cdrkit-1.1.11/genisoimage/tree.c   2013-12-06 00:23:18.489622668 -0500
-@@ -1139,8 +1139,9 @@
- scan_directory_tree(struct directory *this_dir, char *path, 
-                                                 struct directory_entry *de)
- {
--      DIR             *current_dir;
-+        int             current_file;
-       char            whole_path[PATH_MAX];
-+        struct dirent  **d_list;
-       struct dirent   *d_entry;
-       struct directory *parent;
-       int             dflag;
-@@ -1164,7 +1165,8 @@
-       this_dir->dir_flags |= DIR_WAS_SCANNED;
-       errno = 0;      /* Paranoia */
--      current_dir = opendir(path);
-+      //current_dir = opendir(path);
-+        current_file = scandir(path, &d_list, NULL, alphasort);
-       d_entry = NULL;
-       /*
-@@ -1173,12 +1175,12 @@
-        */
-       old_path = path;
--      if (current_dir) {
-+      if (current_file >= 0) {
-               errno = 0;
--              d_entry = readdir(current_dir);
-+              d_entry = d_list[0];
-       }
--      if (!current_dir || !d_entry) {
-+      if (current_file < 0 || !d_entry) {
-               int     ret = 1;
- #ifdef        USE_LIBSCHILY
-@@ -1191,8 +1193,8 @@
-                       de->isorec.flags[0] &= ~ISO_DIRECTORY;
-                       ret = 0;
-               }
--              if (current_dir)
--                      closedir(current_dir);
-+              if(d_list)
-+                      free(d_list);
-               return (ret);
-       }
- #ifdef        ABORT_DEEP_ISO_ONLY
-@@ -1208,7 +1210,7 @@
-                       errmsgno(EX_BAD, "use Rock Ridge extensions via -R or -r,\n");
-                       errmsgno(EX_BAD, "or allow deep ISO9660 directory nesting via -D.\n");
-               }
--              closedir(current_dir);
-+              free(d_list);
-               return (1);
-       }
- #endif
-@@ -1250,13 +1252,13 @@
-                * The first time through, skip this, since we already asked
-                * for the first entry when we opened the directory.
-                */
--              if (dflag)
--                      d_entry = readdir(current_dir);
-+              if (dflag && current_file >= 0)
-+                      d_entry = d_list[current_file];
-               dflag++;
--              if (!d_entry)
-+              if (current_file < 0)
-                       break;
--
-+                current_file--;
-               /* OK, got a valid entry */
-               /* If we do not want all files, then pitch the backups. */
-@@ -1348,7 +1350,7 @@
-               insert_file_entry(this_dir, whole_path, d_entry->d_name);
- #endif        /* APPLE_HYB */
-       }
--      closedir(current_dir);
-+      free(d_list);
- #ifdef APPLE_HYB
-       /*
diff --git a/contrib/depends/patches/native_mac_alias/python3.patch b/contrib/depends/patches/native_mac_alias/python3.patch
deleted file mode 100644 (file)
index 1a32340..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -dur a/mac_alias/alias.py b/mac_alias/alias.py
---- a/mac_alias/alias.py       2015-10-19 12:12:48.000000000 +0200
-+++ b/mac_alias/alias.py       2016-04-03 12:13:12.037159417 +0200
-@@ -243,10 +243,10 @@
-         alias = Alias()
-         alias.appinfo = appinfo
-             
--        alias.volume = VolumeInfo (volname.replace('/',':'),
-+        alias.volume = VolumeInfo (volname.decode().replace('/',':'),
-                                    voldate, fstype, disktype,
-                                    volattrs, volfsid)
--        alias.target = TargetInfo (kind, filename.replace('/',':'),
-+        alias.target = TargetInfo (kind, filename.decode().replace('/',':'),
-                                    folder_cnid, cnid,
-                                    crdate, creator_code, type_code)
-         alias.target.levels_from = levels_from
-@@ -261,9 +261,9 @@
-                 b.read(1)
-             if tag == TAG_CARBON_FOLDER_NAME:
--                alias.target.folder_name = value.replace('/',':')
-+                alias.target.folder_name = value.decode().replace('/',':')
-             elif tag == TAG_CNID_PATH:
--                alias.target.cnid_path = struct.unpack(b'>%uI' % (length // 4),
-+                alias.target.cnid_path = struct.unpack('>%uI' % (length // 4),
-                                                            value)
-             elif tag == TAG_CARBON_PATH:
-                 alias.target.carbon_path = value
-@@ -298,9 +298,9 @@
-                 alias.target.creation_date \
-                     = mac_epoch + datetime.timedelta(seconds=seconds)
-             elif tag == TAG_POSIX_PATH:
--                alias.target.posix_path = value
-+                alias.target.posix_path = value.decode()
-             elif tag == TAG_POSIX_PATH_TO_MOUNTPOINT:
--                alias.volume.posix_path = value
-+                alias.volume.posix_path = value.decode()
-             elif tag == TAG_RECURSIVE_ALIAS_OF_DISK_IMAGE:
-                 alias.volume.disk_image_alias = Alias.from_bytes(value)
-             elif tag == TAG_USER_HOME_LENGTH_PREFIX:
-@@ -422,13 +422,13 @@
-         #       (so doing so is ridiculous, and nothing could rely on it).
-         b.write(struct.pack(b'>h28pI2shI64pII4s4shhI2s10s',
-                             self.target.kind,
--                            carbon_volname, voldate,
-+                            carbon_volname, int(voldate),
-                             self.volume.fs_type,
-                             self.volume.disk_type,
-                             self.target.folder_cnid,
-                             carbon_filename,
-                             self.target.cnid,
--                            crdate,
-+                            int(crdate),
-                             self.target.creator_code,
-                             self.target.type_code,
-                             self.target.levels_from,
-@@ -449,12 +449,12 @@
-         b.write(struct.pack(b'>hhQhhQ',
-                 TAG_HIGH_RES_VOLUME_CREATION_DATE,
--                8, long(voldate * 65536),
-+                8, int(voldate * 65536),
-                 TAG_HIGH_RES_CREATION_DATE,
--                8, long(crdate * 65536)))
-+                8, int(crdate * 65536)))
-         if self.target.cnid_path:
--            cnid_path = struct.pack(b'>%uI' % len(self.target.cnid_path),
-+            cnid_path = struct.pack('>%uI' % len(self.target.cnid_path),
-                                     *self.target.cnid_path)
-             b.write(struct.pack(b'>hh', TAG_CNID_PATH,
-                                  len(cnid_path)))
diff --git a/contrib/depends/patches/native_qt/QShader_map.patch b/contrib/depends/patches/native_qt/QShader_map.patch
deleted file mode 100644 (file)
index fa2ccbe..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/src/gui/rhi/qshader_p.h b/src/gui/rhi/qshader_p.h
-index 690a7f44cd..8e5894c97f 100644
---- a/src/gui/rhi/qshader_p.h
-+++ b/src/gui/rhi/qshader_p.h
-@@ -17,6 +17,7 @@
- #include <QtGui/qtguiglobal.h>
- #include <QtCore/qhash.h>
-+#include <QtCore/qmap.h>
- #include <private/qshaderdescription_p.h>
- QT_BEGIN_NAMESPACE
-@@ -127,7 +128,7 @@ public:
-     QByteArray serialized() const;
-     static QShader fromSerialized(const QByteArray &data);
--    using NativeResourceBindingMap = QHash<int, QPair<int, int> >; // binding -> native_binding[, native_binding]
-+    using NativeResourceBindingMap = QMap<int, QPair<int, int> >; // binding -> native_binding[, native_binding]
-     NativeResourceBindingMap nativeResourceBindingMap(const QShaderKey &key) const;
-     void setResourceBindingMap(const QShaderKey &key, const NativeResourceBindingMap &map);
-     void removeResourceBindingMap(const QShaderKey &key);
diff --git a/contrib/depends/patches/unwind/fix_obj_order.patch b/contrib/depends/patches/unwind/fix_obj_order.patch
deleted file mode 100644 (file)
index e764f0f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- config/ltmain.sh.0 2020-11-10 17:25:26.000000000 +0100
-+++ config/ltmain.sh   2021-09-11 19:39:36.000000000 +0200
-@@ -10768,6 +10768,8 @@
-       fi
-       func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
-       tool_oldlib=$func_to_tool_file_result
-+      oldobjs=`for obj in $oldobjs; do echo $obj; done | sort`
-+      oldobjs=" `echo $oldobjs`"
-       eval cmds=\"$old_archive_cmds\"
-       func_len " $cmds"