FreeBSD Bugzilla – Attachment 27196 Details for
Bug 46212
Fixes build on a recent -CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
jigdo.patch
jigdo.patch (text/plain), 1.26 KB, created by
nagy.attila
on 2002-12-12 17:10:00 UTC
(
hide
)
Description:
jigdo.patch
Filename:
MIME Type:
Creator:
nagy.attila
Created:
2002-12-12 17:10:00 UTC
Size:
1.26 KB
patch
obsolete
>diff -ruN jigdo.bak/Makefile jigdo/Makefile >--- jigdo.bak/Makefile Thu Sep 19 22:17:58 2002 >+++ jigdo/Makefile Thu Dec 12 17:36:28 2002 >@@ -38,10 +38,16 @@ > #post-patch: > # @${REINPLACE_CMD} -e "s/gtk-config/${GTK_CONFIG}/g" ${WRKSRC}/configure > >+.include <bsd.port.pre.mk> >+ >+.if ${OSVERSION} >= 500041 >+EXTRA_PATCHES= ${FILESDIR}/extra-glibc-getopt.h >+.endif >+ > post-install: > @${STRIP_CMD} ${PREFIX}/bin/jigdo-file > > post-clean: > @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -ruN jigdo.bak/files/extra-glibc-getopt.h jigdo/files/extra-glibc-getopt.h >--- jigdo.bak/files/extra-glibc-getopt.h Thu Jan 1 01:00:00 1970 >+++ jigdo/files/extra-glibc-getopt.h Thu Dec 12 17:34:06 2002 >@@ -0,0 +1,23 @@ >+--- src/glibc-getopt.h.orig Fri Dec 6 08:24:36 2002 >++++ src/glibc-getopt.h Fri Dec 6 08:29:58 2002 >+@@ -37,12 +37,11 @@ >+ # define ELIDE_CODE >+ # endif >+ #endif >++#define ELIDE_CODE >+ #ifndef ELIDE_CODE >+ # define opterr my_opterr >+ # define optind my_optind >+ # define optopt my_optopt >+-#endif >+- >+ >+ #ifdef __cplusplus >+ extern "C" { >+@@ -186,5 +185,6 @@ >+ >+ /* Make sure we later can get all the definitions and declarations. */ >+ #undef __need_getopt >++#endif /* ELIDE_CODE */ >+ >+ #endif /* getopt.h */
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 46212
: 27196