compile locale & fltk14 bug fix
This commit is contained in:
parent
21d50c3532
commit
50ad83b47b
10
PKGBUILD
10
PKGBUILD
@ -13,13 +13,19 @@ license=('GPL2')
|
||||
url="https://danielnoethen.de/butt/"
|
||||
depends=('fltk' 'dbus' 'portaudio' 'portmidi' 'libfdk-aac' 'libvorbis' 'libogg' 'lame' 'flac' 'opus' 'libsamplerate' 'libdatachannel')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://danielnoethen.de/${pkgname}/release/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
'add-required-time-header.patch')
|
||||
'add-required-time-header.patch'
|
||||
'fix-locale.patch'
|
||||
'fix-fltk14.patch')
|
||||
sha256sums=('88498510946c4ef1de28662f9e1cd85d20bfab40d2c3467f6202b86ee0ed8364'
|
||||
'a4d8f0fbde457366467b5ae0d2b31ad0f733cb1154a18e84a36a106c7301b5d8')
|
||||
'a4d8f0fbde457366467b5ae0d2b31ad0f733cb1154a18e84a36a106c7301b5d8'
|
||||
'0e18d826db9e6a1d542bb9934c61209ca63f4f9fc3f9ccc54fbd4a143a516e9d'
|
||||
SKIP)
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
patch -Np1 -i ../add-required-time-header.patch
|
||||
patch -Np1 -i ../fix-locale.patch
|
||||
patch -Np1 -i ../fix-fltk14.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
8
fix-fltk14.patch
Normal file
8
fix-fltk14.patch
Normal file
@ -0,0 +1,8 @@
|
||||
--- butt-1.44.0.orig/src/FLTK/FL/Fl_My_Native_File_Chooser.H
|
||||
+++ butt-1.44.0.orig/src/FLTK/FL/Fl_My_Native_File_Chooser.H
|
||||
@@ -40,6 +40,7 @@
|
||||
#if !defined(__APPLE__) && !defined(WIN32)
|
||||
+#include <cstdlib>
|
||||
#include <FL/Fl_File_Chooser.H>
|
||||
#else
|
||||
#include <FL/filename.H> // FL_EXPORT
|
||||
12
fix-locale.patch
Normal file
12
fix-locale.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ura butt-1.44.0.orig/src/butt.cpp butt-1.44.0.new/src/butt.cpp
|
||||
--- butt-1.44.0.orig/src/butt.cpp 2024-12-03 13:40:43.270943967 -0500
|
||||
+++ butt-1.44.0.new/src/butt.cpp 2024-12-03 13:41:13.864214094 -0500
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
+#include <locale.h>
|
||||
|
||||
#include <signal.h>
|
||||
#include <limits.h>
|
||||
Loading…
Reference in New Issue
Block a user