diff options
author | Stefan Walter <stefan@FreeBSD.org> | 2006-07-30 11:57:00 +0000 |
---|---|---|
committer | Stefan Walter <stefan@FreeBSD.org> | 2006-07-30 11:57:00 +0000 |
commit | b2bd8088edf6b2de7ac82e09fe70c57969c2f340 (patch) | |
tree | 0071408783087c854fd3d5cf176dc418539007af /devel/libgnugetopt | |
parent | 6e12912deab37ed9a2f17dfdd10bcfbcc2528ea0 (diff) |
- Add a patch to allow compilation of print/hplip with libgnugetopt.
- Bump PORTREVISION.
PR: 99957
Submitted by: Steinar Børmer <steinar@gmx.net>
Patch by: Anish Mistry <amistry@am-productions.biz>
Approved by: arved (mentor)
Notes
Notes:
svn path=/head/; revision=169123
Diffstat (limited to 'devel/libgnugetopt')
-rw-r--r-- | devel/libgnugetopt/Makefile | 1 | ||||
-rw-r--r-- | devel/libgnugetopt/files/patch-getopt.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/libgnugetopt/Makefile b/devel/libgnugetopt/Makefile index 54a71bee690e..5201f0d72a38 100644 --- a/devel/libgnugetopt/Makefile +++ b/devel/libgnugetopt/Makefile @@ -13,6 +13,7 @@ PORTNAME= libgnugetopt PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= lioux diff --git a/devel/libgnugetopt/files/patch-getopt.h b/devel/libgnugetopt/files/patch-getopt.h new file mode 100644 index 000000000000..fc4b572b83ac --- /dev/null +++ b/devel/libgnugetopt/files/patch-getopt.h @@ -0,0 +1,11 @@ +--- getopt.h.orig Sun Jul 9 14:05:07 2006 ++++ getopt.h Sun Jul 9 14:14:23 2006 +@@ -111,7 +111,7 @@ + errors, only prototype getopt for the GNU C library. */ + extern int getopt (int argc, char *const *argv, const char *shortopts); + #else /* not __GNU_LIBRARY__ */ +-# if !defined (HAVE_DECL_GETOPT) ++# if !defined (HAVE_DECL_GETOPT) && !defined(__cplusplus) + extern int getopt (); + # endif + #endif /* __GNU_LIBRARY__ */ |