<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>16267</bug_id>
          
          <creation_ts>2003-02-24 05:06 0000</creation_ts>
          <short_desc>glibc 2.3.2pre1 breaks &apos;extern int errno&apos;</short_desc>
          <delta_ts>2003-07-30 15:40:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P1</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>16344</blocked>
    
    <blocked>16355</blocked>
    
    <blocked>16363</blocked>
    
    <blocked>16370</blocked>
    
    <blocked>16396</blocked>
    
    <blocked>16420</blocked>
    
    <blocked>16436</blocked>
    
    <blocked>16444</blocked>
    
    <blocked>16450</blocked>
    
    <blocked>16480</blocked>
    
    <blocked>16715</blocked>
    
    <blocked>16798</blocked>
    
    <blocked>16801</blocked>
    
    <blocked>16804</blocked>
    
    <blocked>17012</blocked>
    
    <blocked>17013</blocked>
    
    <blocked>17187</blocked>
    
    <blocked>17744</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@pureftpd.org</reporter>
          <assigned_to>azarah@gentoo.org</assigned_to>
          <cc>aoyu93@dsl.pipex.com</cc>
    
    <cc>brain@gentoo.org</cc>
    
    <cc>brandon.grace@yahoo.com</cc>
    
    <cc>cycloon@linux-de.org</cc>
    
    <cc>david+gentoo.org@blue-labs.org</cc>
    
    <cc>farcepest@gmail.com</cc>
    
    <cc>gabor@nekomancer.net</cc>
    
    <cc>gcadieux@robertetusa.com</cc>
    
    <cc>gurligebis@gentoo.org</cc>
    
    <cc>iggy@gentoo.org</cc>
    
    <cc>jhhudso@gentoo.org</cc>
    
    <cc>moonwalker@astro.nu</cc>
    
    <cc>nikai@nikai.net</cc>
    
    <cc>nsankar@broadcom.com</cc>
    
    <cc>rigo@MED1A.nl</cc>
    
    <cc>tbekel@web.de</cc>
    
    <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo@pureftpd.org</who>
            <bug_when>2003-02-24 05:06:54 0000</bug_when>
            <thetext>Qmail, Daemontools and djbDNS assumes that &quot;errno&quot; can be defined as &quot;extern int
errno;&quot;.

This is a broken assertion.

When Glibc 2.3.2pre1 is emerged, all DJB software immediately stop working.

And compilation doesn&apos;t work any more, because &quot;errno&quot; is no more defined as a
global symbol.

Fix : add patches for all DJB software to  #include &lt;errno.h&gt; and remove &quot;extern
int errno&quot;

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 12:12:29 0000</bug_when>
            <thetext>dosfstools breaks too ... 
az: shall we just handle this on a case by case basis ? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 12:12:50 0000</bug_when>
            <thetext>*** Bug 16344 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 12:20:41 0000</bug_when>
            <thetext>*** Bug 16355 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sami.nieminen@iki.fi</who>
            <bug_when>2003-02-25 12:30:20 0000</bug_when>
            <thetext>glimpse (4.15) ebuild also fails with &apos;undefined reference to errno&apos;. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 13:04:38 0000</bug_when>
            <thetext>daemontools is also broken ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 13:10:58 0000</bug_when>
            <thetext>in light of these issues, imo this version of glibc should be masked asap ... 
 
any thought on how it&apos;ll affect binary packages ?  we can patch source code of 
programs but we cant really patch binary packages (vmware) ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>farcepest@gmail.com</who>
            <bug_when>2003-02-25 14:22:32 0000</bug_when>
            <thetext>Created an attachment (id=8716)
Fix errno

Fix use of errno by including errno.h</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>farcepest@gmail.com</who>
            <bug_when>2003-02-25 14:24:56 0000</bug_when>
            <thetext>Created an attachment (id=8717)
Fix ebuild 

Apply errno patch, minor spacing cleanup</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>farcepest@gmail.com</who>
            <bug_when>2003-02-25 14:27:29 0000</bug_when>
            <thetext>Note that the above patches will NOT break building under older glibc versions.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sami.nieminen@iki.fi</who>
            <bug_when>2003-02-25 15:46:14 0000</bug_when>
            <thetext>Created an attachment (id=8719)
Patch to make glimpse compile with new glibc

Attached patch makes glimpse compile with new glibc 2.3.2pre1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sami.nieminen@iki.fi</who>
            <bug_when>2003-02-25 15:48:07 0000</bug_when>
            <thetext>Created an attachment (id=8720)
New ebuild for glimpse that uses errno patch

Attached ebuild uses errno.diff to patch glimpse to compile with new glibc
2.3.2pre1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 16:37:29 0000</bug_when>
            <thetext>*** Bug 16370 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2003-02-25 17:51:40 0000</bug_when>
            <thetext>Yep, havent looked at this yet, but we will have to handle it case by case.

Basically a problem that you need to include errno.h, and not declare errno
external.  I already added patches to net-nds/portmap and x11-misc/xloadimage
at the beginning of the year when I did some testing on glibc-2.3.2 cvs.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 19:45:39 0000</bug_when>
            <thetext>that is fine but what about binary only packages ?
vmware breaks with the new glibc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 19:47:54 0000</bug_when>
            <thetext>also, i still maintain that the new glibc should be masked due to the sheer volume of broken ebuilds ...

yes we patch them, but we do it on developer boxes and not let the users experience this too</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2003-02-25 23:27:52 0000</bug_when>
            <thetext>Ok, I thought ~ was for developers, and users that *wanted to help test* 
developmental stuff ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-25 23:48:39 0000</bug_when>
            <thetext>yes, ~ is for testing/development, but package.mask is for broken (which is what this is) </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2003-02-26 02:51:33 0000</bug_when>
            <thetext>I am sorry, but the glibc developers do not consider this as broken.  It will
be the same in 2.3.2 official, and following versions.  And this is what &apos;~&apos;
if for .. we fix things now for when 2.3.2 is officially out.  Do you want this
chaos when 2.3.2 is actually out ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-26 03:05:37 0000</bug_when>
            <thetext>i wasnt suggesting we mask it now and forever ...
i was suggesting we package.mask it and then on our own dev boxes we try to emerge
and patch as many packages as possible ... you can tell there are, and will be,
plenty of packages that break ...

then, we patched a large number of ebuild&apos;s, we release it to ~ and let all the
other random users report the packages we missed ...

however, we still need some kind of solution for older binary only packages ...
even if it&apos;s like hacking something into lib-compat ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-26 04:01:17 0000</bug_when>
            <thetext>*** Bug 16396 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nsankar@broadcom.com</who>
            <bug_when>2003-02-26 16:21:21 0000</bug_when>
            <thetext>There is a hack available for vmware. It is described in in vmware.for-linux.experimental which I am copying below. It works for me with the
caveat that for non root users, LD_PRELOAD clears suid. vmware needs suid access
to /dev/misc/vmmon and /dev/tty0 and /dev/tty7(tty on which current X is running). 
I had to change the permissions on these to a+rw for vmware to run as non-root.
It will complain about /dev/tty8 and not having permission to run full-screen. However changing permissions on tty8 does not seem to work. I don&apos;t rung full-screen, so not an issue for me, but may be problems for others. 
From researching on the web, I believe it is correct for LD_PRELOAD to clear
suid. vmware-ui and vmware-mks have suid propagated to them from vmware.
However the LD_PRELOAD, breaks the chain.
I don&apos;t know what problems can be created by changing the permissions on the 
tty0 and tty7. So far I haven&apos;t seen any. But I am on a non-secure workstation. If security is important, this might be an issue. Hopefully vmware will
release a patch sometime soon, as redhat 8.1 I believe will require that. Otherwise they might just move people to version 4.0 which is in beta now.
Naren
------------------------------------------------

In the interest of posterity (and helping anyone else using vmware with
rawhide glibc), here&apos;s what ended up working.

Compile the attached file q.c into q.so.  Put q.so into /usr/lib/, and
chmod it 555.  Then rename the files /usr/lib/vmware/bin/vmware-{ui,mks},
giving them a &quot;.bin&quot; extension.  Then create two new files named
/usr/lib/vmware/bin/vmware-{ui,mks} instead that contain:
-------------------
#!/bin/bash
LD_PRELOAD=q.so exec &quot;$0.bin&quot; &quot;$@&quot;
-------------------

chmod a+rx these new files, and all should be well.

The basic problem is that vmware binaries have their own copy of errno and
related functions, and there is a clash with the new glibc ones.  q.so will
resolve this problem.  The need for the scripts above arises from the fact
that each of the binaries launched by the initial /usr/bin/vmware call
needs to have the q.so preloaded.  

q.c was written by Petr Vendrovec, and many thanks go to him for the work
he put into the debugging of the problem and the attached code!

In summary, q.c qorreqts the formerly inqurable qrashes.

Cheers,
-- 
  Ami Fischman
  usenet@fischman.org

-------------------------------------------------------
/*
 * Build with: gcc -W -Wall -shared -o q.so q.c
 */

#include &lt;dlfcn.h&gt;
#include &lt;sys/mman.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;stdio.h&gt;

void go(void) __attribute__((constructor));

void go(void) {
 void* qh;
 unsigned char *__real_errno_location, *__vm_errno_location;

 qh = dlopen(&quot;libc.so.6&quot;, RTLD_GLOBAL);
 __real_errno_location = dlsym(qh, &quot;__errno_location&quot;);
 __vm_errno_location = dlsym(NULL, &quot;__errno_location&quot;);
 printf(&quot;Got eroloc %p &amp; %p\n&quot;, __vm_errno_location, __real_errno_location);
 if (__real_errno_location &amp;&amp; __vm_errno_location &amp;&amp; __real_errno_location != __vm_errno_location) {
  unsigned int errnobase = (int)__vm_errno_location;
  unsigned int mpbase = errnobase &amp; ~0xFFF;
  unsigned int mplen = 4096;

  if (errnobase + 5 &gt; mpbase + mplen) {
   mplen = mplen + 4096;
  }
  mprotect((void*)mpbase, mplen, PROT_READ|PROT_WRITE|PROT_EXEC);
  *__vm_errno_location = 0xE9;
  *(int*)(__vm_errno_location + 1) = __real_errno_location - __vm_errno_location - 5;
  mprotect((void*)mpbase, mplen, PROT_READ|PROT_EXEC);
 }
} 

----------------------------------</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nsankar@broadcom.com</who>
            <bug_when>2003-02-26 16:25:07 0000</bug_when>
            <thetext>Another comment. There is an ongoing discussion on the wine lists as to how to solve this. This is a problem for wine. So wine will not work at this time, and the last I know there is no real solution for this yet. The same is true for the mono compiler and tools. There are issues there, and the wine and mono teams are trying to figure out a solutions.
look at the following for more information.
http://www.winehq.com/news/?view=155#Threading%20Problems%20with%20glibc%202.3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-26 17:48:03 0000</bug_when>
            <thetext>*** Bug 16420 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>farcepest@gmail.com</who>
            <bug_when>2003-02-26 18:54:26 0000</bug_when>
            <thetext>Idea: Is it feasible to create an eclass that would facilitate fixing source files, changing &quot;extern int errno;&quot; to &quot;#include &lt;errno.h&gt;&quot; during the src_unpack stage? i.e.

# grep pattern intentionally loose
find ${S} -type f -name &apos;*.[ch]&apos; | xargs grep -l errno | while read f; do
    einfo &quot;Fixing errno usage in ${f}&quot;
    mv ${f} ${f}.orig
    # why are sed regexes so lame?
    perl -p -e &apos;s|(extern\W+int\W+errno\W*;)|/* \1 */\n#include &lt;errno.h&gt;\n|;&apos; \
        &lt;${f}.orig &gt;${f}
done

Then the ebuilds of packages with problems just need to inherit fix_errno (or whatever) and we don&apos;t need a bazillion patches everywhere.

I&apos;ve tested the above script on qmail and it works correctly. I think it will work on the majority of cases.

BTW, looks like mysql is another app that breaks with glibc-2.3.2. (I only tried 4.0.11a, but certainly older versions are affected as well.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-26 20:56:04 0000</bug_when>
            <thetext>well, in addition to fixing it, we should be talking to upstream maintainers about this bug </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-27 01:35:42 0000</bug_when>
            <thetext>glimpse fixed in cvs

http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-misc/glimpse/glimpse-4.15-r1.ebuild?rev=1.1&amp;content-type=text/vnd.viewcvs-markup
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-misc/glimpse/files/4.15-errno.patch?rev=1.1&amp;content-type=text/vnd.viewcvs-markup</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gullevek@gullevek.org</who>
            <bug_when>2003-03-01 23:39:01 0000</bug_when>
            <thetext>kerberos5 1.2.7 is also affected by the glibc bug. I tried to ship around with -DHAVE_ERRNO_AS_DEFINE=1 but it didn&apos;t work.
I submited a seperate bug for kerberos5 1.2.7 itself</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fisi.tilman.klar@gmx.de</who>
            <bug_when>2003-03-05 07:59:19 0000</bug_when>
            <thetext>*** Bug 16355 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nospam@dolney.com</who>
            <bug_when>2003-03-06 18:16:26 0000</bug_when>
            <thetext>The Intel Fortran Compiler, ifc, is also broken by this. Presumably also their C Compiler, icc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nsankar@broadcom.com</who>
            <bug_when>2003-03-06 18:20:53 0000</bug_when>
            <thetext>The intel c/c++ compiler icc &amp; icpc Version 7.0   Build 20030212Z
works without any problems on glibc 2.3.2. I have built an internal project on this and it is running with no bugs so far.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cloos@jhcloos.com</who>
            <bug_when>2003-03-06 21:15:22 0000</bug_when>
            <thetext>Another package affected by this is ezm3, needed to compile cvsup.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>overvolting@hotmail.com</who>
            <bug_when>2003-03-07 16:32:03 0000</bug_when>
            <thetext>any updates on the wine situation? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nsankar@broadcom.com</who>
            <bug_when>2003-03-07 16:35:12 0000</bug_when>
            <thetext>The last I read, for wine they are still working on a solution. The reason for the delay is the intent to also fix the threading model which is definitely more work.
So for now, people needing wine should not upgrade glibc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ribo@system42.net</who>
            <bug_when>2003-03-10 19:35:55 0000</bug_when>
            <thetext>fix:
while OOo is extracting add this line:

#include &lt;errno.h&gt;


to this file:

/var/tmp/portage/openoffice-1.0.2/work/oo_1.0.2_src/dmake/extern.h</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ribo@system42.net</who>
            <bug_when>2003-03-10 19:41:22 0000</bug_when>
            <thetext>^ for openoffice that is. fixes the dmake error</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2003-03-11 13:15:24 0000</bug_when>
            <thetext>Right, we should just replace all declarations of errno with &apos;#include &lt;errno.h&gt;&apos;.

What binary packages except for WineX (the one you pay for), and VMWare are 
affected ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>moonwalker@astro.nu</who>
            <bug_when>2003-03-16 08:07:31 0000</bug_when>
            <thetext>Sorry but please explain this to me... How come glibc developers don&apos;t consider this 
broken? There is appearently a change in 2.3.2 that breaks a majority of apps even if 
they are compiled with the latest gnu compiler... but seam to work some none-gnu 
ones... Then this must be a gcc bug then really or? 
 
To me keep on adding patches to apps making them work seam to be a temporary 
solution not THE solution? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2003-03-16 10:26:54 0000</bug_when>
            <thetext>Its rather simple:  all programs that was coded like so:

------------ broken code ----------------
extern int errno;
-----------------------------------------

breaks.  The right way (and why the glibc devs do not really bother), is to
include errno.h like so:

------------- the right way --------------
#include &lt;errno.h&gt;
------------------------------------------

System header files is there for a reason, and doing things like
declaring &apos;errno&apos; as an &apos;extern int&apos; when the proper system header
do exist, is just wrong (or in the glibc devs&apos;s books).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>malverian@gentoo.org</who>
            <bug_when>2003-03-16 13:45:15 0000</bug_when>
            <thetext>Crossover 1.2 is affected, I believe 1.3 suffers from the problem as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wmertens@gentoo.org</who>
            <bug_when>2003-03-17 08:03:54 0000</bug_when>
            <thetext>Fixed krb5-1.2.7 ebuild with a construct like in comment 24. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gurligebis@gentoo.org</who>
            <bug_when>2003-03-21 17:50:04 0000</bug_when>
            <thetext>libmpeg3-1.5-r1 also has this problem. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cycloon@linux-de.org</who>
            <bug_when>2003-03-26 15:50:46 0000</bug_when>
            <thetext>what about the wine thing? could wie just replace the wrong errno things in code? or any other fix?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fisi.tilman.klar@gmx.de</who>
            <bug_when>2003-03-30 11:18:40 0000</bug_when>
            <thetext>Got a quick fix for wine* from irc:
&apos;export LD_ASSUME_KERNEL=2.2.5&apos; before you run wine.

Thanks to taviso in #gentoo.

The related url is: http://www.winehq.com/index.php?issue=163#Making%20Wine%20Run%20With%20glibc%202.3

-phoen][x-</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2003-05-18 09:26:06 0000</bug_when>
            <thetext>Ok, I was a bit busy, but I&apos;ll try now to get to everything.  Could you
guys add a bug for all packages that is affected by this?  I can then
start sorting them out.

NOTE: please add a *new* bug, with me as owner.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-05-22 18:43:13 0000</bug_when>
            <thetext>*** Bug 16406 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nate@nutopia.org</who>
            <bug_when>2003-07-06 16:40:48 0000</bug_when>
            <thetext>In xloadimage, I had to add:
#include &lt;errno.h&gt;
to the top of img.c in order for it to compile as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rigo@MED1A.nl</who>
            <bug_when>2003-07-07 01:33:06 0000</bug_when>
            <thetext>app-games/mindless-1.2 as well (needed to include errno.h in http_fetcher.c)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-07-27 22:58:12 0000</bug_when>
            <thetext>glibc-2.3.2 is marked stable, all packages are out w/errno fixes, and we should be 
good to go :) 
 
nice work all </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tantive@gentoo.org</who>
            <bug_when>2003-07-30 15:40:20 0000</bug_when>
            <thetext>*** Bug 22248 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>8716</attachid>
            <date>2003-02-25 14:22 0000</date>
            <desc>Fix errno (djbdns)</desc>
            <filename>error.h.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGVycm9yLmgub3JpZwkyMDAxLTAyLTExIDE2OjExOjQ1LjAwMDAwMDAwMCAtMDUwMAorKysg
ZXJyb3IuaAkyMDAzLTAyLTI1IDE0OjE4OjM0LjAwMDAwMDAwMCAtMDUwMApAQCAtMSw3ICsxLDcg
QEAKICNpZm5kZWYgRVJST1JfSAogI2RlZmluZSBFUlJPUl9ICiAKLWV4dGVybiBpbnQgZXJybm87
CisjaW5jbHVkZSA8ZXJybm8uaD4KIAogZXh0ZXJuIGludCBlcnJvcl9pbnRyOwogZXh0ZXJuIGlu
dCBlcnJvcl9ub21lbTsK
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>8717</attachid>
            <date>2003-02-25 14:24 0000</date>
            <desc>Fix ebuild (djbdns)</desc>
            <filename>djbdns.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRqYmRucy0xLjA1LXI2LmVidWlsZAkyMDAzLTAyLTIzIDE1OjIxOjMxLjAwMDAwMDAwMCAt
MDUwMAorKysgZGpiZG5zLTEuMDUtcjcuZWJ1aWxkCTIwMDMtMDItMjUgMTQ6MDQ6NDUuMDAwMDAw
MDAwIC0wNTAwCkBAIC0yNiw4ICsyNiw5IEBACiAJdW5wYWNrICR7QX0KIAkKIAljZCAke1N9CisJ
ZXBhdGNoICR7RklMRVNESVJ9L2Vycm9yLmgucGF0Y2gKIAllcGF0Y2ggJHtESVNURElSfS9kamJk
bnMtMS4wNC1md2R6b25lLnBhdGNoCi0JZXBhdGNoICAke0RJU1RESVJ9L3JvdW5kLXJvYmluLnBh
dGNoCisJZXBhdGNoICR7RElTVERJUn0vcm91bmQtcm9iaW4ucGF0Y2gKIAogCXVzZSBpcHY2ICYm
IGVwYXRjaCAke1dPUktESVJ9L2RqYmRucy0xLjA1LWlwdjYtZ2VudG9vLmRpZmYKIH0K
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>8719</attachid>
            <date>2003-02-25 15:46 0000</date>
            <desc>Patch to make glimpse compile with new glibc</desc>
            <filename>errno.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXdyIGdsaW1wc2UtNC4xNS5vcmlnL2FncmVwL2FncmVwLmMgZ2xpbXBzZS00LjE1L2Fn
cmVwL2FncmVwLmMKLS0tIGdsaW1wc2UtNC4xNS5vcmlnL2FncmVwL2FncmVwLmMJMjAwMy0wMi0y
NSAyMjoyOTowNi4wMDAwMDAwMDAgKzAyMDAKKysrIGdsaW1wc2UtNC4xNS9hZ3JlcC9hZ3JlcC5j
CTIwMDMtMDItMjUgMjI6Mjc6NTQuMDAwMDAwMDAwICswMjAwCkBAIC0xMSw3ICsxMSw2IEBACiAj
ZGVmaW5lIFBSSU5UKHMpCiAKIGV4dGVybiBjaGFyICoqZW52aXJvbjsKLWV4dGVybiBpbnQgZXJy
bm87CiBpbnQgcGF0dGVybl9pbmRleDsJLyogaW5kZXggaW4gYXJndiB3aGVyZSB0aGUgcGF0dGVy
biBpcyAqLwogCiBpbnQgZ2xpbXBzZV9pc3NlcnZlcj0wOwkvKiBzbyB0aGF0IHRoZXJlIGlzIG5v
IHVzZXIgaW50ZXJhY3Rpb24gKi8KZGlmZiAtdXdyIGdsaW1wc2UtNC4xNS5vcmlnL2FncmVwL2No
ZWNrc2cuYyBnbGltcHNlLTQuMTUvYWdyZXAvY2hlY2tzZy5jCi0tLSBnbGltcHNlLTQuMTUub3Jp
Zy9hZ3JlcC9jaGVja3NnLmMJMjAwMy0wMi0yNSAyMjoyOTowNi4wMDAwMDAwMDAgKzAyMDAKKysr
IGdsaW1wc2UtNC4xNS9hZ3JlcC9jaGVja3NnLmMJM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ZXJuIGludCBlcnJubzsK
IAogY2hhciBwYXRidWZbTUFYX1BBVF07CiBleHRlcm4gdW5zaWduZWQgY2hhciAqc3JjX2luZGV4
X2J1ZjsK
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>8720</attachid>
            <date>2003-02-25 15:48 0000</date>
            <desc>New ebuild for glimpse that uses errno patch</desc>
            <filename>glimpse-4.15-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L2FwcC1taXNjL2dsaW1wc2UvZ2xp
bXBzZS00LjE1LmVidWlsZCx2IDEuMTAgMjAwMy8wMi8yMiAyMjo0Mjo0NSBkcmFnb24gRXhwICQK
CmluaGVyaXQgZXV0aWxzCgpERVNDUklQVElPTj0iQSBpbmRleC9xdWVyeSBzeXN0ZW0gdG8gc2Vh
cmNoIGEgbGFyZ2Ugc2V0IG9mIGZpbGVzIHF1aWNrbHkiClNSQ19VUkk9Imh0dHA6Ly93ZWJnbGlt
cHNlLm5ldC90cmlhbC8ke1B9LnRhci5neiIKSE9NRVBBR0U9Imh0dHA6Ly93ZWJnbGltcHNlLm5l
dC8iCgpTTE9UPSIwIgpMSUNFTlNFPSJCU0QiCktFWVdPUkRTPSJ4ODYgfnBwYyB+bWlwcyIKCnNy
Y191bnBhY2soKSB7CiAgICB1bnBhY2sgJHtBfQogICAgY2QgJHtTfQoJZXBhdGNoICR7RklMRVNE
SVJ9L2Vycm5vLmRpZmYKfQoKc3JjX2NvbXBpbGUoKSB7CgltYWtlIGRpc3RjbGVhbgoJZWNvbmYK
CW1ha2UgfHwgZGllCn0KCnNyY19pbnN0YWxsKCkgewoJZWluc3RhbGwKCglkb2RpciAvdXNyL3No
YXJlL21hbi9tYW4xCgltdiAke0R9L3Vzci9zaGFyZS9tYW4vKi4xICR7RH0vdXNyL3NoYXJlL21h
bi9tYW4xLwp9Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>