diff options
Diffstat (limited to 'community/gpsim')
-rw-r--r-- | community/gpsim/PKGBUILD | 3 | ||||
-rw-r--r-- | community/gpsim/gpsim-0.26.1-glib.patch | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/community/gpsim/PKGBUILD b/community/gpsim/PKGBUILD index 20d18b23a..9c884a477 100644 --- a/community/gpsim/PKGBUILD +++ b/community/gpsim/PKGBUILD @@ -6,7 +6,7 @@ pkgname=gpsim pkgver=0.27.0 pkgrel=2 pkgdesc="A full-featured software simulator for Microchip PIC microcontrollers" -arch=(i686 x86_64) +arch=(i686 x86_64 'mips64el') url="http://gpsim.sourceforge.net/" license=(GPL) depends=('gtk2+extra' 'popt') @@ -16,6 +16,7 @@ md5sums=('b3ded17f1c8c6134f2381d6e6925b231') build() { cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/gpsim-0.26.1-glib.patch ./configure --prefix=/usr make } diff --git a/community/gpsim/gpsim-0.26.1-glib.patch b/community/gpsim/gpsim-0.26.1-glib.patch new file mode 100644 index 000000000..0088ca836 --- /dev/null +++ b/community/gpsim/gpsim-0.26.1-glib.patch @@ -0,0 +1,24 @@ +--- gpsim-0.26.1.orig/src/bitlog.h 2010-06-05 01:46:30.000000000 -0500 ++++ gpsim-0.26.1/src/bitlog.h 2012-12-04 08:32:03.327155186 -0500 +@@ -25,7 +25,7 @@ + + // include the absolute minimum portion of GLIB to get the definitions + // for guint64, etc. +-#include <glibconfig.h> ++#include <glib.h> + + /********************************************************************** + * boolean event logging + +--- gpsim-0.26.1.orig/src/os_dependent.cc 2010-06-05 01:46:30.000000000 -0500 ++++ gpsim-0.26.1/src/os_dependent.cc 2012-12-04 08:50:22.684064974 -0500 +@@ -39,8 +39,7 @@ + #ifdef _WIN32 + #define G_PLATFORM_WIN32 + #define G_OS_WIN32 +-#include <glib/gmem.h> +-#include <glib/gwin32.h> ++#include <glib.h> + #include <direct.h> + #include <windows.h> + |