bugAVR Downloader/UploaDEr - Bugs: bug #35800, Compilation error on certain...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #35800: Compilation error on certain systems if parport is disabled

Submitted by:  None
Submitted on:  Mon 12 Mar 2012 11:39:26 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Robert Niemi
Originator Email: -unavailable-Open/Closed: Open

Mon 12 Mar 2012 11:39:26 AM UTC, original submission:

For systems with no parallel port, the corresponding header files could be non-existing, thus resulting in a build failure.

The following patch will fix the issue (patch-file is included):

--- avrdude-5.11/linux_ppdev.h 2009-03-06 21:09:11.000000000 +0100
+++ avrdude-5.11_parport/linux_ppdev.h 2012-03-12 12:35:45.511534501 +0100
@@ -25,8 +25,10 @@
#define OBSOLETE__IOW _IOW

#include <sys/ioctl.h>
+#ifdef HAVE_PARPORT
#include <linux/parport.h>
#include <linux/ppdev.h>
+#endif

#include <stdlib.h>

Anonymous

 

Attached Files
file #25331:  avrdude_parport_linux_ppdev.patch added by None (396B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Mar 2012 11:39:26 AM UTCNoneAttached File-=>Added avrdude_parport_linux_ppdev.patch, #25331
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup