Control: tags 963364 + patch
Control: tags 963364 + pending

Dear maintainer,

I've prepared an NMU for libocxl (versioned as 1.1.0-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

--
Regards
Sudip

diff -Nru libocxl-1.1.0/debian/changelog libocxl-1.1.0/debian/changelog
--- libocxl-1.1.0/debian/changelog      2018-09-11 11:38:41.000000000 +0100
+++ libocxl-1.1.0/debian/changelog      2020-07-16 22:37:44.000000000 +0100
@@ -1,3 +1,11 @@
+libocxl (1.1.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS. (Closes: #963364)
+    - Use local header file.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Thu, 16 Jul 2020 22:37:44 
+0100
+
 libocxl (1.1.0-1) unstable; urgency=medium
 
   * Fix d/gbp.conf
diff -Nru libocxl-1.1.0/debian/patches/series 
libocxl-1.1.0/debian/patches/series
--- libocxl-1.1.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ libocxl-1.1.0/debian/patches/series 2020-07-16 22:30:38.000000000 +0100
@@ -0,0 +1 @@
+use_local.patch
diff -Nru libocxl-1.1.0/debian/patches/use_local.patch 
libocxl-1.1.0/debian/patches/use_local.patch
--- libocxl-1.1.0/debian/patches/use_local.patch        1970-01-01 
01:00:00.000000000 +0100
+++ libocxl-1.1.0/debian/patches/use_local.patch        2020-07-16 
22:35:31.000000000 +0100
@@ -0,0 +1,27 @@
+Description: Use local copy ocxl.h
+ Only check online if local copy is not found.
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/963364
+Forwarded: not-needed
+
+---
+
+--- libocxl-1.1.0.orig/Makefile
++++ libocxl-1.1.0/Makefile
+@@ -24,14 +24,13 @@ CHECK_OCXL_HEADER_IS_UP_TO_DATE = $(shel
+ check_ocxl_header:
+ ifeq ($(call CHECK_OCXL_HEADER_IS_UP_TO_DATE,'<misc/ocxl.h>'),n)
+       mkdir -p kernel/include/misc
+-ifeq (${HAS_WGET},y)
++else ifeq (${HAS_WGET},y)
+       $(call Q,WGET kernel/include/misc/ocxl.h, wget -O 
kernel/include/misc/ocxl.h -q 
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/include/uapi/misc/ocxl.h)
+ else ifeq (${HAS_CURL},y)
+       $(call Q,CURL kernel/include/misc/ocxl.h, curl -o 
kernel/include/misc/ocxl.h -s 
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/include/uapi/misc/ocxl.h)
+ else
+       $(error 'ocxl.h is non-existant or out of date, Download from 
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/include/uapi/misc/ocxl.h
 and place in ${PWD}/kernel/include/misc/ocxl.h')
+ endif
+-endif
+ 
+ src/libocxl_info.h: version.pl
+       VERSION_MAJOR=${VERSION_MAJOR} VERSION_MINOR=${VERSION_MINOR} \

Reply via email to