Bug 114052 - [PATCH] emulators/fuse: update to 0.8.0.1
Summary: [PATCH] emulators/fuse: update to 0.8.0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-26 17:50 UTC by Rene Ladan
Modified: 2007-07-29 17:40 UTC (History)
1 user (show)

See Also:


Attachments
fuse-0.8.0.1.patch (4.34 KB, patch)
2007-06-26 17:50 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan 2007-06-26 17:50:03 UTC
 - Update to 0.8.0.1
 - Changelog at http://fuse-emulator.sourceforge.net/#What_s_new
 
 Removed file(s):
 - files/patch-sound.c
 
 Port maintainer (kemm@in-line.ru) is cc'd.
 
 Tested with 'portlint -A' , 'port test' , and a run-time test.
 
 Generated with FreeBSD Port Tools 0.77
 
 This PR should be committed in conjunction with the PR to update 
 emulators/libspectrum to avoid breaking this port.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-06-26 21:55:54 UTC
Class Changed
From-To: sw-bug->update

Rescue this PR from the 'pending' category. 


Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-06-26 21:55:54 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports-bugs
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-10 22:43:12 UTC
State Changed
From-To: open->feedback

The patch got line-wrapped. Can you resend, or post the patch on webspace? 


Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-10 22:43:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-11 20:09:36 UTC
State Changed
From-To: feedback->open

Patch received: 
http://home.tiscali.nl/rladan/freebsd/fuse.diff
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-11 20:52:28 UTC
Dear maintainer of FreeBSD port emulators/fuse, could you please take a
look at

http://www.freebsd.org/cgi/query-pr.cgi?pr=114052
http://home.tiscali.nl/rladan/freebsd/fuse.diff

Do you approve this update?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

May your code work forever and never have a bug.
Comment 7 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-15 19:55:19 UTC
State Changed
From-To: open->feedback

Maintainer asked for approval
Comment 8 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-29 11:48:21 UTC
State Changed
From-To: feedback->open

Maintainer timeout
Comment 9 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-29 12:12:25 UTC
State Changed
From-To: open->feedback

Does not compile: 

cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/libpng -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -Wall -o fuse ay.o dck.o display.o divide.o event.o fuse.o ide.o if1.o if2.o input.o joystick.o kempmouse.o keyboard.o loader.o machine.o memory.o menu.o periph.o printer.o profile.o psg.o rzx.o scld.o screenshot.o settings.o simpleide.o slt.o snapshot.o sound.o spectrum.o tape.o timer.o trdos.o ui.o uidisplay.o ula.o utils.o zxatasp.o zxcf.o -Wl,-rpath -Wl,/usr/local/lib -pthread  -L/usr/local/lib ui/sdl/libuisdl.a widget/libwidget.a machines/libmachines.a pokefinder/libpokefinder.a sound/libsound.a ui/scaler/libscaler.a debugger/libdebugger.a z80/libz80.a /usr/local/lib/lib765.so /usr/local/lib/libspectrum.so -lbz2 -lpng /usr/local/lib/libxml2.so -lz compat/libcompat.a /usr/local/lib/libSDL.so /usr/local/lib/libXrandr.so /usr/local/lib/libXext.so /usr/local/lib/libXrender.so /usr/local/lib/libaa.so -lncurses -lm /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrpcsvc -lusbhid /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib 
sound/libsound.a(sdlsound.o)(.text+0xe6): In function `sound_lowlevel_init': 
: undefined reference to `log2' 
sound/libsound.a(sdlsound.o)(.text+0x172): In function `sound_lowlevel_init': 
: undefined reference to `log2' 
*** Error code 1
Comment 10 Rene Ladan 2007-07-29 15:11:11 UTC
pav@FreeBSD.org schreef:
> Synopsis: [PATCH] emulators/fuse: update to 0.8.0.1
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: pav
> State-Changed-When: Sun Jul 29 11:12:25 UTC 2007
> State-Changed-Why: 
> Does not compile:
> 
> cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include/libpng -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -Wall -o fuse ay.o dck.o display.o divide.o event.o fuse.o ide.o if1.o if2.o input.o joystick.o kempmouse.o keyboard.o loader.o machine.o memory.o menu.o periph.o printer.o profile.o psg.o rzx.o scld.o screenshot.o settings.o simpleide.o slt.o snapshot.o sound.o spectrum.o tape.o timer.o trdos.o ui.o uidisplay.o ula.o utils.o zxatasp.o zxcf.o -Wl,-r path -Wl,/usr/local/lib -pthread  -L/usr/local/lib ui/sdl/libuisdl.a widget/libwidget.a machines/libmachines.a pokefinder/libpokefinder.a sound/libsound.a ui/scaler/libscaler.a debugger/libdebugger.a z80/libz80.a /usr/local/lib/lib765.so /usr/local/lib/libspectrum.so -lbz2 -lpng /usr/local/lib/libxml2.so -lz compat/libcompat.a /usr/local/lib/libSDL.so /usr/local/lib/libXrandr.so /usr/local/lib/libXext.so /usr/local/lib/libXrender.so /usr/local/lib/libaa.so -lncurses -lm /usr
/l
>  ocal/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrpcsvc -lusbhid /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> sound/libsound.a(sdlsound.o)(.text+0xe6): In function `sound_lowlevel_init':
> : undefined reference to `log2'
> sound/libsound.a(sdlsound.o)(.text+0x172): In function `sound_lowlevel_init':
> : undefined reference to `log2'
> *** Error code 1
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=114052
> 
I've fixed this by locally defining a log2 function.  This function seems to
be a Linuxism.  Note that our libm has a exp2 function, but not a log2 function.

Other things I found:
- the SMALLMEM option is broken, added this to the ports Makefile
- added patches to get the SVGA interface compiled, build-time tested only.

The new patch is at http://home.tiscali.nl/rladan/freebsd/fuse.diff
SIZE = 4301
MD5  = bdbf2a509a4fb9969c19161ad2a1585b
Additional patches, to be placed in the files/ directory:
- patch-log2.c
  SIZE = 441
  MD5  = 849d6f58d40baeb4c18d1b0edb59ba67
- patch-svgadisplay.c
  SIZE = 473
  MD5  = be878cf46654656c8bc19109a4ac9894
- patch-svgakeyboard.c
  SIZE = 733
  MD5  = 39573917d93b7396aa77eb12a28030b1
- patch-svgakeysyms.c
  SIZE = 597
  MD5  = 25220127e93f72a83741220a84fee6ef

I didn't notice this before because I use the GTK2 interface.

Regards,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001
Comment 11 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-29 17:34:21 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 12 dfilter service freebsd_committer freebsd_triage 2007-07-29 17:34:48 UTC
pav         2007-07-29 16:34:43 UTC

  FreeBSD ports repository

  Modified files:
    emulators/fuse       Makefile distinfo pkg-plist 
  Added files:
    emulators/fuse/files patch-log2.c patch-svgadisplay.c 
                         patch-svgakeyboard.c patch-svgakeysyms.c 
  Removed files:
    emulators/fuse/files patch-sound.c 
  Log:
  - Update to 0.8.0.1
  
  PR:             ports/114052
  Submitted by:   Rene Ladan <r.c.ladan@gmail.com>
  Approved by:    maintainer timeout (2 weeks)
  
  Revision  Changes    Path
  1.10      +7 -3      ports/emulators/fuse/Makefile
  1.5       +3 -3      ports/emulators/fuse/distinfo
  1.1       +18 -0     ports/emulators/fuse/files/patch-log2.c (new)
  1.3       +0 -13     ports/emulators/fuse/files/patch-sound.c (dead)
  1.1       +11 -0     ports/emulators/fuse/files/patch-svgadisplay.c (new)
  1.1       +22 -0     ports/emulators/fuse/files/patch-svgakeyboard.c (new)
  1.1       +11 -0     ports/emulators/fuse/files/patch-svgakeysyms.c (new)
  1.4       +19 -12    ports/emulators/fuse/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"