From bc3ebc875e1bc339640a34c032511e56f48f15d0 Mon Sep 17 00:00:00 2001 From: sthen Date: Wed, 15 Jan 2020 21:02:28 +0000 Subject: [PATCH] completely remove the "static inline" mgetty patches, the change was already handled upstream in the 1.2.1 update. --- comms/mgetty+sendfax/patches/patch-g3_g3cat_c | 48 ------------------- .../mgetty+sendfax/patches/patch-g3_pbm2g3_c | 48 ------------------- 2 files changed, 96 deletions(-) delete mode 100644 comms/mgetty+sendfax/patches/patch-g3_g3cat_c delete mode 100644 comms/mgetty+sendfax/patches/patch-g3_pbm2g3_c diff --git a/comms/mgetty+sendfax/patches/patch-g3_g3cat_c b/comms/mgetty+sendfax/patches/patch-g3_g3cat_c deleted file mode 100644 index da5c08b371f..00000000000 --- a/comms/mgetty+sendfax/patches/patch-g3_g3cat_c +++ /dev/null @@ -1,48 +0,0 @@ -$OpenBSD: patch-g3_g3cat_c,v 1.3 2020/01/08 22:22:39 kmos Exp $ -Index: g3/g3cat.c ---- g3/g3cat.c.orig -+++ g3/g3cat.c -@@ -60,8 +60,9 @@ static int padding = 0; /* default: no padding done - static int b_written = 0; /* bytes of a line already */ - /* written */ - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void putcode _P2( (code, len), int code, int len ) - { -@@ -83,8 +84,9 @@ void putcode _P2( (code, len), int code, int len ) - } - } - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void putwhitespan _P1( (l), int l ) - { -@@ -114,8 +116,9 @@ void putwhitespan _P1( (l), int l ) - putcode( t_white[l].bit_code, t_white[l].bit_length ); - } - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void putblackspan _P1( (l), int l ) - { -@@ -145,8 +148,9 @@ void putblackspan _P1( (l), int l ) - putcode( t_black[l].bit_code, t_black[l].bit_length ); - } - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void puteol _P0( void ) /* write byte-aligned EOL */ - { diff --git a/comms/mgetty+sendfax/patches/patch-g3_pbm2g3_c b/comms/mgetty+sendfax/patches/patch-g3_pbm2g3_c deleted file mode 100644 index eeaa732449c..00000000000 --- a/comms/mgetty+sendfax/patches/patch-g3_pbm2g3_c +++ /dev/null @@ -1,48 +0,0 @@ -$OpenBSD: patch-g3_pbm2g3_c,v 1.3 2020/01/08 22:22:39 kmos Exp $ -Index: g3/pbm2g3.c ---- g3/pbm2g3.c.orig -+++ g3/pbm2g3.c -@@ -39,8 +39,9 @@ static unsigned int out_hibit = 0; - - static int out_byte_tab[ 256 ]; /* for g3 byte reversal */ - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void putcode _P2( (code, len), int code, int len ) - { -@@ -59,8 +60,9 @@ void putcode _P2( (code, len), int code, int len ) - } - } - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void puteol _P0( void ) /* write byte-aligned EOL */ - { -@@ -68,8 +70,9 @@ void puteol _P0( void ) /* write byte-aligned EOL */ - putcode( 0x800, 12 ); - } - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void putwhitespan _P1( (l), int l ) - { -@@ -99,8 +102,9 @@ void putwhitespan _P1( (l), int l ) - putcode( t_white[l].bit_code, t_white[l].bit_length ); - } - -+static - #ifdef __GNUC__ --static inline -+inline - #endif - void putblackspan _P1( (l), int l ) - {