FreeBSD Bugzilla – Attachment 93968 Details for
Bug 132009
[PATCH] mail/smfsav: fix after strndup addition/MFC, remove BROKEN tag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
smfsav-1.4.0.patch
smfsav-1.4.0.patch (text/plain), 1.30 KB, created by
Florian Smeets
on 2009-02-23 14:40:04 UTC
(
hide
)
Description:
smfsav-1.4.0.patch
Filename:
MIME Type:
Creator:
Florian Smeets
Created:
2009-02-23 14:40:04 UTC
Size:
1.30 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/mail/smfsav.orig/Makefile /usr/ports/mail/smfsav/Makefile >--- /usr/ports/mail/smfsav.orig/Makefile 2009-02-13 10:51:06.000000000 +0100 >+++ /usr/ports/mail/smfsav/Makefile 2009-02-22 16:32:23.000000000 +0100 >@@ -56,10 +56,4 @@ > ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL > @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.pre.mk> >- >-.if ${OSVERSION} >= 800058 || (${OSVERSION} >= 701101 && ${OSVERSION} < 800000) >-BROKEN= does not build >-.endif >- >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -ruN --exclude=CVS /usr/ports/mail/smfsav.orig/files/patch-irpmarshall.c /usr/ports/mail/smfsav/files/patch-irpmarshall.c >--- /usr/ports/mail/smfsav.orig/files/patch-irpmarshall.c 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/ports/mail/smfsav/files/patch-irpmarshall.c 2009-02-23 14:22:58.000000000 +0100 >@@ -0,0 +1,16 @@ >+--- ../src/lib/irs/irpmarshall.c.orig 2009-02-22 15:17:43.000000000 +0000 >++++ ../src/lib/irs/irpmarshall.c 2009-02-22 15:25:53.000000000 +0000 >+@@ -89,6 +89,12 @@ >+ >+ #include "port_after.h" >+ >++#if defined(__FreeBSD__) >++#include <osreldate.h> >++#if __FreeBSD_version >= 800058 || __FreeBSD_version >= 701101 && __FreeBSD_version < 800000 >++#define HAVE_STRNDUP 1 >++#endif >++#endif >+ >+ #ifndef HAVE_STRNDUP >+ static char *strndup(const char *str, size_t len); >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132009
: 93968