#76 Debian / Ubuntu patches

closed
nobody
None
5
2011-10-27
2011-09-10
Anonymous
No

I am attaching 4 patches found in the Ubuntu package 2.6.0-1ubuntu2 that may eventually be merged directly in freeglut.

Discussion

  • paletta

    paletta - 2011-09-10

    Fix hurd FTBFS, Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553409

    --- freeglut-2.6.0.orig/src/freeglut_joystick.c 2010-03-20 23:29:10.000000000 +0000
    +++ freeglut-2.6.0/src/freeglut_joystick.c 2010-03-20 23:29:15.000000000 +0000
    @@ -1094,6 +1094,8 @@
    joy->num_axes = joy->num_buttons = 0;
    joy->name[ 0 ] = '\0';

    + i = 0;
    +
    #if TARGET_HOST_MACINTOSH
    /* XXX FIXME: get joystick name in Mac */

     
  • John F. Fay

    John F. Fay - 2011-09-28

    The addition of "i = 0" was rendered unnecessary by an initialization of "i" to zero where it is declared; this happened in change set 733.

    I've fixed the load library flags in change sets 939 and 940.

    Not sure what the "See also this bug report for the last 2 patches" means. It looks like no other action is needed.

    Please let me know if this fixes all the issues.

     
  • Nobody/Anonymous

    > Not sure what the "See also this bug report for the last 2 patches" means.

    This was the debian bug report for the changesets 939 and 940. Note also that the Ubuntu bug number mentioned in these 2 commits are wrong... that numbers are just for the paste web site... The real bug they fixed is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554405

    > Please let me know if this fixes all the issues.

    01_fix_kfreebsd.diff (attached to this bug) is still missing.

    (This is from just looking at the commits. I'll compile freeglut next week and report if I find any problems).

    Thanks!

     
  • Nobody/Anonymous

    > 01_fix_kfreebsd.diff (attached to this bug) is still missing.

    This was applied in r942, so I think all was merged, thanks!

     
  • Nobody/Anonymous

    Compiled and tested successfully!

     
  • John F. Fay

    John F. Fay - 2011-10-27
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks