net-mail/altermime: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 15 Jan 2017 09:20:08 +0000 (10:20 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 15 Jan 2017 09:49:40 +0000 (10:49 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3488

net-mail/altermime/files/altermime-0.3.10-fprintf-fixes.patch [deleted file]
net-mail/altermime/files/altermime-0.3.10-respect-flags.patch [deleted file]

diff --git a/net-mail/altermime/files/altermime-0.3.10-fprintf-fixes.patch b/net-mail/altermime/files/altermime-0.3.10-fprintf-fixes.patch
deleted file mode 100644 (file)
index 74d32f3..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -urp altermime-0.3.10.orig/qpe.c altermime-0.3.10/qpe.c
---- altermime-0.3.10.orig/qpe.c        2010-04-30 23:11:15.564697415 +0100
-+++ altermime-0.3.10/qpe.c     2010-04-30 23:17:22.368691711 +0100
-@@ -97,7 +97,7 @@ int qp_encode( char *out, size_t out_siz
-                               op+= strlen(paragraph);// +3; /** jump the output + =\r\n **/
-                               out_remaining-= (strlen(paragraph)); // Was +3, updated to fix Outlook problems
--                              QPD fprintf(stdout, "Soft break (%d + %d > 76 char) for '%s'\n", current_line_length, charout_size, paragraph);
-+                              QPD fprintf(stdout, "Soft break (%lu + %d > 76 char) for '%s'\n", (unsigned long)current_line_length, charout_size, paragraph);
-                               
-                               /** reinitialize the paragraph **/
-                               paragraph[0] = '\0';
-@@ -108,7 +108,7 @@ int qp_encode( char *out, size_t out_siz
-                       }
-                       snprintf(pp, pp_remaining, "%s", charout);
--                      QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%d result='%s'\n", charout, charout_size, pp_remaining, paragraph);
-+                      QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%lu result='%s'\n", charout, charout_size, (unsigned long)pp_remaining, paragraph);
-                       pp += charout_size;
-                       pp_remaining -= charout_size;
-                       p++;
-@@ -149,13 +149,13 @@ int qp_encode_from_file( char *fname )
-       out_size = in_size *3;
-       in_buffer = malloc( sizeof(char) *in_size +1);
-       if (in_buffer == NULL) {
--              QPD fprintf(stdout,"Error allocating %d bytes for input buffer\n", in_size);
-+              QPD fprintf(stdout,"Error allocating %lu bytes for input buffer\n", (unsigned long)in_size);
-               return -1;
-       }
-       out_buffer = malloc( sizeof(char) *out_size *3 +1);
-       if (in_buffer == NULL) {
--              QPD fprintf(stdout,"Error allocating %d bytes for output buffer\n", out_size);
-+              QPD fprintf(stdout,"Error allocating %lu bytes for output buffer\n", (unsigned long)out_size);
-               return -1;
-       }
-@@ -169,7 +169,7 @@ int qp_encode_from_file( char *fname )
-         ** we segfault ;)  **/
-       *(in_buffer +in_size) = '\0';
--      QPD fprintf(stdout,"file %s is loaded, size = %d\n", fname, in_size);
-+      QPD fprintf(stdout,"file %s is loaded, size = %lu\n", fname, (unsigned long)in_size);
-       qp_encode( out_buffer, out_size, in_buffer, in_size );
diff --git a/net-mail/altermime/files/altermime-0.3.10-respect-flags.patch b/net-mail/altermime/files/altermime-0.3.10-respect-flags.patch
deleted file mode 100644 (file)
index 243d49c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.orig      2008-11-16 08:45:45.000000000 +0000
-+++ Makefile   2010-10-08 00:35:48.258944495 +0100
-@@ -11,3 +11,3 @@
- ALTERMIME_OPTIONS=
--CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS)
-+CFLAGS+=-Wall
- OBJS= strstack.o mime_alter.o ffget.o pldstr.o filename-filters.o logger.o MIME_headers.o libmime-decoders.o boundary-stack.o qpe.o
-@@ -21,3 +21,3 @@
- altermime: altermime.c ${OBJS}
--      ${CC} ${CFLAGS} altermime.c ${OBJS} -o altermime
-+      ${CC} ${CFLAGS} ${LDFLAGS} altermime.c ${OBJS} -o altermime