Bug 149049 - [patch] editors/emacs-devel: silence warning: 'alloca' macro redefined
Summary: [patch] editors/emacs-devel: silence warning: 'alloca' macro redefined
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-28 23:50 UTC by swell.k
Modified: 2010-11-18 03:42 UTC (History)
0 users

See Also:


Attachments
a.diff (624 bytes, patch)
2010-07-28 23:50 UTC, swell.k
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description swell.k 2010-07-28 23:50:02 UTC
During build there is one noisy warining that affects every source file
that includes config.h.

How-To-Repeat: (same for gcc42 and gcc45)

  $ make
  ...
  clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H  -I. -I/a/pkgbuild/a/freebsd-ports/editors/emacs-devel/work/emacs-24.0.50.100884/src               -Wold-style-definition -Wdeclaration-after-statement -Wno-pointer-sign  -O2 -pipe -march=native -fno-strict-aliasing ccl.c
  In file included from ccl.c:27:
  ./config.h:1143:10: warning: 'alloca' macro redefined
  # define alloca __builtin_alloca
           ^
  In file included from ccl.c:27:
  In file included from ./config.h:1137:
  /usr/include/stdlib.h:233:9: note: previous definition is here
  #define alloca(sz) __builtin_alloca(sz)
          ^
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-07-28 23:50:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ashish

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-11-18 03:39:18 UTC
ashish      2010-11-18 03:39:13 UTC

  FreeBSD ports repository

  Modified files:
    .                    UPDATING 
    editors/emacs-devel  Makefile distinfo pkg-plist 
    editors/emacs-devel/files patch-configure 
                              patch-doc-emacs-Makefile.in 
                              patch-doc-lispintro-Makefile.in 
                              patch-doc-lispref-Makefile.in 
                              patch-doc-misc-Makefile.in 
  Added files:
    editors/emacs-devel/files patch-src_config.in 
  Log:
  - Update to bzr revision 102364.
  - Restore GTK2 option.
  - Enable IMAGEMAGICK option by default.
  - Add GNUTLS option.
  - Fix the issue with bad plist generation and mention it in UPDATING.
  - Include 'alloca' fix provided by swell.k@gmail.com [1].
  
  PR:             ports/149049[1]
  Submitted by:   swell.k@gmail.com[1]
  Approved by:    tabthorpe (mentor)
  
  Revision  Changes    Path
  1.990     +16 -1     ports/UPDATING
  1.45      +26 -9     ports/editors/emacs-devel/Makefile
  1.23      +2 -3      ports/editors/emacs-devel/distinfo
  1.3       +2 -2      ports/editors/emacs-devel/files/patch-configure
  1.4       +10 -16    ports/editors/emacs-devel/files/patch-doc-emacs-Makefile.in
  1.4       +11 -17    ports/editors/emacs-devel/files/patch-doc-lispintro-Makefile.in
  1.3       +12 -9     ports/editors/emacs-devel/files/patch-doc-lispref-Makefile.in
  1.4       +8 -5      ports/editors/emacs-devel/files/patch-doc-misc-Makefile.in
  1.1       +14 -0     ports/editors/emacs-devel/files/patch-src_config.in (new)
  1.24      +3 -1      ports/editors/emacs-devel/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Ashish SHUKLA freebsd_committer freebsd_triage 2010-11-18 03:42:51 UTC
State Changed
From-To: open->closed

Committed. Thanks!