mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Fix build with gcc 4.2
PR: 118900 Submitted by: Pietro Cerutti <gahr@gahr.ch>
This commit is contained in:
parent
9da8f65ee6
commit
ca684388d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204307
@ -26,14 +26,8 @@ CONFIGURE_ENV= glibpath="${GLIB_CONFIG}" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Broken with gcc 4.2
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
||||
${WRKSRC}/configure ${WRKSRC}/libmutt/configure
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
11
news/grn/files/patch-libmutt_keymap.h
Normal file
11
news/grn/files/patch-libmutt_keymap.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- libmutt/keymap.h.orig 2007-12-20 19:31:26.000000000 +0100
|
||||
+++ libmutt/keymap.h 2007-12-20 19:32:04.000000000 +0100
|
||||
@@ -77,7 +77,7 @@
|
||||
/* dokey() records the last real key pressed */
|
||||
extern int LastKey;
|
||||
|
||||
-extern struct mapping_t Menus[];
|
||||
+extern struct mapping_t *Menus;
|
||||
|
||||
struct binding_t
|
||||
{
|
8
news/grn/files/patch-libmutt_sort.h
Normal file
8
news/grn/files/patch-libmutt_sort.h
Normal file
@ -0,0 +1,8 @@
|
||||
--- libmutt/sort.h.orig 2007-12-20 19:32:43.000000000 +0100
|
||||
+++ libmutt/sort.h 2007-12-20 19:32:55.000000000 +0100
|
||||
@@ -45,4 +45,4 @@
|
||||
WHERE short SortAux INITVAL (SORT_DATE); /* auxiallary sorting method */
|
||||
WHERE short SortAlias INITVAL (SORT_ALIAS);
|
||||
|
||||
-extern const struct mapping_t SortMethods[];
|
||||
+extern const struct mapping_t *SortMethods;
|
Loading…
Reference in New Issue
Block a user