Control: tags 1030687 + patch

Dear maintainer,

I've prepared an NMU for giac (versioned as 1.9.0.35+dfsg2-1.1).
The diff is attached to this message.

cu
Adrian
diff -Nru giac-1.9.0.35+dfsg2/debian/changelog giac-1.9.0.35+dfsg2/debian/changelog
--- giac-1.9.0.35+dfsg2/debian/changelog	2023-01-18 15:08:19.000000000 +0200
+++ giac-1.9.0.35+dfsg2/debian/changelog	2023-02-07 01:37:35.000000000 +0200
@@ -1,3 +1,11 @@
+giac (1.9.0.35+dfsg2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for not using uchar in plot.h.
+    (Closes: #1030687)
+
+ -- Adrian Bunk <b...@debian.org>  Tue, 07 Feb 2023 01:37:35 +0200
+
 giac (1.9.0.35+dfsg2-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru giac-1.9.0.35+dfsg2/debian/patches/plot-no-uchar.patch giac-1.9.0.35+dfsg2/debian/patches/plot-no-uchar.patch
--- giac-1.9.0.35+dfsg2/debian/patches/plot-no-uchar.patch	1970-01-01 02:00:00.000000000 +0200
+++ giac-1.9.0.35+dfsg2/debian/patches/plot-no-uchar.patch	2023-02-07 01:37:27.000000000 +0200
@@ -0,0 +1,12 @@
+diff -Nru giac-1.9.0.35+dfsg2/src/plot.h giac-1.9.0.37/src/plot.h
+--- giac-1.9.0.35+dfsg2/src/plot.h	2023-01-05 17:43:36.000000000 +0200
++++ giac-1.9.0.37/src/plot.h	2023-01-09 09:52:40.000000000 +0200
+@@ -839,7 +839,7 @@
+ extern const unary_function_ptr * const at_colormap;
+ void rgb2xyz(double R,double G,double B,double &x,double &y,double &z);
+ void xyz2rgb(double x,double y,double z,double &R,double &G,double &B);
+-void blend(uchar r1,uchar g1,uchar b1,uchar r2,uchar g2,uchar b2,double t,uchar &r,uchar &g,uchar &b);
++void blend(unsigned char r1,unsigned char g1,unsigned char b1,unsigned char r2,unsigned char g2,unsigned char b2,double t,unsigned char &r,unsigned char &g,unsigned char &b);
+ gen _bezier(const gen & args,GIAC_CONTEXT);
+ 
+ #ifndef NO_NAMESPACE_GIAC
diff -Nru giac-1.9.0.35+dfsg2/debian/patches/series giac-1.9.0.35+dfsg2/debian/patches/series
--- giac-1.9.0.35+dfsg2/debian/patches/series	2023-01-18 15:08:19.000000000 +0200
+++ giac-1.9.0.35+dfsg2/debian/patches/series	2023-02-07 01:37:27.000000000 +0200
@@ -1,4 +1,5 @@
 ### For upstreaming
+plot-no-uchar.patch
 
 ## Issues with other programs, or version matches
 system-gl2ps.patch # refused

Reply via email to