pcb: unbreak musl + fix update check
This commit is contained in:
parent
dc4d550831
commit
1a6d09a0fe
3 changed files with 23 additions and 1 deletions
20
srcpkgs/pcb/patches/musl-locale_h.patch
Normal file
20
srcpkgs/pcb/patches/musl-locale_h.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- src/report.c 2014-03-11 04:09:51.000000000 +0100
|
||||
+++ src/report.c 2015-11-01 21:18:33.491342878 +0100
|
||||
@@ -32,6 +32,7 @@
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
+#include <locale.h>
|
||||
|
||||
#include "report.h"
|
||||
#include "crosshair.h"
|
||||
--- src/hid/gtk/gui.h 2012-12-29 16:59:54.000000000 +0100
|
||||
+++ src/hid/gtk/gui.h 2015-11-01 21:20:51.515335415 +0100
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "data.h"
|
||||
#include "misc.h"
|
||||
#include <sys/stat.h>
|
||||
+#include <locale.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include "ghid-coord-entry.h"
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pcb'
|
||||
pkgname=pcb
|
||||
version=20140316
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-update-desktop-database --disable-update-mime-database"
|
||||
hostmakedepends="flex intltool pkg-config desktop-file-utils"
|
||||
|
|
2
srcpkgs/pcb/update
Normal file
2
srcpkgs/pcb/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site=http://ftp.geda-project.org/pcb/
|
||||
pattern='\K[\d]{8}'
|
Loading…
Reference in a new issue