summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-07-29 20:00:29 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-07-29 20:00:29 +0200
commit908af8ebe7d9d342af3f11d37918155d25de0b78 (patch)
treee349c73e06dfb23e09c3a876fe8747db3e2a7b2b /patches
parent4cde4e4e28e3455f4c3dbd51dd0e341494688f7a (diff)
downloadi486tcc-linux-908af8ebe7d9d342af3f11d37918155d25de0b78.tar.gz
i486tcc-linux-908af8ebe7d9d342af3f11d37918155d25de0b78.tar.bz2
started to generate fonts X11, still too big (we have to extract the correct charset)
Diffstat (limited to 'patches')
-rw-r--r--patches/bdftopcf-tcc.patch25
-rw-r--r--patches/rxvt-font.patch17
2 files changed, 42 insertions, 0 deletions
diff --git a/patches/bdftopcf-tcc.patch b/patches/bdftopcf-tcc.patch
new file mode 100644
index 0000000..c8090f6
--- /dev/null
+++ b/patches/bdftopcf-tcc.patch
@@ -0,0 +1,25 @@
+diff -rauN bdftopcf/bdfint.h bdftopcf-tcc-patch/bdfint.h
+--- bdftopcf/bdfint.h 2017-11-07 20:11:44.000000000 +0100
++++ bdftopcf-tcc-patch/bdfint.h 2023-07-29 11:02:26.916280874 +0200
+@@ -65,8 +65,8 @@
+ BOOL haveDefaultCh;
+ } bdfFileState;
+
+-extern void bdfError ( const char * message, ... ) _X_ATTRIBUTE_PRINTF(1, 2);
+-extern void bdfWarning ( const char *message, ... ) _X_ATTRIBUTE_PRINTF(1, 2);
++extern void bdfError ( const char * message, ... );
++extern void bdfWarning ( const char *message, ... );
+ extern unsigned char * bdfGetLine ( FontFilePtr file, unsigned char *buf,
+ int len );
+ extern Atom bdfForceMakeAtom ( const char *str, int *size );
+diff -rauN bdftopcf/pcf.h bdftopcf-tcc-patch/pcf.h
+--- bdftopcf/pcf.h 2017-11-07 20:11:44.000000000 +0100
++++ bdftopcf-tcc-patch/pcf.h 2023-07-29 11:02:31.786288017 +0200
+@@ -92,6 +92,6 @@
+ int bit, int byte, int glyph, int scan );
+ extern int pcfReadFontInfo ( FontInfoPtr pFontInfo, FontFilePtr file );
+ extern int pcfWriteFont ( FontPtr pFont, FontFilePtr file );
+-extern void pcfError ( const char *, ... ) _X_ATTRIBUTE_PRINTF(1, 2);
++extern void pcfError ( const char *, ... );
+
+ #endif /* _PCF_H_ */
diff --git a/patches/rxvt-font.patch b/patches/rxvt-font.patch
new file mode 100644
index 0000000..d09f3b5
--- /dev/null
+++ b/patches/rxvt-font.patch
@@ -0,0 +1,17 @@
+diff -rauN rxvt/src/feature.h rxvt-font-patch/src/feature.h
+--- rxvt/src/feature.h 2000-07-05 09:26:17.000000000 +0200
++++ rxvt-font-patch/src/feature.h 2023-07-29 18:24:33.175186686 +0200
+@@ -376,10 +376,10 @@
+ * sets (NFONT_LIST) have been matched up
+ */
+ #ifndef MULTICHAR_SET /* no Kanji or Big5 or GB support */
+-# define NFONTS 5
+-# define FONT0_IDX 2
++# define NFONTS 1
++# define FONT0_IDX 0
+ # undef MFONT_LIST
+-# define NFONT_LIST "7x14", "6x10", "6x13", "8x13", "9x15"
++# define NFONT_LIST "fixed"
+ #endif
+ #ifdef KANJI
+ # define NFONTS 5