Skip to content

Instantly share code, notes, and snippets.

View julian-klode's full-sized avatar

Julian Andres Klode julian-klode

View GitHub Profile
diff -Nru asusctl-6.0.12/debian/changelog asusctl-6.0.12+ds/debian/changelog
--- asusctl-6.0.12/debian/changelog 2025-01-24 22:33:00.000000000 +0100
+++ asusctl-6.0.12+ds/debian/changelog 2025-03-19 16:20:00.000000000 +0100
@@ -1,3 +1,15 @@
+asusctl (6.0.12+ds-0ubuntu1) UNRELEASED; urgency=medium
+
+ * Regenerate vendor tarball with cargo-vendor-filterer in debian/rules;
+ instead of using upstream supplied tarball
+ * Drop modify-cargo-toml-to-ensure-local-builds.patch which breaks the
+ vendoring.
python/tarfile.cc | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/python/tarfile.cc b/python/tarfile.cc
index b87fa71a..75bdd21c 100644
--- a/python/tarfile.cc
+++ b/python/tarfile.cc
@@ -46,6 +46,9 @@ public:
// Set to true if an error occurred in the Python callback, or a file
// was too large to read in extractdata.
# Default APT Sequoia configuration. To overwrite, consider copying this
# to /etc/crypto-policies/back-ends/apt-sequoia.config and modify the
# desired values.
[asymmetric_algorithms]
dsa1024 = 2024-02-01
dsa2048 = 2024-02-01
dsa3072 = 2024-02-01
dsa4096 = 2024-02-01
brainpoolp256 = 2028-02-01
brainpoolp384 = 2028-02-01
#include <cstdint>
#include <tuple>
struct priority {
int16_t index;
uint16_t staticp;
uint16_t dynamic;
uint16_t padding;
bool operator<(const priority &other) const;
#include <cstdint>
#include <tuple>
struct priority {
uint16_t padding;
uint16_t dynamic;
uint16_t staticp;
int16_t index;
bool operator<(const priority &other) const;
#include <cstdint>
#include <tuple>
struct priority {
uint16_t padding;
uint16_t dynamic;
uint16_t staticp;
uint16_t index;
bool operator<(const priority &other) const;
#include <cstdint>
#include <tuple>
struct priority {
uint16_t padding;
uint16_t dynamic;
uint16_t staticp;
uint16_t index;
bool operator<(const priority &other) const;
using uint16_t = unsigned short;
using uint64_t = unsigned long long;
static_assert(sizeof(uint16_t) == 2);
static_assert(sizeof(uint64_t) == 8);
struct priority {
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
uint16_t padding;
uint16_t dynamic;