rpms/glew/devel glew-1.5.2-add-needed.patch, NONE, 1.1 glew.spec, 1.8, 1.9
Adam Jackson
ajax at fedoraproject.org
Tue Feb 9 18:36:41 UTC 2010
Author: ajax
Update of /cvs/pkgs/rpms/glew/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2930
Modified Files:
glew.spec
Added Files:
glew-1.5.2-add-needed.patch
Log Message:
* Tue Feb 09 2010 Adam Jackson <ajax at redhat.com> 1.5.2-2
- glew-1.5.2-add-needed.patch: Fix FTBFS from --no-add-needed
glew-1.5.2-add-needed.patch:
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE glew-1.5.2-add-needed.patch ---
diff -up glew-1.5.2/Makefile.jx glew-1.5.2/Makefile
--- glew-1.5.2/Makefile.jx 2010-02-09 13:33:15.000000000 -0500
+++ glew-1.5.2/Makefile 2010-02-09 13:35:51.000000000 -0500
@@ -78,7 +78,7 @@ GLEWINFO.BIN.OBJS = $(GLEWINFO.BIN.SRCS:
VISUALINFO.BIN = visualinfo$(BIN.SUFFIX)
VISUALINFO.BIN.SRCS = src/visualinfo.c
VISUALINFO.BIN.OBJS = $(VISUALINFO.BIN.SRCS:.c=.o)
-BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL)
+BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL) -lX11
all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN)
Index: glew.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glew/devel/glew.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- glew.spec 2 Feb 2010 15:29:01 -0000 1.8
+++ glew.spec 9 Feb 2010 18:36:41 -0000 1.9
@@ -1,6 +1,6 @@
Name: glew
Version: 1.5.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The OpenGL Extension Wrangler Library
Group: System Environment/Libraries
License: BSD and MIT
@@ -8,6 +8,7 @@ URL: http://glew.sourceforge.
Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
Patch0: glew-1.5.2-makefile.patch
+Patch1: glew-1.5.2-add-needed.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libGLU-devel
@@ -33,6 +34,7 @@ Development files for glew
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
sed -i -e 's/\r//g' config/config.guess
@@ -70,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/*
%changelog
+* Tue Feb 09 2010 Adam Jackson <ajax at redhat.com> 1.5.2-2
+- glew-1.5.2-add-needed.patch: Fix FTBFS from --no-add-needed
+
* Tue Feb 02 2010 Adam Jackson <ajax at redhat.com> 1.5.2-1
- glew 1.5.2
More information about the scm-commits
mailing list