Date: Sunday, November 24, 2019 @ 22:56:19
  Author: anatolik
Revision: 533106

upgpkg: libelfin 0.3-1

Added:
  libelfin/trunk/reproducible.patch

--------------------+
 reproducible.patch |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Added: reproducible.patch
===================================================================
--- reproducible.patch                          (rev 0)
+++ reproducible.patch  2019-11-24 22:56:19 UTC (rev 533106)
@@ -0,0 +1,46 @@
+diff --git a/Makefile b/Makefile
+index 30c8a14..c3311a2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,3 +1,5 @@
++export
++
+ all:
+       $(MAKE) -C elf
+       $(MAKE) -C dwarf
+diff --git a/dwarf/Makefile b/dwarf/Makefile
+index 71456bd..707b412 100644
+--- a/dwarf/Makefile
++++ b/dwarf/Makefile
+@@ -43,14 +43,13 @@ CLEAN += libdwarf++.so
+ # Create pkg-config for local library and headers. This will be
+ # transformed in to the correct global pkg-config by install.
+ libdwarf++.pc: always
+-      @(VER=$$(git describe --match 'v*' | sed -e s/^v//); \
+-        echo "libdir=$$PWD"; \
++        @(echo "libdir=$$PWD"; \
+         echo "includedir=$$PWD"; \
+         echo ""; \
+         echo "Name: libdwarf++"; \
+         echo "Description: C++11 DWARF library"; \
+-        echo "Version: $$VER"; \
+-        echo "Requires: libelf++ = $$VER"; \
++        echo "Version: $(VER)"; \
++        echo "Requires: libelf++ = $(VER)"; \
+         echo "Libs: -L\$${libdir} -ldwarf++"; \
+         echo "Cflags: -I\$${includedir}") > $@
+ CLEAN += libdwarf++.pc
+diff --git a/elf/Makefile b/elf/Makefile
+index 9c7c224..42061b7 100644
+--- a/elf/Makefile
++++ b/elf/Makefile
+@@ -42,8 +42,7 @@ CLEAN += libelf++.so
+ # Create pkg-config for local library and headers. This will be
+ # transformed in to the correct global pkg-config by install.
+ libelf++.pc: always
+-      @(VER=$$(git describe --match 'v*' | sed -e s/^v//); \
+-        echo "libdir=$$PWD"; \
++        @(echo "libdir=$$PWD"; \
+         echo "includedir=$$PWD"; \
+         echo ""; \
+         echo "Name: libelf++"; \

Reply via email to