- Added fbreader-0.99.4-gcc6-Wno-narrowing.diff as a workaround for https://github.com/geometer/FBReader/issues/289 - Added %%description tag & noarch for zlibrary-data subpackage. - Removed README.SuSE because there is only Qt GUI now. - pkgconfig(). - Fixup shared library packaging. OBS-URL: https://build.opensuse.org/request/show/404302 OBS-URL: https://build.opensuse.org/package/show/Education/fbreader?expand=0&rev=41
11 lines
468 B
Diff
11 lines
468 B
Diff
--- makefiles/config.mk.orig 2012-11-30 15:41:25.000000000 +0300
|
|
+++ makefiles/config.mk 2016-06-23 20:30:42.652441840 +0300
|
|
@@ -21,6 +21,7 @@
|
|
ARCHIVER_LIBS ?= -lz -lbz2
|
|
|
|
CFLAGS += -DINSTALLDIR=\"$(INSTALLDIR_MACRO)\" -DBASEDIR=\"$(SHAREDIR_MACRO)\" -DLIBDIR=\"$(LIBDIR_MACRO)\" -DIMAGEDIR=\"$(IMAGEDIR_MACRO)\" -DAPPIMAGEDIR=\"$(APPIMAGEDIR_MACRO)\" -DVERSION=\"$(VERSION)\"
|
|
+CFLAGS += -Wno-narrowing
|
|
ifeq "$(ZLSHARED)" "yes"
|
|
CFLAGS += -fPIC -DZLSHARED
|
|
endif
|