From 98c75538a60914997d5815f0483ddf7284d285f6 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 21 Feb 2005 17:49:48 +0000 Subject: [PATCH] Compile TinyPTC with Xshm. --- bigscreen/Makefile | 2 +- bigscreen/tinyptc/tinyptc.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bigscreen/Makefile b/bigscreen/Makefile index 07177b6..ddb0f55 100644 --- a/bigscreen/Makefile +++ b/bigscreen/Makefile @@ -3,7 +3,7 @@ CXX=g++ CPPFLAGS=-I/usr/include/postgresql $(shell freetype-config --cflags) -Itinyptc/ CXXFLAGS=-g -Wall LDFLAGS=-L/usr/X11R6/lib -LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 +LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 -lXext CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o flagtrigger.o widestring.o fetch_current_tournament.o fetch_list_of_active_groups.o fetch_max_score_for_songs.o fetch_max_score_for_players.o fetch_group.o fetch_needs_update.o fetch_highscore.o fonts.o groupscreen.o splitscreen.o rotatescreen.o screen.o all: ccbs-bigscreen diff --git a/bigscreen/tinyptc/tinyptc.h b/bigscreen/tinyptc/tinyptc.h index 5fee0de..a6cf0aa 100644 --- a/bigscreen/tinyptc/tinyptc.h +++ b/bigscreen/tinyptc/tinyptc.h @@ -62,12 +62,12 @@ typedef unsigned char char8; /* If you uncomment this directive, you'll choose raw xlib video rendering */ -#define __PTC_XLIB__ +/* #define __PTC_XLIB__ */ /* If you uncomment this directive, you'll choose X Shared memory extension * video rendering */ -/* #define __PTC_XSHM__ */ +#define __PTC_XSHM__ /* If you uncomment this directive, you'll choose X Double buffer extension * video rendering */ -- 2.39.2