aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2025-03-16 20:22:01 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2025-03-16 20:22:01 +0000
commit2a9bbadaad823c5f117d10197c8893a7af7a0153 (patch)
tree3af119e3fb1011bca10318fcb90849283cf7af25
parent86981406735677f9da60071f8845f51af12e6329 (diff)
downloadvoid-packages-user/luca/factorio-restart.tar
void-packages-user/luca/factorio-restart.tar.gz
void-packages-user/luca/factorio-restart.tar.bz2
void-packages-user/luca/factorio-restart.tar.lz
void-packages-user/luca/factorio-restart.tar.xz
void-packages-user/luca/factorio-restart.tar.zst
void-packages-user/luca/factorio-restart.zip
fixup! fixup! New package: factorio-restart-0.1.0user/luca/factorio-restart
-rw-r--r--srcpkgs/factorio-restart/patches/0001-add-logging.patch6
-rw-r--r--srcpkgs/factorio-restart/template2
2 files changed, 4 insertions, 4 deletions
diff --git a/srcpkgs/factorio-restart/patches/0001-add-logging.patch b/srcpkgs/factorio-restart/patches/0001-add-logging.patch
index 13520efd501..09922d4a73a 100644
--- a/srcpkgs/factorio-restart/patches/0001-add-logging.patch
+++ b/srcpkgs/factorio-restart/patches/0001-add-logging.patch
@@ -1,4 +1,4 @@
-From 4895b248abcd87564d97fe8027df987568488c1d Mon Sep 17 00:00:00 2001
+From 5254051b3b1a72d7133fcbb4ea1baaf823df406d Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Sun, 16 Mar 2025 14:15:20 +0100
Subject: [PATCH] add logging
@@ -73,7 +73,7 @@ index 7644252..918c88a 100644
(native-inputs (list pkg-config))
(inputs (list openssl))
diff --git a/src/main.rs b/src/main.rs
-index 21a8bbe..295de02 100644
+index 21a8bbe..dd1daaf 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -58,6 +58,7 @@ const LANGUAGE: &str = "en-US";
@@ -98,7 +98,7 @@ index 21a8bbe..295de02 100644
.await;
}
- _ => continue 'event_loop,
-+ _ => continue,
++ event => println!("Undefined event: {0:?}", event),
}
}
}
diff --git a/srcpkgs/factorio-restart/template b/srcpkgs/factorio-restart/template
index 94c77bd602c..76624d1121a 100644
--- a/srcpkgs/factorio-restart/template
+++ b/srcpkgs/factorio-restart/template
@@ -1,7 +1,7 @@
# Template file for 'factorio-restart'
pkgname=factorio-restart
version=0.1.0
-revision=4
+revision=5
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"