diff options
author | Josef Fröhle <github@josef-froehle.de> | 2018-12-29 14:44:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-31 14:44:45 +0000 |
commit | 8bdc689c2b5ad9fd53e4f301dcb18bf37e336421 (patch) | |
tree | 30153dbe1fac3b4411cce10c644c6fd26257d607 /main/libspf2/libspf2-libreplace-fix.patch | |
parent | a48553e706244b88d2af557f8b0cf9917c72c22d (diff) | |
download | aports-8bdc689c2b5ad9fd53e4f301dcb18bf37e336421.tar.bz2 aports-8bdc689c2b5ad9fd53e4f301dcb18bf37e336421.tar.xz |
main/libspf2: remove not need libreplace from source
Diffstat (limited to 'main/libspf2/libspf2-libreplace-fix.patch')
-rw-r--r-- | main/libspf2/libspf2-libreplace-fix.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/main/libspf2/libspf2-libreplace-fix.patch b/main/libspf2/libspf2-libreplace-fix.patch deleted file mode 100644 index 4f7c63a2fe..0000000000 --- a/main/libspf2/libspf2-libreplace-fix.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff --git a/src/libreplace/__ns_initparse.c b/src/libreplace/__ns_initparse.c -index 10a7c9c..f22fa09 100644 ---- a/src/libreplace/__ns_initparse.c -+++ b/src/libreplace/__ns_initparse.c -@@ -52,26 +52,6 @@ static void setsection(ns_msg *msg, ns_sect sect); - - /* Public. */ - --/* These need to be in the same order as the nres.h:ns_flag enum. */ --struct _ns_flagdata _ns_flagdata[16] = { -- { 0x8000, 15 }, /* qr. */ -- { 0x7800, 11 }, /* opcode. */ -- { 0x0400, 10 }, /* aa. */ -- { 0x0200, 9 }, /* tc. */ -- { 0x0100, 8 }, /* rd. */ -- { 0x0080, 7 }, /* ra. */ -- { 0x0040, 6 }, /* z. */ -- { 0x0020, 5 }, /* ad. */ -- { 0x0010, 4 }, /* cd. */ -- { 0x000f, 0 }, /* rcode. */ -- { 0x0000, 0 }, /* expansion (1/6). */ -- { 0x0000, 0 }, /* expansion (2/6). */ -- { 0x0000, 0 }, /* expansion (3/6). */ -- { 0x0000, 0 }, /* expansion (4/6). */ -- { 0x0000, 0 }, /* expansion (5/6). */ -- { 0x0000, 0 }, /* expansion (6/6). */ --}; -- - int - ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { - const u_char *optr = ptr; -diff --git a/src/libreplace/__ns_msg_getflag.c b/src/libreplace/__ns_msg_getflag.c -index 19bfb88..a46c017 100644 ---- a/src/libreplace/__ns_msg_getflag.c -+++ b/src/libreplace/__ns_msg_getflag.c -@@ -11,6 +11,25 @@ - #include "arpa_nameser.h" - - -+/* These need to be in the same order as the nres.h:ns_flag enum. */ -+struct _ns_flagdata _ns_flagdata[16] = { -+ { 0x8000, 15 }, /* qr. */ -+ { 0x7800, 11 }, /* opcode. */ -+ { 0x0400, 10 }, /* aa. */ -+ { 0x0200, 9 }, /* tc. */ -+ { 0x0100, 8 }, /* rd. */ -+ { 0x0080, 7 }, /* ra. */ -+ { 0x0040, 6 }, /* z. */ -+ { 0x0020, 5 }, /* ad. */ -+ { 0x0010, 4 }, /* cd. */ -+ { 0x000f, 0 }, /* rcode. */ -+ { 0x0000, 0 }, /* expansion (1/6). */ -+ { 0x0000, 0 }, /* expansion (2/6). */ -+ { 0x0000, 0 }, /* expansion (3/6). */ -+ { 0x0000, 0 }, /* expansion (4/6). */ -+ { 0x0000, 0 }, /* expansion (5/6). */ -+ { 0x0000, 0 }, /* expansion (6/6). */ -+}; - - int __ns_msg_getflag(ns_msg handle, int flag) { - return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); |