File: debianization-prefix_libreleases.patch

package info (click to toggle)
singular 1:4.1.1-p2+ds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 35,860 kB
  • sloc: cpp: 288,280; ansic: 17,387; lisp: 4,242; yacc: 1,654; python: 1,608; makefile: 1,424; lex: 1,387; perl: 632; sh: 567; xml: 182
file content (30 lines) | stat: -rw-r--r-- 1,719 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: debianization - prefix libreleases
 Prepend prefix `<UPSTREAN VERSION>+' to gfan and omalloc libraries for avoiding
 collision at upgrading time.
Origin: vendor, Debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2018-10-26

--- a/gfanlib/Makefile.am
+++ b/gfanlib/Makefile.am
@@ -16,7 +16,7 @@
 
 SOURCES = gfanlib_circuittableint.cpp gfanlib_mixedvolume.cpp gfanlib_paralleltraverser.cpp gfanlib_polyhedralfan.cpp gfanlib_polymakefile.cpp gfanlib_symmetriccomplex.cpp gfanlib_symmetry.cpp gfanlib_traversal.cpp gfanlib_zcone.cpp gfanlib_zfan.cpp
 libsingular_gfan_la_SOURCES = $(SOURCES)
-libsingular_gfan_la_LDFLAGS = $(SINGULAR_LDFLAGS) $(CDDGMPLDFLAGS) -release ${PACKAGE_VERSION}
+libsingular_gfan_la_LDFLAGS = $(SINGULAR_LDFLAGS) $(CDDGMPLDFLAGS) -release $(UPS_VERSION_UPSTREAM)+${PACKAGE_VERSION}
 
 libsingular_gfan_includedir =$(includedir)/gfanlib
 libsingular_gfan_include_HEADERS = config.h gfanlib_mixedvolume.h gfanlib_polymakefile.h gfanlib_symmetry.h gfanlib_vector.h gfanlib_z.h _config.h  gfanlib.h gfanlib_paralleltraverser.h gfanlib_q.h  gfanlib_traversal.h gfanlib_zcone.h gfanlib_circuittableint.h gfanlib_matrix.h gfanlib_polyhedralfan.h gfanlib_symmetriccomplex.h gfanlib_tropicalhomotopy.h gfanlib_zfan.h
--- a/omalloc/Makefile.am
+++ b/omalloc/Makefile.am
@@ -31,7 +31,7 @@
 
 libsingular_omalloc_la_SOURCES=$(SOURCES) $(noinst_HEADERS)
 
-libsingular_omalloc_la_LDFLAGS    = $(SINGULAR_LDFLAGS) -release ${PACKAGE_VERSION}
+libsingular_omalloc_la_LDFLAGS    = $(SINGULAR_LDFLAGS) -release $(UPS_VERSION_UPSTREAM)+${PACKAGE_VERSION}
 
 nodist_libsingular_omalloc_la_SOURCES = omTables.inc omTables.h
 nodist_configheader_HEADERS = omConfig.h