Browse Source

ncurses: fixed cross compiling by adding -D_GNU_SOURCE to BUILDCC_CFLAGS

user/chris/old/ruby
Christian Wiese 15 years ago committed by Christian Wiese
parent
commit
431d18dcf6
  1. 27
      base/ncurses/buildcc-define_gnu_source.patch

27
base/ncurses/buildcc-define_gnu_source.patch

@ -0,0 +1,27 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ncurses/buildcc-define_gnu_source.patch
# Copyright (C) 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ncurses-5.6/ncurses/Makefile.in.orig 2006-10-14 21:08:11.000000000 +0200
+++ ncurses-5.6/ncurses/Makefile.in 2010-03-04 10:12:20.314173792 +0100
@@ -94,7 +94,7 @@
BUILD_CPPFLAGS = -I../include @BUILD_CPPFLAGS@
BUILD_CC = @BUILD_CC@
-BUILD_CCFLAGS = -DHAVE_CONFIG_H -I../ncurses -I$(srcdir) -I$(INCDIR) $(BUILD_CPPFLAGS) @BUILD_CFLAGS@
+BUILD_CCFLAGS = -D_GNU_SOURCE -DHAVE_CONFIG_H -I../ncurses -I$(srcdir) -I$(INCDIR) $(BUILD_CPPFLAGS) @BUILD_CFLAGS@
BUILD_LDFLAGS = @BUILD_LDFLAGS@
BUILD_LIBS = @BUILD_LIBS@
Loading…
Cancel
Save