Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293679 Details for
Bug 311529
app-misc/lcd4linux: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
lcd4linux.patch (text/plain), 2.04 KB, created by
Ian Delaney (RETIRED)
on 2011-11-24 23:39:38 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-24 23:39:38 UTC
Size:
2.04 KB
patch
obsolete
>Only in lcd4linux/files: lcd4linux-header.patch >diff -ur lcd4linux.orig/lcd4linux-0.10.1_rc2-r2.ebuild lcd4linux/lcd4linux-0.10.1_rc2-r2.ebuild >--- lcd4linux.orig/lcd4linux-0.10.1_rc2-r2.ebuild 2010-03-06 07:26:14.000000000 +0800 >+++ lcd4linux/lcd4linux-0.10.1_rc2-r2.ebuild 2011-11-23 12:26:04.410869054 +0800 >@@ -2,8 +2,10 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r2.ebuild,v 1.8 2010/03/05 23:26:14 ssuominen Exp $ > >+EAPI="3" > WANT_AUTOMAKE="1.9" > +PYTHON_DEPEND="python? 2" >-inherit eutils multilib autotools >+inherit eutils multilib autotools python > > MY_P=${P/_rc/-RC} > >@@ -36,7 +40,5 @@ > > DEPEND=" > mysql? ( virtual/mysql ) >- python? ( dev-lang/python ) > iconv? ( virtual/libiconv ) > mpd? ( media-libs/libmpd ) >- > lcd_devices_bwct? ( =virtual/libusb-0* ) > lcd_devices_g15? ( =virtual/libusb-0* ) > lcd_devices_lcd2usb? ( =virtual/libusb-0* ) >@@ -66,19 +68,16 @@ > echo > } > >-src_unpack() { >- unpack ${A} >- cd "${S}" >- >+src_prepare() { > epatch "${FILESDIR}/${P}-warnings.patch" > epatch "${FILESDIR}/${P}-mpd.patch" > epatch "${FILESDIR}/${P}-nordtsc.patch" > epatch "${FILESDIR}/${P}-autoconf-2.65.patch" >- >+ epatch "${FILESDIR}/${PN}"-header.patch || die > eautoreconf > } > >-src_compile() { >+src_configure() { > # This array contains the driver names required by configure --with-drivers= > # The positions must be the same as the corresponding use_expand flags > local DEVICE_DRIVERS=(BeckmannEgle BWCT CrystalFontz Curses Cwlinux >@@ -153,7 +152,9 @@ > || die "econf failed" > > sed -i.orig -e 's/-L -lX11/ -lX11 /g' Makefile || die "sed fixup failed" >+} > >+src_compile() { > emake || die "make failed" > } > >diff -ur lcd4linux-0.10.1-RC2.orig/lcd4linux.c lcd4linux-0.10.1-RC2/lcdinux-0.10.1-RC2/lcd4linux.c >--- lcd4linux.c 2007-03-22 15:10:41.000000000 +0900 >+++ lcd4linux.c 2011-11-23 12:12:03.782869315 +0800 >@@ -26,7 +26,7 @@ > */ > > #include "config.h" >- >+#include <sys/stat.h> > #include <stdlib.h> > #include <stdio.h> > #include <string.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 311529
:
293469
|
293679
|
293801
|
293805