rpms/synaptics/devel synaptics-0.14.6-optflags-debuginfo.patch, NONE, 1.1 synaptics.spec, 1.35, 1.36
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Thu Apr 10 20:30:13 UTC 2008
Author: scop
Update of /cvs/pkgs/rpms/synaptics/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9277
Modified Files:
synaptics.spec
Added Files:
synaptics-0.14.6-optflags-debuginfo.patch
Log Message:
* Thu Apr 10 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.14.6-8
- Build with $RPM_OPT_FLAGS, fix debuginfo (#249979).
synaptics-0.14.6-optflags-debuginfo.patch:
--- NEW FILE synaptics-0.14.6-optflags-debuginfo.patch ---
diff -up synaptics-0.14.6/Makefile.orig synaptics-0.14.6/Makefile
--- synaptics-0.14.6/Makefile.orig 2006-07-15 18:58:26.000000000 +0300
+++ synaptics-0.14.6/Makefile 2008-04-10 23:20:21.000000000 +0300
@@ -81,7 +81,7 @@ check_gcc = $(shell if $(CC) $(1) -S -o
CCOPTIONS := -pedantic -Wall -Wpointer-arith
CCOPTIONS += $(call check_gcc,-fno-merge-constants,)
-CDEBUGFLAGS = -O2
+CDEBUGFLAGS = $(RPM_OPT_FLAGS)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(PICFLAG) $(ALLDEFINES) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)"
CFLAGSCLIENT = $(CDEBUGFLAGS) $(CCOPTIONS) -DVERSION="\"$(VERSION)\"" -DVERSION_ID="$(VERSION_ID)" -I$(X_INCLUDES_ROOT)/include
@@ -116,11 +116,11 @@ $(BINDIR)/syndaemon : syndaemon
install -D $< $@
$(INPUT_MODULE_DIR)/$(SYNAPTICS_DRV) : $(SYNAPTICS_DRV)
- install --mode=0644 -D $< $@
+ install --mode=0755 -D $< $@
$(SYNAPTICS_DRV): $(OBJS)
$(RM) $@
- $(LD) $(LDCOMBINEFLAGS) $(OBJS) -o $@
+ $(CC) $(LDCOMBINEFLAGS) $(OBJS) -o $@
synclient.o : synclient.c
$(CC) $(CFLAGSCLIENT) -c -o $@ $<
Index: synaptics.spec
===================================================================
RCS file: /cvs/pkgs/rpms/synaptics/devel/synaptics.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- synaptics.spec 28 Mar 2008 19:28:10 -0000 1.35
+++ synaptics.spec 10 Apr 2008 20:29:27 -0000 1.36
@@ -2,7 +2,7 @@
Name: synaptics
Version: 0.14.6
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Synaptics Touchpad Driver
Group: User Interface/X Hardware Support
@@ -16,6 +16,7 @@
Patch3: synaptics-0.14.6-poll-delay.patch
Patch4: synaptics-0.14.6-poll-200ms.patch
Patch5: synaptics-0.14.6-alps.patch
+Patch6: synaptics-0.14.6-optflags-debuginfo.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires: pkgconfig
BuildRequires: xorg-x11-server-sdk >= 1.0.99.901
@@ -57,6 +58,7 @@
%patch3 -p1 -b .polldelay
%patch4 -p1 -b .poll200ms
%patch5 -p1 -b .alps-settings
+%patch6 -p1 -b .optflags-debuginfo
# remove included XFree86 headers
rm -rf Xincludes
@@ -87,6 +89,9 @@
%{_mandir}/man?/*
%changelog
+* Thu Apr 10 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.14.6-8
+- Build with $RPM_OPT_FLAGS, fix debuginfo (#249979).
+
* Fri Mar 28 2008 Rex Dieter <rdieter at fedoraproject.org> 0.14.6-7
- Synaptics default acceleration values are way slow for alps (#437039)
More information about the fedora-extras-commits
mailing list