Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
kanjipad
kanjipad.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kanjipad.patch of Package kanjipad
--- Makefile.orig +++ Makefile @@ -1,7 +1,7 @@ OPTIMIZE=-g -Wall #OPTIMIZE=-O2 -GTKINC=$(shell pkg-config --cflags gtk+-2.0) -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED +GTKINC=$(shell pkg-config --cflags gtk+-2.0) -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED GTKLIBS=$(shell pkg-config --libs gtk+-2.0) GLIBLIBS=$(shell pkg-config --libs glib-2.0) @@ -26,7 +26,7 @@ PACKAGE = kanjipad VERSION = 2.0.0 OBJS = kpengine.o scoring.o util.o -CFLAGS = $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\" -DBINDIR=\"$(BINDIR)\" +CFLAGS = $(OPTIMIZE) $(GTKINC) $(shell getconf LFS_CFLAGS) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\" -DBINDIR=\"$(BINDIR)\" all: kpengine kanjipad jdata.dat @@ -40,7 +40,7 @@ kpengine: $(OBJS) $(CC) -o kpengine $(OBJS) $(GLIBLIBS) $(LDFLAGS) kanjipad: kanjipad.o padarea.o - $(CC) -o kanjipad kanjipad.o padarea.o $(GTKLIBS) $(LDFLAGS) + $(CC) -o kanjipad kanjipad.o padarea.o -lm $(GTKLIBS) $(LDFLAGS) jdata.dat: jstroke/strokedata.h conv_jdata.pl perl conv_jdata.pl < jstroke/strokedata.h > jdata.dat @@ -75,4 +75,4 @@ distcheck: dist cd .. && \ rm -rf $$distdir -.PHONY: dist distcheck \ No newline at end of file +.PHONY: dist distcheck
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor