Bug 113601 - x11-servers/xorg-server: fix build on alpha
Summary: x11-servers/xorg-server: fix build on alpha
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: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-11 22:00 UTC by Christian Weisgerber
Modified: 2008-01-02 13:00 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.82 KB, patch)
2007-06-11 22:00 UTC, Christian Weisgerber
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Weisgerber freebsd_committer freebsd_triage 2007-06-11 22:00:04 UTC
x11-servers/xorg-server fails to build on FreeBSD/alpha.  Patch
attached.  libio needs to be linked in in a few places (this was
lost during the modular Xorg update), an include directory was
missing, and contradictory function definitions clash.  For what
it's worth, OpenBSD has made equivalent changes.

(The server still doesn't work for me--it drops my PC164 into SRM
and in such a confused state that power-cycling is required--but
at least it builds so people can perform the Xorg update as described
and use remote X11.)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-11 22:00:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-x11

Over to maintainer
Comment 2 Florent Thoumie freebsd_committer freebsd_triage 2007-09-14 14:25:06 UTC
State Changed
From-To: open->feedback

Does the same patch work for xorg-server 1.4?  The xorgcfg part is now 
irrelevant, it's not build and/or installed anymore.
Comment 3 Florent Thoumie 2007-10-29 15:34:01 UTC
Is the second part of patch-configure needed? The first one has been 
committed to the fd.o repository already.

I've disconnected xorg-server from the xorg build on alpha so the main 
problem has been fixed.

-- 
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer
Comment 4 Christian Weisgerber freebsd_committer freebsd_triage 2007-11-07 18:35:16 UTC
Florent Thoumie:

> Is the second part of patch-configure needed? The first one has been 
> committed to the fd.o repository already.

Yes, it is needed.  Without it, the build bails here:

 cc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../hw/xfree86 -I../../.
./../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86
/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -DUSESTDRES
 -DHAVE_XORG_CONFIG_H -I/usr/local/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-a
rith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-ex
terns -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_TH
READ_SAFE -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include -I/usr/local/include
/freetype2 -I/usr/local/include/pixman-1 -I/usr/local/include/hal -I/usr/local/i
nclude/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I../../../../include -I..
/../../../include -I../../../../Xext -I../../../../composite -I../../../../damag
eext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/
shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../
../../../fb -O -pipe -mcpu=ev56 -mieee -MT alpha_video.lo -MD -MP -MF .deps/alph
a_video.Tpo -c alpha_video.c  -fPIC -DPIC -o .libs/alpha_video.o
alpha_video.c:44:21: xf86Axp.h: No such file or directory

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de
Comment 5 dfilter service freebsd_committer freebsd_triage 2008-01-02 12:58:10 UTC
flz         2008-01-02 12:58:05 UTC

  FreeBSD ports repository

  Modified files:
    x11-servers/xorg-server Makefile 
  Added files:
    x11-servers/xorg-server/files extra-arch-alpha 
                                  extra-arch-powerpc 
  Log:
  - Add local patch to fix alpha build. [1]
  - Add local patch to fix powerpc build. [2][3]
  - Fix OPTIONS handling for SUID option. [4]
  
  PR:             ports/113601 [1], ports/118850 [2],
                  ports/118851 [3], ports/119012 [4]
  Submitted by:   naddy [1], grehan [2][3],
                  Dmitry Marakasov [4]
  
  Revision  Changes    Path
  1.51      +4 -2      ports/x11-servers/xorg-server/Makefile
  1.1       +11 -0     ports/x11-servers/xorg-server/files/extra-arch-alpha (new)
  1.1       +25 -0     ports/x11-servers/xorg-server/files/extra-arch-powerpc (new)
_______________________________________________
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 6 Florent Thoumie freebsd_committer freebsd_triage 2008-01-02 12:59:24 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!