diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-11-21 14:47:28 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-11-21 14:47:28 +0000 |
commit | eb38ca06bf9853da520309e662b7a8fed1d5600c (patch) | |
tree | c837b10812adff2a8ee6ce17df4b9b0f5906047d /pkgs/applications/graphics/giv | |
parent | 5abed12234b39120cb0e509114838fb56d7ff41f (diff) | |
download | nixlib-eb38ca06bf9853da520309e662b7a8fed1d5600c.tar nixlib-eb38ca06bf9853da520309e662b7a8fed1d5600c.tar.gz nixlib-eb38ca06bf9853da520309e662b7a8fed1d5600c.tar.bz2 nixlib-eb38ca06bf9853da520309e662b7a8fed1d5600c.tar.lz nixlib-eb38ca06bf9853da520309e662b7a8fed1d5600c.tar.xz nixlib-eb38ca06bf9853da520309e662b7a8fed1d5600c.tar.zst nixlib-eb38ca06bf9853da520309e662b7a8fed1d5600c.zip |
Updating giv.
svn path=/nixpkgs/trunk/; revision=30508
Diffstat (limited to 'pkgs/applications/graphics/giv')
-rw-r--r-- | pkgs/applications/graphics/giv/default.nix | 6 | ||||
-rw-r--r-- | pkgs/applications/graphics/giv/union.patch | 38 |
2 files changed, 3 insertions, 41 deletions
diff --git a/pkgs/applications/graphics/giv/default.nix b/pkgs/applications/graphics/giv/default.nix index d32ef5bbebc9..a9eab8e00f84 100644 --- a/pkgs/applications/graphics/giv/default.nix +++ b/pkgs/applications/graphics/giv/default.nix @@ -2,11 +2,11 @@ pcre, cfitsio, perl, gob2, vala, libtiff }: stdenv.mkDerivation rec { - name = "giv-0.9.19"; + name = "giv-0.9.20"; src = fetchurl { url = "mirror://sourceforge/giv/${name}.tar.gz"; - sha256 = "07sgpp4k27417ymavcvil4waq6ac2mj08g42g1l52l435xm5mnh7"; + sha256 = "09s659vvv26nw9vaw3a766al8yq6np7p0xb4iw907921j6nbqp7z"; }; # It built code to be put in a shared object without -fPIC @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { sed -i s,/usr/local,$out, SConstruct ''; - patches = [ ./build.patch ./union.patch ]; + patches = [ ./build.patch ]; buildPhase = "scons"; diff --git a/pkgs/applications/graphics/giv/union.patch b/pkgs/applications/graphics/giv/union.patch deleted file mode 100644 index f12fce036135..000000000000 --- a/pkgs/applications/graphics/giv/union.patch +++ /dev/null @@ -1,38 +0,0 @@ -Already reported uptream - -diff --git a/src/giv-data.h b/src/giv-data.h -index 64e7696..d34bfe4 100644 ---- a/src/giv-data.h -+++ b/src/giv-data.h -@@ -88,7 +88,7 @@ typedef struct - typedef struct - { - gint op; -- union -+ struct - { - struct - { -diff --git a/src/giv_types.h b/src/giv_types.h -index 02abebe..c3cfb78 100644 ---- a/src/giv_types.h -+++ b/src/giv_types.h -@@ -11,13 +11,11 @@ typedef struct { - - typedef struct { - gint op; -- union { -- struct { -- gdouble x,y; -- } point; -- double arc_dev; -- text_mark_t *text_object; -- } data; -+ struct { -+ gdouble x,y; -+ } point; -+ double arc_dev; -+ text_mark_t *text_object; - } point_t; - - typedef struct { |