parent
86f4a608cf
commit
6bebbc85b7
2 changed files with 51 additions and 0 deletions
34
srcpkgs/openscad/patches/uic_qgettext.patch
Normal file
34
srcpkgs/openscad/patches/uic_qgettext.patch
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
From 4fa5f0340a2b7b031a0b39f7de0ca795d52bb68b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Torsten Paul <Torsten.Paul@gmx.de>
|
||||||
|
Date: Sun, 27 Nov 2016 19:29:04 +0100
|
||||||
|
Subject: [PATCH] Handle 2 argument translation calls generated by Qt 5.7.1
|
||||||
|
(fixes #1872).
|
||||||
|
|
||||||
|
---
|
||||||
|
src/qtgettext.h | 12 +++++++++---
|
||||||
|
1 file changed, 9 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git src/qtgettext.h src/qtgettext.h
|
||||||
|
index 6e66716..dbc4f17 100644
|
||||||
|
--- src/qtgettext.h
|
||||||
|
+++ src/qtgettext.h
|
||||||
|
@@ -16,10 +16,16 @@
|
||||||
|
|
||||||
|
#define N_(String) String
|
||||||
|
|
||||||
|
-inline QString _( const char *msgid, int category )
|
||||||
|
+inline QString _(const char *msgid, int category)
|
||||||
|
{
|
||||||
|
- Q_UNUSED( category );
|
||||||
|
- return QString::fromUtf8( _( msgid ) );
|
||||||
|
+ Q_UNUSED(category);
|
||||||
|
+ return QString::fromUtf8(_(msgid));
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+inline QString _(const char *msgid, const char *disambiguation)
|
||||||
|
+{
|
||||||
|
+ Q_UNUSED(disambiguation);
|
||||||
|
+ return QString::fromUtf8(_(msgid));
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
17
srcpkgs/openscad/template
Normal file
17
srcpkgs/openscad/template
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Template file for 'openscad'
|
||||||
|
|
||||||
|
pkgname="openscad"
|
||||||
|
version="2015.03.2"
|
||||||
|
revision=1
|
||||||
|
_distver="${version%.*}-${version##*.}"
|
||||||
|
build_style=qmake
|
||||||
|
short_desc="The programmers solid 3D CAD modeller"
|
||||||
|
maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.openscad.org"
|
||||||
|
distfiles="http://files.openscad.org/${pkgname}-${_distver}.src.tar.gz"
|
||||||
|
checksum="a2535bb9e27d96e10e1e19268a596155164c7129d410a0c7f96edc2d09400083"
|
||||||
|
wrksrc="${pkgname}-${_distver}"
|
||||||
|
|
||||||
|
hostmakedepends="bison flex pkg-config"
|
||||||
|
makedepends="cgal-devel harfbuzz-devel opencsg-devel qscintilla-qt5-devel"
|
Loading…
Add table
Add a link
Reference in a new issue