Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f2a3c427b24d098b5dbb93fb4290e5c1fd231d52

commit f2a3c427b24d098b5dbb93fb4290e5c1fd231d52
Author: Slown <[email protected]>
Date:   Thu Jul 12 19:05:57 2012 +0100

uncrustify-0.59-1-i686

* new package

diff --git a/source/devel-extra/uncrustify/FrugalBuild 
b/source/devel-extra/uncrustify/FrugalBuild
new file mode 100644
index 0000000..90e3f87
--- /dev/null
+++ b/source/devel-extra/uncrustify/FrugalBuild
@@ -0,0 +1,14 @@
+# Compiling Time: 0.17 SBU
+# Maintainer: Slown <[email protected]>
+
+pkgname=uncrustify
+pkgver=0.59
+pkgrel=1
+pkgdesc="A source code beautifier"
+depends=('libstdc++')
+groups=('devel-extra')
+archs=('i686' 'x86_64')
+Finclude sourceforge
+source=($source unistd.patch)
+sha1sums=('233e4f6cb34ef7020ce49e5b5d14f0d46f277e31' \
+          'bd0ea1edd6cd17bf2bc2f9d4990cb0ba94205753')
diff --git a/source/devel-extra/uncrustify/unistd.patch 
b/source/devel-extra/uncrustify/unistd.patch
new file mode 100644
index 0000000..bce4e27
--- /dev/null
+++ b/source/devel-extra/uncrustify/unistd.patch
@@ -0,0 +1,14 @@
+diff --git src/uncrustify.cpp src/uncrustify.cpp
+index c65a7ac..f87435e 100644
+--- src/uncrustify.cpp
++++ src/uncrustify.cpp
+@@ -34,6 +34,9 @@
+ #endif
+ #include <vector>
+ #include <deque>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+
+ /* Global data */
+ struct cp_data cpd;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to