diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/bitmeter/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/bitmeter/files')
-rw-r--r-- | media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch | 30 | ||||
-rw-r--r-- | media-sound/bitmeter/files/bitmeter-1.2-qa-desktop-file.patch | 18 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch b/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch new file mode 100644 index 000000000000..37c75266887f --- /dev/null +++ b/media-sound/bitmeter/files/bitmeter-1.2-fix-build-system.patch @@ -0,0 +1,30 @@ +Look for log10f function in libm. +See also: https://bugs.gentoo.org/show_bug.cgi?id=586148 + +--- a/configure.in ++++ b/configure.in +@@ -1,8 +1,8 @@ + dnl Process this file with autoconf to produce a configure script. + +-AC_INIT(configure.in) +-AM_INIT_AUTOMAKE(bitmeter, 1.2) +-AM_CONFIG_HEADER(config.h) ++AC_INIT([bitmeter], [1.2]) ++AM_INIT_AUTOMAKE ++AC_CONFIG_HEADERS([config.h]) + AM_MAINTAINER_MODE + + AC_ISC_POSIX +@@ -10,6 +10,12 @@ + AM_PROG_CC_STDC + AC_HEADER_STDC + ++dnl Find log10f ++dnl Gentoo-bug: 586148 ++AC_SEARCH_LIBS([log10f], [m], [], [ ++ AC_MSG_ERROR([unable to find the log10f() function]) ++]) ++ + pkg_modules="gtk+-2.0 >= 2.0.0" + PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) + AC_SUBST(PACKAGE_CFLAGS) diff --git a/media-sound/bitmeter/files/bitmeter-1.2-qa-desktop-file.patch b/media-sound/bitmeter/files/bitmeter-1.2-qa-desktop-file.patch new file mode 100644 index 000000000000..25bfa77340e9 --- /dev/null +++ b/media-sound/bitmeter/files/bitmeter-1.2-qa-desktop-file.patch @@ -0,0 +1,18 @@ +Fix broken .desktop file to comply with FDO specifications. + +--- a/bitmeter.desktop ++++ b/bitmeter.desktop +@@ -4,10 +4,10 @@ + Comment=JACK diagnostic tool + TryExec=bitmeter + Exec=bitmeter +-Icon=bitmeter.xpm +-Terminal=0 ++Icon=bitmeter ++Terminal=false + Type=Application + StartupWMClass=Bitmeter +-Categories=Application;Audio;AudioVideo;X-Jack ++Categories=Audio;AudioVideo;X-Jack + + |