libdb-4_8/reproducible.patch
Angel Yankov 67ecc9868d - Add libdb-4_8-sequence.patch: Fix code to detect/enable 64-bit
integral type support for sequences. The m4 macros were not
  complying with GCC 14's strictness.
- Rebase db-4.8.30.patch and libdb-fix-atomic.patch to also apply
  using -p1 and use the autosetup macro.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=77
2024-11-26 15:14:16 +00:00

20 lines
744 B
Diff

Date: 2024-07-16
Author: Bernhard M. Wiedemann
make .jar build reproducible
by setting the build date to a constant.
Index: db-4.8.30/dist/Makefile.in
===================================================================
--- db-4.8.30.orig/dist/Makefile.in
+++ db-4.8.30/dist/Makefile.in
@@ -830,7 +830,7 @@ $(libj_jarfile): $(JAVA_DBSRCS)
$(JAVA) -classpath $(JAVA_CLASSTOP) \
com.sleepycat.persist.model.ClassEnhancer $(JAVA_CLASSTOP)
cd $(JAVA_CLASSTOP) && \
- $(JAR) cfm ../$(libj_jarfile) ../$(JAVA_MANIFEST) ./com/sleepycat
+ $(JAR) --date=2000-01-01T00:00:00+00:00 -c -f ../$(libj_jarfile) -m ../$(JAVA_MANIFEST) ./com/sleepycat
$(libj_exjarfile): $(libj_jarfile) $(JAVA_EXSRCS)
@test -d $(JAVA_EXCLASSTOP) || \