]> git.pld-linux.org Git - packages/inn.git/blob - inn-asneeded.patch
- updated to 2.7.0 (new sonames, configuration changes)
[packages/inn.git] / inn-asneeded.patch
1 --- inn-2.6.4/backends/Makefile.orig    2021-05-16 18:32:25.802230175 +0200
2 +++ inn-2.6.4/backends/Makefile 2021-05-16 18:36:01.467728481 +0200
3 @@ -81,16 +81,16 @@
4         @exit 1
5  
6  actsync:       actsync.o    $(LIBINN)  ; $(LINK) actsync.o    $(INNLIBS)
7 -archive:       archive.o    $(BOTH)    ; $(LINKDEPS) archive.o  $(STORELIBS)
8 -batcher:       batcher.o    $(BOTH)    ; $(LINKDEPS) batcher.o  $(STORELIBS)
9 -cvtbatch:      cvtbatch.o   $(BOTH)    ; $(LINKDEPS) cvtbatch.o $(STORELIBS)
10 +archive:       archive.o    $(BOTH)    ; $(LINKDEPS) archive.o  -Wl,-no-as-needed $(STORELIBS)
11 +batcher:       batcher.o    $(BOTH)    ; $(LINKDEPS) batcher.o  -Wl,-no-as-needed $(STORELIBS)
12 +cvtbatch:      cvtbatch.o   $(BOTH)    ; $(LINKDEPS) cvtbatch.o -Wl,-no-as-needed $(STORELIBS)
13  innbind:       innbind.o    $(LIBINN)  ; $(LINK) innbind.o    $(INNLIBS)
14 -inndf:         inndf.o      $(BOTH)    ; $(LINKDEPS) inndf.o  $(STORELIBS)
15 +inndf:         inndf.o      $(BOTH)    ; $(LINKDEPS) inndf.o  -Wl,-no-as-needed $(STORELIBS)
16  innxbatch:     innxbatch.o  $(LIBINN)  ; $(LINK) innxbatch.o  $(INNLIBS)
17  innxmit:       innxmit.o    $(BOTH)    ; $(LINK) innxmit.o    $(STORELIBS)
18  ninpaths:      ninpaths.o              ; $(LINK) ninpaths.o
19  nntpget:       nntpget.o    $(BOTH)    ; $(LINK) nntpget.o    $(STORELIBS)
20 -overchan:      overchan.o   $(BOTH)    ; $(LINKDEPS) overchan.o $(STORELIBS)
21 +overchan:      overchan.o   $(BOTH)    ; $(LINKDEPS) overchan.o -Wl,-no-as-needed $(STORELIBS)
22  shlock:                shlock.o     $(LIBINN)  ; $(LINK) shlock.o     $(INNLIBS)
23  shrinkfile:    shrinkfile.o $(LIBINN)  ; $(LINK) shrinkfile.o $(INNLIBS)
24  
25 --- inn-2.4.3/expire/Makefile.orig      2006-03-20 05:14:57.000000000 +0100
26 +++ inn-2.4.3/expire/Makefile   2008-02-17 21:05:55.658337911 +0100
27 @@ -54,7 +54,7 @@
28  convdate:      convdate.o     $(LIBINN) ; $(LINK) convdate.o     $(INNLIBS)
29  expire:                expire.o       $(BOTH)   ; $(LINK) expire.o       $(STORELIBS)
30  expireover:    expireover.o   $(BOTH)   ; $(LINK) expireover.o   $(STORELIBS)
31 -fastrm:                fastrm.o       $(BOTH)   ; $(LINK) fastrm.o       $(STORELIBS)
32 +fastrm:                fastrm.o       $(BOTH)   ; $(LINK) fastrm.o       -Wl,-no-as-needed $(STORELIBS)
33  grephistory:   grephistory.o  $(BOTH)   ; $(LINK) grephistory.o  $(STORELIBS)
34  makedbz:       makedbz.o      $(LIBINN) ; $(LINK) makedbz.o      $(INNLIBS)
35  makehistory:   makehistory.o  $(BOTH)   ; $(LINK) makehistory.o  $(STORELIBS)
36 --- inn-2.6.4/frontends/Makefile.orig   2021-05-16 18:38:55.630118296 +0200
37 +++ inn-2.6.4/frontends/Makefile        2021-05-16 18:39:40.139877166 +0200
38 @@ -81,16 +81,16 @@
39  inews:         inews.o        $(LIBINN) ; $(LINK) inews.o        $(INNLIBS)
40  innconfval:    innconfval.o   $(LIBINN) ; $(LINK) innconfval.o   $(INNLIBS)
41  ovdb_init:     ovdb_init.o    $(BOTH)
42 -       $(LINKDEPS) ovdb_init.o    $(STORELIBS)
43 +       $(LINKDEPS) ovdb_init.o    -Wl,-no-as-needed $(STORELIBS)
44  ovdb_monitor:  ovdb_monitor.o $(BOTH)
45 -       $(LINKDEPS) ovdb_monitor.o $(STORELIBS)
46 +       $(LINKDEPS) ovdb_monitor.o -Wl,-no-as-needed $(STORELIBS)
47  ovdb_server:   ovdb_server.o  $(BOTH)
48 -       $(LINKDEPS) ovdb_server.o  $(STORELIBS)
49 +       $(LINKDEPS) ovdb_server.o  -Wl,-no-as-needed $(STORELIBS)
50  ovdb_stat:     ovdb_stat.o    $(BOTH)
51 -       $(LINKDEPS) ovdb_stat.o    $(STORELIBS)
52 -rnews:         rnews.o        $(BOTH)   ; $(LINK) rnews.o        $(STORELIBS)
53 +       $(LINKDEPS) ovdb_stat.o    -Wl,-no-as-needed $(STORELIBS)
54 +rnews:         rnews.o        $(BOTH)   ; $(LINK) rnews.o        -Wl,-no-as-needed $(STORELIBS)
55  sm:            sm.o           $(BOTH)
56 -       $(LINKDEPS) sm.o           $(STORELIBS)
57 +       $(LINKDEPS) sm.o           -Wl,-no-as-needed $(STORELIBS)
58  
59  ovdb_init.o: ovdb_init.c
60         $(CC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
61 --- inn-2.6.3/innfeed/Makefile.orig     2019-02-07 16:02:22.000000000 +0100
62 +++ inn-2.6.3/innfeed/Makefile  2020-11-07 18:35:27.924853080 +0100
63 @@ -49,7 +49,7 @@
64  
65  ##  Compilation rules.
66  
67 -INNFEEDLIBS    = $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
68 +INNFEEDLIBS    = -Wl,-no-as-needed $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
69  
70  config_y.c config_y.h: configfile.y
71         $(YACC) -d configfile.y
72 --- inn-2.7.0/storage/buffindexed/ovmethod.mk.orig      2022-10-10 21:10:50.399143848 +0200
73 +++ inn-2.7.0/storage/buffindexed/ovmethod.mk   2022-10-10 21:11:54.148798486 +0200
74 @@ -5,4 +5,4 @@ buffindexed/buffindexed_d.$(EXTOBJ): buf
75  
76  buffindexed/buffindexed_d: buffindexed/buffindexed_d.$(EXTOBJ) libinnstorage.$(EXTLIB) $(LIBHIST)
77         $(LIBLDDEPS) $(LDFLAGS) -o $@ buffindexed/buffindexed_d.$(EXTOBJ) \
78 -           $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
79 +           -Wl,-no-as-needed $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
This page took 0.104907 seconds and 3 git commands to generate.