Package: src:scrollz
Version: 2.2.3-1
Tags: patch sid stretch

Fix implicit pointer conversion on 64bit targets. This warning triggers a build failure on some derivatives.
  * Fix implicit pointer conversion on 64bit targets.

 
diff -Nru scrollz-2.2.3/debian/patches/impl-pointer-conv.diff scrollz-2.2.3/debian/patches/impl-pointer-conv.diff
--- scrollz-2.2.3/debian/patches/impl-pointer-conv.diff	1970-01-01 01:00:00.000000000 +0100
+++ scrollz-2.2.3/debian/patches/impl-pointer-conv.diff	2016-02-18 17:52:18.000000000 +0100
@@ -0,0 +1,18 @@
+Index: b/source/alias.c
+===================================================================
+--- a/source/alias.c
++++ b/source/alias.c
+@@ -60,6 +60,13 @@
+ #include <sys/stat.h>
+ 
+ /*
++ The internal include/crypt.h header shadows the system header, so
++ just declare the function, instead of including
++ #include <crypt.h>
++*/
++char *crypt(const char *key, const char *salt);
++
++/*
+  * define this to use the old way of managing allocations
+  * inside the guts of alias handling (static buffers, not
+  * malloc & realloc'ed ones).
diff -Nru scrollz-2.2.3/debian/patches/series scrollz-2.2.3/debian/patches/series
--- scrollz-2.2.3/debian/patches/series	2014-10-23 00:08:28.000000000 +0200
+++ scrollz-2.2.3/debian/patches/series	2016-02-18 16:39:28.000000000 +0100
@@ -4,3 +4,4 @@
 spelling-errors.patch
 rijndael-prototypes.patch
 sys-stat-h.patch
+impl-pointer-conv.diff

Reply via email to