diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /net-misc/efax/files/efax-0.9a-fno-common.patch | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'net-misc/efax/files/efax-0.9a-fno-common.patch')
-rw-r--r-- | net-misc/efax/files/efax-0.9a-fno-common.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/efax/files/efax-0.9a-fno-common.patch b/net-misc/efax/files/efax-0.9a-fno-common.patch new file mode 100644 index 000000000000..e27fa082e4b8 --- /dev/null +++ b/net-misc/efax/files/efax-0.9a-fno-common.patch @@ -0,0 +1,32 @@ +--- a/efaxos.h ++++ b/efaxos.h +@@ -13,7 +13,6 @@ + + /* Bit order reversal table. */ + +-extern unsigned char normalbits [ ] ; + + typedef enum ttymodes /* serial port modes: */ + { +--- a/efaxlib.h ++++ b/efaxlib.h +@@ -208,7 +208,7 @@ + /* Bit reversal lookup tables (note that the `normalbits' array + is the one actually used for the bit reversal. */ + +-uchar reversebits [ 256 ], normalbits [ 256 ] ; ++extern uchar reversebits [ 256 ], normalbits [ 256 ] ; + + void initbittab(void) ; + +--- a/efaxlib.c ++++ b/efaxlib.c +@@ -25,6 +25,8 @@ + + short short256 = 256 ; /* for endian-ness detection */ + ++uchar reversebits [ 256 ], normalbits [ 256 ] ; ++ + /* Make sure printf strings have only %d escapes and n or fewer + of them. Returns 0 if OK, 1 on error. */ + |