commit:     8447ec303004252936fb340f4662852267b966d9
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Jul  6 07:43:18 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  6 08:16:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8447ec30

net-irc/emech: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-irc/emech/files/emech-3.0.99_p3-buildfix.patch | 70 ----------------------
 1 file changed, 70 deletions(-)

diff --git a/net-irc/emech/files/emech-3.0.99_p3-buildfix.patch 
b/net-irc/emech/files/emech-3.0.99_p3-buildfix.patch
deleted file mode 100644
index de1dee6ed673..000000000000
--- a/net-irc/emech/files/emech-3.0.99_p3-buildfix.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -Naur emech-3.0.99p3.org/src/gencmd.c emech-3.0.99p3/src/gencmd.c
---- emech-3.0.99p3.org/src/gencmd.c    2009-05-13 08:51:09.000000000 -0000
-+++ emech-3.0.99p3/src/gencmd.c        2018-03-16 22:52:42.591033854 -0000
-@@ -316,7 +316,7 @@
-                       }
-                       if (pass == __struct_acces)
-                       {
--                              printf("\t%i,\t/""* %s *""/\n",
-+                              printf("\t%li,\t/""* %s *""/\n",
-                                       pre_mcmd[wh].flags & CLEVEL,
-                                       pt);
-                       }
-@@ -390,7 +390,7 @@
-               }
-               pass--;
-       }
--      printf("#define LOCALHOST_ULONG %lu\n",inet_addr("127.1"));
-+      printf("#define LOCALHOST_ULONG %u\n",inet_addr("127.1"));
-       printf("#else /""* MAIN_C *""/\n\n");
-       printf("extern OnMsg mcmd[];\n");
-       printf("extern OnMsg_access acmd[];\n\n");
-@@ -404,29 +404,29 @@
- 
- #ifdef BOTNET
-       combo.comboflags = 0; combo.x.noshare = 1;
--      fprintf(of,"#define COMBO_NOSHARE\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_NOSHARE\t0x%lx\n",combo.comboflags);
-       combo.comboflags = 0; combo.x.readonly = 1;
--      fprintf(of,"#define COMBO_READONLY\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_READONLY\t0x%lx\n",combo.comboflags);
- #endif /* BOTNET */
- 
- #ifdef GREET
-       combo.comboflags = 0; combo.x.greetfile = 1;
--      fprintf(of,"#define COMBO_GREETFILE\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_GREETFILE\t0x%lx\n",combo.comboflags);
-       combo.comboflags = 0; combo.x.randline = 1;
--      fprintf(of,"#define COMBO_RANDLINE\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_RANDLINE\t0x%lx\n",combo.comboflags);
- #endif /* GREET */
- 
- #ifdef BOUNCE
-       combo.comboflags = 0; combo.x.bounce = 1;
--      fprintf(of,"#define COMBO_BOUNCE\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_BOUNCE\t0x%lx\n",combo.comboflags);
- #endif /* BOUNCE */
- 
-       combo.comboflags = 0; combo.x.echo = 1;
--      fprintf(of,"#define COMBO_ECHO\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_ECHO\t0x%lx\n",combo.comboflags);
-       combo.comboflags = 0; combo.x.aop = 1;
--      fprintf(of,"#define COMBO_AOP\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_AOP\t0x%lx\n",combo.comboflags);
-       combo.comboflags = 0; combo.x.avoice = 1;
--      fprintf(of,"#define COMBO_AVOICE\t0x%x\n",combo.comboflags);
-+      fprintf(of,"#define COMBO_AVOICE\t0x%lx\n",combo.comboflags);
- 
-       fclose(of);
-       return(0);
-diff -Naur emech-3.0.99p3.org/src/function.c emech-3.0.99p3/src/function.c
---- emech-3.0.99p3.org/src/function.c  2009-05-17 20:25:29.000000000 -0000
-+++ emech-3.0.99p3/src/function.c      2018-03-17 11:41:15.224075216 -0000
-@@ -26,6 +26,7 @@
- #include "global.h"
- #include "h.h"
- #include "text.h"
-+#include "linux/limits.h"
- 
- LS char timebuf[24];          /* max format lentgh == 20+1, round up to 
nearest longword -> 24 */
- LS char idlestr[36];          /* max format lentgh == 24+1, round up to 
nearest longword -> 28 */

Reply via email to