Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167714 - x11-libs/libXrandr-1.2.0 installs broken Xrandr.h
Summary: x11-libs/libXrandr-1.2.0 installs broken Xrandr.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
: 167787 168411 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-20 04:21 UTC by Ginsu
Modified: 2007-02-26 11:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libXrandr-1.2.0-delete-keyword-usage.patch (libXrandr-1.2.0-delete-keyword-usage.patch,1.47 KB, patch)
2007-02-20 20:26 UTC, Doug Goldstein (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ginsu 2007-02-20 04:21:51 UTC
I installed libXrandr-1.2.0 today and then mythfrontend (which links to libXrandr) started to segfault on load.  I figured it was incompatibilities so I attempted to reemerge mythtv and I got the following error:

/usr/include/X11/extensions/Xrandr.h:299: error: expected ',' or '...' before 'delete'

Downgrading to libXrandr-1.1.2 stops mythfrontend from crashing.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-20 20:07:39 UTC
*** Bug 167787 has been marked as a duplicate of this bug. ***
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2007-02-20 20:26:34 UTC
Created attachment 110768 [details, diff]
libXrandr-1.2.0-delete-keyword-usage.patch

delete is being picked up as a C++ keyword in C++ apps, which is bad.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2007-02-20 20:34:18 UTC
Reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=10046
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2007-02-21 00:53:10 UTC
Thanks guys.  Committed as 1.2.0-r1.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 08:01:48 UTC
*** Bug 168411 has been marked as a duplicate of this bug. ***
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-02-26 08:19:41 UTC
joshuabaergen: 1.2.0-r1 is NOT in the tree, so I don't know where you commited to.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 11:10:39 UTC
(In reply to comment #6)
> joshuabaergen: 1.2.0-r1 is NOT in the tree, so I don't know where you commited
> to.

I guess your rsync/cvs checkout plain sucks. :)
 
*libXrandr-1.2.0-r1 (21 Feb 2007)

  21 Feb 2007; Joshua Baergen <joshuabaergen@gentoo.org>
  +files/libXrandr-1.2.0-delete-keyword-usage.patch,
  -libXrandr-1.2.0.ebuild, +libXrandr-1.2.0-r1.ebuild:
  Get rid of C++ symbol in Xrandr.h.  (Bug #167714; Ginsu for the report, Doug
  Goldstein for the patch)

Keywords for x11-libs/libXrandr:

         | a a a h i m m p p p s s s s x x 
         | l m r p a 6 i p p p 3 h p p 8 8 
         | p d m p 6 8 p c c c 9   a a 6 6 
         | h 6   a 4 k s   6 - 0   r r   - 
         | a 4             4 m     c c   f 
         |                   a       -   b 
         |                   c       f   s 
         |                   o       b   d 
         |                   s       s     
         |                           d     
---------+--------------------------------
1.1.1    | + + + + +   + + +   + + +   + ~ 
1.1.1-r1 | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~ ~   ~ ~ 
1.1.2    | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~ ~   ~ ~ 
1.2.0-r1 | ~ ~ ~ ~ ~   ~ ~ ~   ~ ~ ~   ~ ~