diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-util/gslist/files | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-util/gslist/files')
-rw-r--r-- | games-util/gslist/files/gslist-0.8.11a-build.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/games-util/gslist/files/gslist-0.8.11a-build.patch b/games-util/gslist/files/gslist-0.8.11a-build.patch deleted file mode 100644 index 4ffbfd94e012..000000000000 --- a/games-util/gslist/files/gslist-0.8.11a-build.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- work.orig/Makefile -+++ work/Makefile -@@ -1,26 +1,30 @@ --CFLAGS += -O2 -s -fstack-protector-all -+CFLAGS += -Wall -D_GNU_SOURCE - PREFIX = /usr/local - BINDIR = $(PREFIX)/bin - SRC = src/gslist.c src/enctype1_decoder.c src/enctype2_decoder.c src/enctype_shared.c src/mydownlib.c - #LIBS = -lpthread /usr/lib/libGeoIP.a /usr/lib/i386-linux-gnu/libz.a - #SQLIBS = /usr/lib/i386-linux-gnu/libmysqlclient.a /usr/lib/i386-linux-gnu/libm.a -ldl - LIBS = -lpthread -lGeoIP -lz --SQLIBS = -lmysqlclient - O = $(SRC:.c=.o) - --all: gslist gslistsql -+ifneq ($(GSWEB),0) -+CFLAGS += -DGSWEB -+endif - --gslist: -- $(CC) $(SRC) $(CFLAGS) -o gslist $(LIBS) -DGSWEB -- $(CC) $(SRC) $(CFLAGS) -o gslistsql $(SQLIBS) $(LIBS) -DGSWEB -DSQL -+ifneq ($(SQL),0) -+CFLAGS += -DSQL -+LIBS += -lmysqlclient -+endif -+ -+gslist: $(O) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o gslist $(O) $(LIBS) - - clean: -- rm -f gslist gslistsql src/gslist.o src/enctype1_decoder.o src/enctype2_decoder.o src/enctype_shared.o src/enctypex_decoder.o src/mydownlib.o -+ rm -f gslist $(O) - - install: - install -m 755 -d $(BINDIR) - install -m 755 gslist $(BINDIR)/gslist -- install -m 755 gslistsql $(BINDIR)/gslistsql - - .PHONY: - clean install |