Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23109 Details for
Bug 35671
lirc failes to compile with gentoo-sources-2.4.22-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff to get lirc working
lirc.diff (text/plain), 1.32 KB, created by
Chris Beauchamp
on 2004-01-03 15:18:30 UTC
(
hide
)
Description:
Diff to get lirc working
Filename:
MIME Type:
Creator:
Chris Beauchamp
Created:
2004-01-03 15:18:30 UTC
Size:
1.32 KB
patch
obsolete
>--- /home/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_i2c/lirc_i2c.c 2004-01-03 22:22:56.000000000 +0000 >+++ /home/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_i2c/lirc_i2c.c~ 2003-08-03 10:40:10.000000000 +0100 >@@ -272,8 +272,8 @@ > struct IR *ir = data; > > /* lock bttv in memory while /dev/lirc is in use */ >- /* if (ir->c.adapter->inc_use) >- ir->c.adapter->inc_use(ir->c.adapter);*/ >+ if (ir->c.adapter->inc_use) >+ ir->c.adapter->inc_use(ir->c.adapter); > > MOD_INC_USE_COUNT; > return 0; >@@ -283,8 +283,8 @@ > { > struct IR *ir = data; > >- /* if (ir->c.adapter->dec_use) >- ir->c.adapter->dec_use(ir->c.adapter);*/ >+ if (ir->c.adapter->dec_use) >+ ir->c.adapter->dec_use(ir->c.adapter); > MOD_DEC_USE_COUNT; > } > >@@ -381,8 +381,8 @@ > /* register device */ > i2c_attach_client(&ir->c); > ir->l.minor = lirc_register_plugin(&ir->l); >- /* if (ir->c.adapter->inc_use) >- ir->c.adapter->inc_use(ir->c.adapter);*/ >+ if (ir->c.adapter->inc_use) >+ ir->c.adapter->inc_use(ir->c.adapter); > > return 0; > } >@@ -392,8 +392,8 @@ > struct IR *ir = client->data; > > /* unregister device */ >- /* if (ir->c.adapter->dec_use) >- ir->c.adapter->dec_use(ir->c.adapter);*/ >+ if (ir->c.adapter->dec_use) >+ ir->c.adapter->dec_use(ir->c.adapter); > lirc_unregister_plugin(ir->l.minor); > i2c_detach_client(&ir->c); >
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 35671
: 23109