Compare commits
No commits in common. "master" and "f22" have entirely different histories.
@ -1,24 +0,0 @@
|
||||
diff -up hugs98-plus-Sep2006/packages/network/include/HsNet.h.gnu hugs98-plus-Sep2006/packages/network/include/HsNet.h
|
||||
--- hugs98-plus-Sep2006/packages/network/include/HsNet.h.gnu 2006-09-21 00:28:56.000000000 +0200
|
||||
+++ hugs98-plus-Sep2006/packages/network/include/HsNet.h 2015-07-10 13:39:37.824377073 +0200
|
||||
@@ -20,7 +20,7 @@
|
||||
# if defined(_MSC_VER)
|
||||
# define INLINE extern __inline
|
||||
# elif defined(__GNUC__)
|
||||
-# define INLINE extern inline
|
||||
+# define INLINE inline
|
||||
# else
|
||||
# define INLINE inline
|
||||
# endif
|
||||
@@ -132,4 +132,11 @@ my_inet_ntoa(
|
||||
return inet_ntoa(a);
|
||||
}
|
||||
|
||||
+
|
||||
+struct ucred {
|
||||
+ pid_t pid; /* process ID of the sending process */
|
||||
+ uid_t uid; /* user ID of the sending process */
|
||||
+ gid_t gid; /* group ID of the sending process */
|
||||
+};
|
||||
+
|
||||
#endif
|
46
hugs98.spec
46
hugs98.spec
@ -2,18 +2,17 @@
|
||||
|
||||
Name: hugs98
|
||||
Version: 2006.09
|
||||
Release: 30%{?dist}
|
||||
Release: 20%{?dist}
|
||||
Summary: Haskell Interpreter
|
||||
|
||||
Group: Development/Languages
|
||||
License: BSD
|
||||
URL: http://www.haskell.org/hugs
|
||||
Source0: http://cvs.haskell.org/Hugs/downloads/2006-09/%{name}-%{hugs_ver}.tar.gz
|
||||
Patch0: hugs98-gnu.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libGLU-devel
|
||||
BuildRequires: libICE-devel
|
||||
@ -27,7 +26,7 @@ BuildRequires: xorg-x11-proto-devel
|
||||
BuildRequires: openal-soft-devel
|
||||
BuildRequires: freealut-devel
|
||||
%ifnarch aarch64 ppc64le
|
||||
BuildRequires: /usr/bin/execstack
|
||||
BuildRequires: prelink
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -106,12 +105,6 @@ Demo files for Hugs98.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{hugs_ver}
|
||||
# add undefined struct
|
||||
%patch0 -p1 -b .gnu
|
||||
# use inline keyword
|
||||
sed -i 's|extern inline|inline|' packages/base/include/HsBase.h packages/network/include/HsNet.h packages/unix/include/HsUnix.h hsc2hs/Main.hs
|
||||
# libalut needs libopenal
|
||||
sed -i 's|ALUT_LIBS="$ac_cv_search_alutExit"|ALUT_LIBS="$ac_cv_search_alutExit -lopenal"|' packages/ALUT/configure
|
||||
# this is to avoid network lookup of the DTD
|
||||
sed -i 's|\"http://www.oasis-open.org.*\"||' docs/users_guide/users_guide.xml
|
||||
# Update config.guess/sub to fix builds on new architectures (aarch64/ppc64le)
|
||||
@ -119,7 +112,6 @@ cp /usr/lib/rpm/config.* .
|
||||
|
||||
|
||||
%build
|
||||
%define __global_ldflags ""
|
||||
%configure --with-pthreads --enable-char-encoding=locale
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -147,7 +139,7 @@ sed -i "s|^bindir.*|bindir=\"%{_bindir}\"|
|
||||
|
||||
|
||||
%files
|
||||
%license License
|
||||
%doc License
|
||||
%doc Readme
|
||||
%doc Credits
|
||||
%doc docs/ffi-notes.txt
|
||||
@ -211,36 +203,6 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 19 2018 Jens Petersen <petersen@redhat.com> - 2006.09-30
|
||||
- BR gcc
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2006.09-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2006.09-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2006.09-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2006.09-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2006.09-25
|
||||
- Rebuild for readline 7.x
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2006.09-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Aug 04 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2006.09-23
|
||||
- Use new execstack (#1247795)
|
||||
|
||||
* Fri Jul 10 2015 Gérard Milmeister <gemi@bluewin.ch> - 2006.09-22
|
||||
- Build fixes
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2006.09-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2006.09-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user