Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203895 Details for
Bug 263897
x11-libs/libXt: Better patch for cross-compiling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
enables xcompilation of libXt-1.0.6
libXt-1.0.6-cross.patch (text/plain), 1.74 KB, created by
Martin Gysel (bearsh)
on 2009-09-13 01:06:09 UTC
(
hide
)
Description:
enables xcompilation of libXt-1.0.6
Filename:
MIME Type:
Creator:
Martin Gysel (bearsh)
Created:
2009-09-13 01:06:09 UTC
Size:
1.74 KB
patch
obsolete
>--- configure.ac.bak 2009-08-31 23:56:58.000000000 +0200 >+++ configure.ac 2009-08-31 23:57:29.000000000 +0200 >@@ -48,6 +48,12 @@ > fi > fi > AC_SUBST([CC_FOR_BUILD]) >+CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} >+AC_SUBST(CFLAGS_FOR_BUILD) >+LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} >+AC_SUBST(LDFLAGS_FOR_BUILD) >+ >+AM_CONDITIONAL(CROSS_COMPILING, [ test $cross_compiling = yes ]) > > PKG_CHECK_MODULES(XT, sm x11 xproto kbproto) > >--- util/Makefile.am.bak 2009-08-31 23:56:07.000000000 +0200 >+++ util/Makefile.am 2009-08-31 23:56:12.000000000 +0200 >@@ -1,11 +1,11 @@ > if INSTALL_MAKESTRS > bin_PROGRAMS = makestrs >+noinst_PROGRAMS = $(MAKESTRS_PROG) > else > noinst_PROGRAMS = makestrs >+noinst_PROGRAMS += $(MAKESTRS_PROG) > endif > >-CC = @CC_FOR_BUILD@ >- > EXTRA_DIST = \ > Shell.ht \ > StrDefs.ct \ >@@ -43,3 +43,12 @@ > > .man.$(APP_MAN_SUFFIX): > sed $(MAN_SUBSTS) < $< > $@ >+ >+if CROSS_COMPILING >+MAKESTRS_PROG=xmakestrs$(EXEEXT) >+ >+xmakestrs$(EXEEXT): makestrs.c >+ $(CC_FOR_BUILD) $(X11_CFLAGS) $(CPPFLAGS_FOR_BUILD) \ >+ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ makestrs.c >+endif >+ >--- src/Makefile.am.bak 2009-08-31 23:57:58.000000000 +0200 >+++ src/Makefile.am 2009-08-31 23:58:28.000000000 +0200 >@@ -92,12 +92,18 @@ > > STRING_LIST = $(top_srcdir)/util/string.list > >+if CROSS_COMPILING >+MAKESTRS=$(top_builddir)/util/xmakestrs >+else >+MAKESTRS=$(top_builddir)/util/makestrs >+endif >+ > all-local: $(BUILT_FILES) > > $(BUILT_HEADER): $(BUILT_SOURCE) > > $(BUILT_SOURCE): >- $(top_builddir)/util/makestrs -i $(top_srcdir) $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c >+ $(MAKESTRS) -i $(top_srcdir) $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c > mkdir -p $(top_builddir)/src > mkdir -p $(top_builddir)/include/X11 > cp StringDefs.h $(top_builddir)/include/X11
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 263897
:
186355
|
186364
|
186366
|
186804
| 203895 |
203896