summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-30 23:46:03 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-30 23:46:03 +0000
commit051eeabb559b274e915281b0aa6de0133044b50f (patch)
treec2a453ce2725b4416dc98d43333f10d1ff035c7d /sys-fs/lde/files
parentAdded USE flag for exiv2 support (bug #137260) and removed old ~arch versions. (diff)
downloadgentoo-2-051eeabb559b274e915281b0aa6de0133044b50f.tar.gz
gentoo-2-051eeabb559b274e915281b0aa6de0133044b50f.tar.bz2
gentoo-2-051eeabb559b274e915281b0aa6de0133044b50f.zip
Version bump and fix building with gcc-4 #141881 by Martin Mokrejs.
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'sys-fs/lde/files')
-rw-r--r--sys-fs/lde/files/digest-lde-2.6.13
-rw-r--r--sys-fs/lde/files/lde-2.6.1-no-shadowing.patch39
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-fs/lde/files/digest-lde-2.6.1 b/sys-fs/lde/files/digest-lde-2.6.1
new file mode 100644
index 000000000000..54af7619fca8
--- /dev/null
+++ b/sys-fs/lde/files/digest-lde-2.6.1
@@ -0,0 +1,3 @@
+MD5 7cd3a798cafc07d084db240fd1d1c830 lde-2.6.1.tar.gz 598050
+RMD160 526297ce7698a8adba67d73d1e602d1db2aab371 lde-2.6.1.tar.gz 598050
+SHA256 d987555145a05d7b8c9f65e3f0f9754da1c29cc9933597d1765117b7ef3b0694 lde-2.6.1.tar.gz 598050
diff --git a/sys-fs/lde/files/lde-2.6.1-no-shadowing.patch b/sys-fs/lde/files/lde-2.6.1-no-shadowing.patch
new file mode 100644
index 000000000000..586bbf3e8768
--- /dev/null
+++ b/sys-fs/lde/files/lde-2.6.1-no-shadowing.patch
@@ -0,0 +1,39 @@
+rename daylight to avoid shadowing the daylight function and pissing off gcc
+
+http://bugs.gentoo.org/141881
+
+--- lde/src/swiped/cnews/getdate.y
++++ lde/src/swiped/cnews/getdate.y
+@@ -24,7 +24,7 @@
+
+ static int timeflag, dateflag, dayflag, relflag;
+ static time_t relsec, relmonth;
+- static int hh, mm, ss, merid, daylight;
++ static int hh, mm, ss, merid, foo_daylight;
+ static int dayord, dayreq;
+ static int month, day, year;
+ static int ourzone;
+@@ -68,19 +68,19 @@
+ {hh = $1; mm = $3; merid = $4;}
+ | NUMBER ':' NUMBER NUMBER
+ {hh = $1; mm = $3; merid = 24;
+- daylight = STANDARD; ourzone = $4%100 + 60*$4/100;}
++ foo_daylight = STANDARD; ourzone = $4%100 + 60*$4/100;}
+ | NUMBER ':' NUMBER ':' NUMBER
+ {hh = $1; mm = $3; ss = $5; merid = 24;}
+ | NUMBER ':' NUMBER ':' NUMBER MERIDIAN
+ {hh = $1; mm = $3; ss = $5; merid = $6;}
+ | NUMBER ':' NUMBER ':' NUMBER NUMBER
+ {hh = $1; mm = $3; ss = $5; merid = 24;
+- daylight = STANDARD; ourzone = $6%100 + 60*$6/100;};
++ foo_daylight = STANDARD; ourzone = $6%100 + 60*$6/100;};
+
+ zone: ZONE
+- {ourzone = $1; daylight = STANDARD;}
++ {ourzone = $1; foo_daylight = STANDARD;}
+ | DAYZONE
+- {ourzone = $1; daylight = DAYLIGHT;};
++ {ourzone = $1; foo_daylight = DAYLIGHT;};
+
+ dyspec: DAY
+ {dayord = 1; dayreq = $1;}