diff options
Diffstat (limited to 'app-misc/mepl/files')
-rw-r--r-- | app-misc/mepl/files/mepl-0.45-gcc433.patch | 31 | ||||
-rw-r--r-- | app-misc/mepl/files/mepl-0.45-makefile.patch | 19 |
2 files changed, 46 insertions, 4 deletions
diff --git a/app-misc/mepl/files/mepl-0.45-gcc433.patch b/app-misc/mepl/files/mepl-0.45-gcc433.patch index 0fd857a9ae30..baf26c03c4f4 100644 --- a/app-misc/mepl/files/mepl-0.45-gcc433.patch +++ b/app-misc/mepl/files/mepl-0.45-gcc433.patch @@ -1,11 +1,34 @@ ---- a/mepl.c 2009-04-07 21:17:32.000000000 +0200 -+++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200 +--- a/mepl.c ++++ b/mepl.c @@ -1,3 +1,4 @@ +#include <stdlib.h> #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999" /* Version: @(#) mepl.c 0.45 - Autor: Frank Holtz <frank@hof-berlin.de>--- mepl.c 2009-04-07 21:08:18.000000000 +0200 -@@ -347,7 +347,7 @@ + Autor: Frank Holtz <frank@hof-berlin.de> +@@ -18,11 +19,12 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + #include <fcntl.h> +-// #include <signal.h> #If you have problems to compile remove the "//" ++#include <signal.h> + #include <stdio.h> + #include <string.h> + #include <sys/time.h> + #include <sys/types.h> ++#include <sys/wait.h> + #include <termios.h> + #include <time.h> + #include <unistd.h> +@@ -93,7 +95,7 @@ + int hex(unsigned char *); + int fget(int); + +-main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + int i,z,j,k,error,errz,ic,resin,resout,n,pid,opt; + struct termios oldtio,newtio; +@@ -346,7 +348,7 @@ errz=0; do { error=0; diff --git a/app-misc/mepl/files/mepl-0.45-makefile.patch b/app-misc/mepl/files/mepl-0.45-makefile.patch new file mode 100644 index 000000000000..cbd89103719a --- /dev/null +++ b/app-misc/mepl/files/mepl-0.45-makefile.patch @@ -0,0 +1,19 @@ +--- a/Makefile ++++ b/Makefile +@@ -13,14 +13,9 @@ + initdir = /etc/rc.d/init.d + initdir2 = /etc/init.d + +-CC = gcc +-CFLAGS = -DMEPLCONFIG=\"$(CONFIGFILE)\" ++CPPFLAGS += -DMEPLCONFIG=\"$(CONFIGFILE)\" + +-en: mepl.c +- @echo "Type \"make de\" or \"make installde\" for german version." +- @echo "Taper \"make fr\" ou \"make installfr\" pour la version française." +- @echo "Scrivi \"make it\" or \"make installit\" per la versione italiana." +- $(CC) $(CFLAGS) -o mepl mepl.c ++en: mepl + + de: mepl.c + @echo "Type \"make en\" or \"make installen\" for english version." |