ports/109091: make Xorg from x11-servers/xorg-server port to work on 7-CURRENT

Eygene Ryabinkin rea-fbsd at codelabs.ru
Mon Feb 19 08:20:17 UTC 2007


The following reply was made to PR ports/109091; it has been noted by GNATS.

From: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
To: Diabolo <diabolo at cafelug.org.ar>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/109091: make Xorg from x11-servers/xorg-server port to work on 7-CURRENT
Date: Mon, 19 Feb 2007 10:58:57 +0300

 > this file FreeBSD.cf doesnt exist
 
 OK, I was in rush and made a mistake. Attaching the proper patch
 to the files/patch-FreeBSD.cf
 --- patch-patch-FreeBSD.cf begins here ---
 --- patch-FreeBSD.cf.orig	Mon Feb 19 10:46:16 2007
 +++ patch-FreeBSD.cf	Mon Feb 19 10:45:52 2007
 @@ -1,5 +1,5 @@
 ---- config/cf/FreeBSD.cf.orig	Sun Aug 15 10:03:36 2004
 -+++ config/cf/FreeBSD.cf	Sun Feb  6 03:56:59 2005
 +--- FreeBSD.cf.orig	Wed May  4 08:14:57 2005
 ++++ FreeBSD.cf	Mon Feb 19 10:39:59 2007
  @@ -78,6 +78,7 @@
   #define HasIssetugid		YES
   #define HasPoll			YES
 @@ -59,9 +59,9 @@
   #  else
   #   define LibraryRpathLoadFlags	-R $(USRLIBDIRPATH)
   #  endif
 -@@ -442,7 +444,9 @@
 - #define AsVISOption		-Av9a
 - #define AsOutputArchSize	64
 +@@ -446,7 +448,9 @@
 + #ifdef PpcArchitecture
 + #define XF86INT10_BUILD		X86INT10_STUB
   #endif
  -
  +#ifdef PpcArchitecture
 @@ -70,7 +70,7 @@
   #define StandardDefines	-DCSRG_BASED
   
   #if OSMajorVersion > 1
 -@@ -463,18 +467,8 @@
 +@@ -467,18 +471,8 @@
   #define XawI18nDefines		-DUSE_XWCHAR_STRING -DUSE_XMBTOWC
   #endif
   
 @@ -91,3 +91,18 @@
   
   #ifndef PreIncDir
   # define PreIncDir	/usr/include
 +@@ -576,6 +570,14 @@
 + #if (GccMajorVersion == 2 && GccMinorVersion == 95)
 + #define GccOptBug295
 + #endif
 ++
 ++/*
 ++ * Add --export-dynamic flag for FreeBSD 7.x and later.
 ++ */
 ++#if OSMajorVersion >= 7
 ++#define ExtraLoadOptions -Wl,--export-dynamic
 ++#endif
 ++
 + 
 + #include <bsdLib.rules>
 + 
 --- patch-patch-FreeBSD.cf ends here ---
 
 > the file is patch-FreeBSD.cf i put that lines and rebuild xorg-server
 > and still have the issue.
 
 What port version do you have? What is the output from the
 'elfdump -a /usr/X11R6/bin/Xorg'.
 
 Szilveszter Adam has suggested another workaround, maybe you should
 try it. It is on the PR page now.
 -- 
 Eygene


More information about the freebsd-x11 mailing list