diff options
Diffstat (limited to 'devel/mime/files')
-rw-r--r-- | devel/mime/files/patch-Makefile.in | 44 | ||||
-rw-r--r-- | devel/mime/files/patch-header.c | 20 | ||||
-rw-r--r-- | devel/mime/files/patch-message.c | 33 | ||||
-rw-r--r-- | devel/mime/files/patch-util.c | 20 | ||||
-rw-r--r-- | devel/mime/files/patch-util.h | 10 |
5 files changed, 0 insertions, 127 deletions
diff --git a/devel/mime/files/patch-Makefile.in b/devel/mime/files/patch-Makefile.in deleted file mode 100644 index 001e138f8029..000000000000 --- a/devel/mime/files/patch-Makefile.in +++ /dev/null @@ -1,44 +0,0 @@ ---- ./Makefile.in.orig 2003-09-16 01:37:19.000000000 +0200 -+++ ./Makefile.in 2014-05-24 18:52:04.000000000 +0200 -@@ -60,7 +60,7 @@ - LIBDIR = @libdir@ - LIBOWN = 0 - LIBGRP = 0 --LIBMOD = 0444 -+LIBMOD = 0644 - INCDIR = @includedir@ - INCOWN = 0 - INCGRP = 0 -@@ -88,17 +88,15 @@ - $(POBJS) $(TPROG) $(TOBJS) .depend - - install: $(ARNAME) $(SONAME) $(PANAME) -- mkdir -p -m 755 $(LIBDIR) -+ mkdir -p -m 755 $(DESTDIR)$(LIBDIR) - for i in $(ARNAME) $(SONAME) $(PANAME); do \ -- cp $$i $(LIBDIR); \ -- chown $(LIBOWN):$(LIBGRP) $(LIBDIR)/$$i; \ -- chmod $(LIBMOD) $(LIBDIR)/$$i; \ -+ cp $$i $(DESTDIR)$(LIBDIR); \ -+ chmod $(LIBMOD) $(DESTDIR)$(LIBDIR)/$$i; \ - done -- mkdir -p -m 755 $(INCDIR) -+ mkdir -p -m 755 $(DESTDIR)$(INCDIR) - for i in $(INCS); do \ -- cp $$i $(INCDIR); \ -- chown $(INCOWN):$(INCGRP) $(INCDIR)/$$i; \ -- chmod $(INCMOD) $(INCDIR)/$$i; \ -+ cp $$i $(DESTDIR)$(INCDIR); \ -+ chmod $(INCMOD) $(DESTDIR)$(INCDIR)/$$i; \ - done - - depend: -@@ -116,7 +114,7 @@ - .SUFFIXES: - .SUFFIXES: .so .po .c .o - .c.so: -- $(CC) -fpic $(AFLAGS) -c $< -o $@ -+ $(CC) -fpic -fPIC $(AFLAGS) -c $< -o $@ - - .c.po: - $(CC) $(PROFILE) $(AFLAGS) -c $< -o $@ diff --git a/devel/mime/files/patch-header.c b/devel/mime/files/patch-header.c deleted file mode 100644 index 87a37e96c35a..000000000000 --- a/devel/mime/files/patch-header.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./header.c.orig 2003-09-16 01:37:19.000000000 +0200 -+++ ./header.c 2014-02-18 11:11:32.980337829 +0100 -@@ -67,7 +67,7 @@ - alc = 0; - - while (value < end) { -- crlf = memmem(value, end - value, crlfpair, strlen(crlfpair)); -+ crlf = memmemory(value, end - value, crlfpair, strlen(crlfpair)); - if (crlf == NULL) - goto fv_error; - -@@ -123,7 +123,7 @@ - * header line - */ - colon = memchr(header, ':', end - header); -- crlf = memmem(header, end - header, crlfpair, strlen(crlfpair)); -+ crlf = memmemory(header, end - header, crlfpair, strlen(crlfpair)); - - if (colon == NULL || crlf == NULL || colon > crlf) - goto mph_error; diff --git a/devel/mime/files/patch-message.c b/devel/mime/files/patch-message.c deleted file mode 100644 index 301ac69b6e63..000000000000 --- a/devel/mime/files/patch-message.c +++ /dev/null @@ -1,33 +0,0 @@ ---- ./message.c.orig 2003-09-16 01:37:19.000000000 +0200 -+++ ./message.c 2014-02-18 11:11:32.983337749 +0100 -@@ -89,7 +89,7 @@ - * XXX - need to be fixed to support "\r\n" - */ - bdcm = bd_makenorm(bd, crlfpair); -- bdlc = memmem(pos, len - (pos - msg), bdcm, strlen(bdcm)); -+ bdlc = memmemory(pos, len - (pos - msg), bdcm, strlen(bdcm)); - free(bdcm); - - if (bdlc != pos) { -@@ -144,10 +144,10 @@ - len -= strlen(strstr(bdnorm, "--")); - - for (;;) { -- ret = realloc(ret, sizeof *ret * *cnt + 1); -+ ret = realloc(ret, sizeof(*ret) * (*cnt + 1)); - -- if ((next = memmem(msg, len, bdnorm, bdnormlen)) == NULL) -- next = memmem(msg, len, bdtail, bdtaillen); -+ if ((next = memmemory(msg, len, bdnorm, bdnormlen)) == NULL) -+ next = memmemory(msg, len, bdtail, bdtaillen); - - ret[(*cnt)++] = mime_readmessage(msg, next - msg, crlfpair); - -@@ -272,6 +272,7 @@ - eqcnt++; - break; - default: -+ break; - } - } - diff --git a/devel/mime/files/patch-util.c b/devel/mime/files/patch-util.c deleted file mode 100644 index 1159aba63a17..000000000000 --- a/devel/mime/files/patch-util.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./util.c.orig 2003-09-16 01:37:19.000000000 +0200 -+++ ./util.c 2014-02-18 11:11:32.986338150 +0100 -@@ -31,7 +31,7 @@ - - #if 0 - char * --memmem(const char *big, int blen, const char *lit, int llen) -+memmemory(const char *big, int blen, const char *lit, int llen) - { - const char *pos; - -@@ -61,7 +61,7 @@ - } - - const char * --memmem(const char *T, size_t n, const char *P, size_t m) -+memmemory(const char *T, size_t n, const char *P, size_t m) - { - static unsigned int q = 4294967291u; - static unsigned int d = 256; diff --git a/devel/mime/files/patch-util.h b/devel/mime/files/patch-util.h deleted file mode 100644 index 582e8a8421e9..000000000000 --- a/devel/mime/files/patch-util.h +++ /dev/null @@ -1,10 +0,0 @@ ---- ./util.h.orig 2003-09-16 01:37:19.000000000 +0200 -+++ ./util.h 2014-02-18 11:11:32.989336888 +0100 -@@ -30,6 +30,6 @@ - #ifndef _UTIL_H_ - #define _UTIL_H_ - --char *memmem(const char *, int, const char *, int); -+char *memmemory(const char *, int, const char *, int); - - #endif |