]> git.pld-linux.org Git - packages/advancecomp.git/blame - advancecomp-7z-lib.patch
- new URLs, updated to 2.6
[packages/advancecomp.git] / advancecomp-7z-lib.patch
CommitLineData
d7426e6a
JB
1+++ advancecomp-2.6/Makefile.am.orig 2024-04-17 18:59:18.464658604 +0200
2+++ advancecomp-2.6/Makefile.am 2024-04-17 19:02:19.014563123 +0200
ddb1d6c4
JB
3@@ -1,6 +1,10 @@
4 bin_PROGRAMS = advzip advpng advmng advdef
5
6-7z_SOURCES = \
7+lib_LTLIBRARIES = libadv7z.la
8+adv7zincludedir = $(includedir)/adv7z
9+adv7zinclude_HEADERS = 7z/7z.h
10+
11+libadv7z_la_SOURCES = \
12 7z/7zdeflate.cc \
13 7z/7zlzma.cc \
14 7z/AriBitCoder.cc \
d7426e6a 15@@ -37,9 +41,8 @@ advzip_SOURCES = \
ddb1d6c4
JB
16 getopt.c \
17 snprintf.c \
d7426e6a
JB
18 portable.c \
19- $(7z_SOURCES) \
20 $(nil)
21-advzip_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS)
22+advzip_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS) libadv7z.la
ddb1d6c4
JB
23
24 advpng_SOURCES = \
25 repng.cc \
d7426e6a 26@@ -55,9 +58,8 @@ advpng_SOURCES = \
ddb1d6c4
JB
27 lib/png.c \
28 lib/error.c \
29 lib/snstring.c \
d7426e6a
JB
30- $(7z_SOURCES) \
31 $(nil)
32-advpng_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS)
33+advpng_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS) libadv7z.la
ddb1d6c4
JB
34
35 advmng_SOURCES = \
36 remng.cc \
d7426e6a 37@@ -76,9 +78,8 @@ advmng_SOURCES = \
ddb1d6c4
JB
38 lib/mng.c \
39 lib/error.c \
40 lib/snstring.c \
d7426e6a
JB
41- $(7z_SOURCES) \
42 $(nil)
43-advmng_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS)
44+advmng_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS) libadv7z.la
ddb1d6c4
JB
45
46 advdef_SOURCES = \
47 redef.cc \
d7426e6a 48@@ -95,9 +96,8 @@ advdef_SOURCES = \
ddb1d6c4
JB
49 lib/snstring.c \
50 lib/png.c \
51 lib/mng.c \
d7426e6a
JB
52- $(7z_SOURCES) \
53 $(nil)
54-advdef_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS)
55+advdef_LDADD = $(libdeflate_LIBS) $(zopfli_LIBS) libadv7z.la
ddb1d6c4 56
d7426e6a
JB
57 # Add the .version file in the distribution
58 dist-hook:
59--- advancecomp-2.6/configure.ac.orig 2023-10-10 17:17:08.000000000 +0200
60+++ advancecomp-2.6/configure.ac 2024-04-17 19:07:04.858546549 +0200
61@@ -4,6 +4,7 @@ dnl Get version number from git
62 m4_define([git_revision], m4_esyscmd_s([./autover.sh]))
63 AC_INIT([AdvanceCOMP], [git_revision], [], [], [http://www.advancemame.it])
ddb1d6c4
JB
64 AM_INIT_AUTOMAKE([foreign no-dependencies subdir-objects])
65+LT_INIT
66 AC_CONFIG_SRCDIR([rezip.cc])
67 AC_CONFIG_HEADERS([config.h])
68 AC_CANONICAL_HOST
This page took 0.8518 seconds and 4 git commands to generate.