Bug 240596 - audio/mhwaveedit: Fails to build with PULSEAUDIO=on
Summary: audio/mhwaveedit: Fails to build with PULSEAUDIO=on
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2019-09-15 22:09 UTC by Jan Beich
Modified: 2019-09-16 21:13 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2019-09-15 22:09:01 UTC
$ make WITH=PULSEAUDIO
[...]
In file included from sound.c:76:
./sound-pulse.c:1066:6: error: unknown type name 'Intbox'
     Intbox *pblat;
     ^
./sound-pulse.c:1072:10: warning: implicit declaration of function 'intbox_check_limit' is invalid in C99 [-Wimplicit-function-declaration]
     if (intbox_check_limit(up->pblat,0,10000,_("playback latency")))
         ^
./sound-pulse.c:1099:10: warning: implicit declaration of function 'intbox_new' is invalid in C99 [-Wimplicit-function-declaration]
     d = intbox_new(inifile_get_guint32("pulseLatency",0));
         ^
./sound-pulse.c:1099:8: warning: incompatible integer to pointer conversion assigning to 'GtkWidget *' (aka 'struct _GtkWidget *') from 'int' [-Wint-conversion]
     d = intbox_new(inifile_get_guint32("pulseLatency",0));
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sound-pulse.c:1100:18: warning: implicit declaration of function 'INTBOX' is invalid in C99 [-Wimplicit-function-declaration]
     up->pblat = INTBOX(d);
                 ^
4 warnings and 1 error generated.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-09-16 21:13:43 UTC
A commit references this bug:

Author: amdmi3
Date: Mon Sep 16 21:12:49 UTC 2019
New revision: 512190
URL: https://svnweb.freebsd.org/changeset/ports/512190

Log:
  - Fix build with PULSEAUDIO (see also https://github.com/magnush/mhwaveedit/pull/13)
  - Add missing USES=gnome

  PR:		240596
  Reported by:	jbeich@FreeBSD.org

Changes:
  head/audio/mhwaveedit/Makefile
  head/audio/mhwaveedit/files/
  head/audio/mhwaveedit/files/patch-src_sound-pulse.c