linux-qubasis

linux oasis port as a qubes template

git clone https://9o.is/git/linux-qubasis.git

0007-fix-path-of-config.h-includes.patch

(2061B)


      1 From c8c976469a877888a3474cf385ea7ff3738ed75b Mon Sep 17 00:00:00 2001
      2 From: Jul <jul@qh.is>
      3 Date: Tue, 7 Oct 2025 10:58:58 +0800
      4 Subject: [PATCH] fix path of config.h includes
      5 
      6 ---
      7  src/bonus.h         | 2 +-
      8  src/fzy.c           | 2 +-
      9  src/match.c         | 2 +-
     10  src/options.c       | 2 +-
     11  src/tty.c           | 2 +-
     12  src/tty_interface.c | 2 +-
     13  6 files changed, 6 insertions(+), 6 deletions(-)
     14 
     15 diff --git a/src/bonus.h b/src/bonus.h
     16 index 77f3f44..f5ae3b2 100644
     17 --- a/src/bonus.h
     18 +++ b/src/bonus.h
     19 @@ -1,7 +1,7 @@
     20  #ifndef BONUS_H
     21  #define BONUS_H BONUS_H
     22  
     23 -#include "../config.h"
     24 +#include "config.h"
     25  
     26  #ifdef __cplusplus 
     27  extern "C" {
     28 diff --git a/src/fzy.c b/src/fzy.c
     29 index 967a1fc..d4ab8d8 100644
     30 --- a/src/fzy.c
     31 +++ b/src/fzy.c
     32 @@ -11,7 +11,7 @@
     33  #include "options.h"
     34  #include "tty_interface.h"
     35  
     36 -#include "../config.h"
     37 +#include "config.h"
     38  
     39  int main(int argc, char *argv[]) {
     40  	int ret = 0;
     41 diff --git a/src/match.c b/src/match.c
     42 index 597d579..9a55921 100644
     43 --- a/src/match.c
     44 +++ b/src/match.c
     45 @@ -9,7 +9,7 @@
     46  #include "match.h"
     47  #include "bonus.h"
     48  
     49 -#include "../config.h"
     50 +#include "config.h"
     51  
     52  char *strcasechr(const char *s, char c) {
     53  	const char accept[3] = {c, toupper(c), 0};
     54 diff --git a/src/options.c b/src/options.c
     55 index ba452a3..fc23dc5 100644
     56 --- a/src/options.c
     57 +++ b/src/options.c
     58 @@ -6,7 +6,7 @@
     59  
     60  #include "options.h"
     61  
     62 -#include "../config.h"
     63 +#include "config.h"
     64  
     65  static const char *usage_str =
     66      ""
     67 diff --git a/src/tty.c b/src/tty.c
     68 index bc20c0a..01e2125 100644
     69 --- a/src/tty.c
     70 +++ b/src/tty.c
     71 @@ -10,7 +10,7 @@
     72  
     73  #include "tty.h"
     74  
     75 -#include "../config.h"
     76 +#include "config.h"
     77  
     78  void tty_reset(tty_t *tty) {
     79  	tcsetattr(tty->fdin, TCSANOW, &tty->original_termios);
     80 diff --git a/src/tty_interface.c b/src/tty_interface.c
     81 index ddcbb59..ce49f3e 100644
     82 --- a/src/tty_interface.c
     83 +++ b/src/tty_interface.c
     84 @@ -5,7 +5,7 @@
     85  
     86  #include "match.h"
     87  #include "tty_interface.h"
     88 -#include "../config.h"
     89 +#include "config.h"
     90  
     91  static int isprint_unicode(char c) {
     92  	return isprint(c) || c & (1 << 7);
     93 -- 
     94 2.51.0
     95